lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] How to set the lwip configuration under win32


From: address@hidden
Subject: Re: [lwip-users] How to set the lwip configuration under win32
Date: Thu, 10 Jul 2008 19:26:43 +0200
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

Since you didn't use DHCP and some pings succeed, I don't think the port-specific configuration is your problem. Maybe some other configuration options (look at lwipopts.h) are set so low that you run out of memory somewhere? Or you have a routing problem? I would take a look at 'lwip_stats' in the debugger to see if you ran out of memory and if not take a look at the actual network traffic using wireshark.

Simon.


zhou yi wrote:
Dear all:
     Follow the suggestion, using the wordpad.exe to fix all the dsw and dsp, I 
can open test.dsw in vc6. I have one ethernet card, so I change lwipcfg_msvc.h 
as following
#define PACKET_LIB_ADAPTER_NR         1

#define LWIP_PORT_INIT_IPADDR(addr)   IP4_ADDR((addr), 192,168,0,200)
#define LWIP_PORT_INIT_GW(addr)       IP4_ADDR((addr), 192,168,0,128)
#define LWIP_PORT_INIT_NETMASK(addr)  IP4_ADDR((addr), 255,255,255,0)

       After compiling the whole project, the output information as following:
Starting lwIP, loopback interface IP is 127.0.0.1
Starting lwIP, local interface IP is 192.168.0.200
 0: \Device\NPF_GenericDialupAdapter
 1: \Device\NPF_{4988064C-B617-452A-9DEF-4EFC0DDD034A}
USE: Realtek RTL8169/8110 Family Gigabit Ethernet NIC
      (Microsoft's Packet Scheduler)
MAC: 00:C0:9F:9D:F7:61
link_callback==UP
status_callback==UP, local interface IP is 192.168.0.200
ping: send 192.168.0.128
ping: recv - 1000 ms - timeout
ping: send 192.168.0.128
sntp_request: not recvfrom==0
ping: recv - 1000 ms - timeout
ping: send 192.168.0.128
ping: recv - 1000 ms - timeout
ping: send 192.168.0.128
3com.com: <not found>
ping: recv - 1000 ms - timeout
ping: send 192.168.0.128
ping: recv 192.168.0.128 1 ms

       We can see the ping command sometimes will fail, and I try to connect to 
the httpd server, open the IE and input http://192.168.0.200, but can not show 
the right answer.
       So my question is:
1. Why ping command sometimes will failed?
2. How to confige the project, so that I can connect the httpd server.
   Thanks.
------------------------------------------------------------------------

_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

[Prev in Thread] Current Thread [Next in Thread]