[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] dhcp client maybe died!
From: |
王洪涛 |
Subject: |
[lwip-users] dhcp client maybe died! |
Date: |
Thu, 20 Jan 2005 12:18:38 +0800 |
Hello,all!
I am working on redhat linux with lwip 0.7.2 and in unixsim example I
want to use DHCP client function to obtain IP and GW within my local network.
After updating lwipopt.h(define LWIP_DHCP 1) and adding dhcp.c to makefile,then
I can build successfully.But using ifconfig command as follow:
address@hidden home]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:5B:56:B0:B1
inet addr:192.168.18.95 Bcast:192.168.18.255 Mask:255.255.255.0
inet6 addr: fe80::211:5bff:fe56:b0b1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5906 errors:0 dropped:0 overruns:0 frame:0
TX packets:358 errors:0 dropped:0 overruns:0 carrier:0
collisions:209 txqueuelen:1000
RX bytes:700882 (684.4 Kb) TX bytes:329982 (322.2 Kb)
Interrupt:11 Base address:0xe800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:967 errors:0 dropped:0 overruns:0 frame:0
TX packets:967 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:84057 (82.0 Kb) TX bytes:84057 (82.0 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.1.1 P-t-P:192.168.1.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:72 (72.0 b) TX bytes:78 (78.0 b)
tap0 Link encap:Ethernet HWaddr 00:FF:8B:F3:5C:3D
inet6 addr: fe80::2ff:8bff:fef3:5c3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:350 (350.0 b) TX bytes:238 (238.0 b)
So i think tap0 can not obain IP address successfull,what i need to do?
anyone can give me an example about dhcp client?
======= 2005-01-20 00:53:19 您在来信中写道:=======
>Send lwip-users mailing list submissions to
> address@hidden
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>or, via email, send a message with subject or body 'help' to
> address@hidden
>
>You can reach the person managing the list at
> address@hidden
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of lwip-users digest..."
>
>
>Today's Topics:
>
> 1. (no subject) (Jan Wester)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Wed, 19 Jan 2005 10:13:19 +0100
>From: "Jan Wester" <address@hidden>
>Subject: [lwip-users] (no subject)
>To: "lwip" <address@hidden>
>Message-ID: <address@hidden>
>Content-Type: text/plain; charset="us-ascii"
>
>Hello
>How can I set the option for exampel keepalive in raw mode, set it in the
>structure direct or what?
>/Jan
>
>
>WHI KONSULT
>
>Jan Wester
>
>Scheelegatan 11
>
>SE-112 28 Stockholm
>
>+46 8 449 05 30
>
>
>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
>http://lists.gnu.org/pipermail/lwip-users/attachments/20050119/dddad1a7/attachment.html
>
>------------------------------
>
>_______________________________________________
>lwip-users mailing list
>address@hidden
>http://lists.nongnu.org/mailman/listinfo/lwip-users
>
>End of lwip-users Digest, Vol 17, Issue 16
>******************************************
>
= = = = = = = = = = = = = = = = = = = =
致
礼!
王洪涛
address@hidden
2005-01-20
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] dhcp client maybe died!,
王洪涛 <=