Eth0 has no IP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Eth0 has no IP

839 Views
hardik_thakkar
Contributor I

root@ls2088ardb:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 68:05:ca:5a:a8:97
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:202 Memory:30460c0000-30460e0000

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:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:592 (592.0 B) TX bytes:592 (592.0 B)

ni0 Link encap:Ethernet HWaddr da:92:d8:78:a6:8e
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sit0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1480 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)

root@ls2088ardb:~# ifup eth0
ifup: ignoring unknown interface eth0
root@ls2088ardb:~#

I have eth0 plugged in but i am not able to get any IP. below is my kernel

uname -a
Linux ls2088ardb 4.1.35-rt41 #1 SMP Thu Mar 30 01:18:48 CST 2017 aarch64 GNU/Linux

sorry but new to this linux OS and need help to bring up eth0 so can winscp "flexboot source file". I am using this box 

QorIQ® LS2088A

please let me know.

thanks,

Hardik

0 Kudos
1 Reply

649 Views
bpe
NXP Employee
NXP Employee

LSDK in the default configuration does not use DHCP to obtain IP addresses
from the network. You can assign an IP manually with ifconfig or ip commands.
Study the corresponding manpages for more information:

http://man7.org/linux/man-pages/man8/ifconfig.8.html
http://man7.org/linux/man-pages/man8/ip.8.html

If totally unfamiliar with IP networking, study this tutorial:

http://tldp.org/LDP/nag2/index.html

Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos