kevinatkins |
06-06-2005 04:51 PM |
eth0 disconnected / not running
Hi,
I've run into a problem with my ethernet interface.
I had the interface set up statically, then i decided to try DHCP - all was fine and it worked perfectly...
Then I needed to change back to static, so i edited the config using the networking tool in the administration menu (gnome).. now, the network icon in the system tray shows an exclamation mark and reports as disconnected..
Here's the output of ifconfig -a :
Code:
eth0 Link encap:Ethernet HWaddr 00:E0:18:CE:76:FC
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:18ff:fece:76fc/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:767 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:46098 (45.0 KiB)
Interrupt:5 Base address:0x1400
eth1 Link encap:Ethernet HWaddr 00:60:4C:37:0A:D3
inet6 addr: fe80::260:4cff:fe37:ad3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:65535 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1059 (1.0 KiB) TX bytes:1660 (1.6 KiB)
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:935 errors:0 dropped:0 overruns:0 frame:0
TX packets:935 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:198282 (193.6 KiB) TX bytes:198282 (193.6 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:80.42.188.73 P-t-P:212.74.111.225 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:930 (930.0 b) TX bytes:722 (722.0 b)
sit0 Link encap:IPv6-in-IPv4
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)
... and eth0 doesn't seem to be running...
I've checked /etc/network/interfaces - seems OK to me; here it is -
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet static
network 192.168.0.0
broadcast 192.168.0.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 212.74.112.66 212.74.112.67
address 192.168.0.10
netmask 255.255.255.0
auto eth0
Everything looks in order but I'm at a complete loss. Thanks in advance for any pointers..
|