Please press Enter to activate this console. ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFHWADDR: No such device
ifconfig eth0 hw ether 10:23:45:67:89:ab
ifconfig: SIOCSIFADDR: No such device
ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
route: SIOCADDRT: Network is unreachable
add default gw 192.168.1.2
Done
ls
[root@EmbedSky /]#ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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)