IP address not assigning
Hi there,
My embedded target boots up and does dhcp. It displays that it received a lease. But when I do ifconfig, it doesnt show the any ip.
Below is the log.
eth0: device MAC address 7e:12:60:51:79:b7
udhcpc (v1.19.3) started
Sending discover...
libphy: fixed-0:00 - Link is Up - 1000/Full
Sending discover...
Sending select for 10.14.27.240...
Lease of 10.14.27.240 obtained, lease time 3495
~ # ifconfig
eth0 Link encap:Ethernet HWaddr 7E:12:60:51:79:B7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7140 (6.9 KiB) TX bytes:2290 (2.2 KiB)
Interrupt:147 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 7e:12:60:51:79:b7 brd ff:ff:ff:ff:ff:ff
Last edited by newhorizon101; 08-22-2014 at 03:08 PM.
|