2010/9/4 Rodolfo Medina
<rodolfo.medina@gmail.com>
Today, strangely, on the laptop, instead of
# ifconfig
eth1 Link encap:Ethernet HWaddr 00:03:0D:33:02:17
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::203:dff:fe33:217/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)
Interrupt:201 Base address:0xd800
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:86 errors:0 dropped:0 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9358 (9.1 KiB) TX bytes:9358 (9.1 KiB)
I got:
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: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)
, and any connection with the cross cable was impossible. Also, the command
`ifconfig eth1 192.168.0.1 netmask 255.255.255.0 up' gave:
# ifconfig eth1 192.168.0.1 netmask 255.255.255.0 up
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth1: ERROR while getting interface flags: No such device
Then I did:
# ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
, and then `ifconfig' gives:
# ifconfig
eth0 Link encap:UNSPEC HWaddr 00-03-0D-53-25-5C-86-16-00-00-00-00-00-00-00-00
Strange MAC address, and device name is changed to be eth0.
Have you upgraded your system or NIC driver or something else?
May "/etc/udev/rules.d/70-persistent-net.rules" have some info.