LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Ethernet connection stopped working (https://www.linuxquestions.org/questions/linux-networking-3/ethernet-connection-stopped-working-636867/)

simick1712 04-21-2008 04:10 PM

Ethernet connection stopped working
 
Hi, I wonder if anyone can help:

As of yesterday, my computer was running fine wired to a D-Link DIR-635 router, through which I connect to the internet. Now it seems that at some point overnight my ethernet connection has decided to totally stop working, for no apparent reason. The weirdest thing is that neither the computer nor the router have been turned off at all, it's literally just stopped.

There are lights on on both the PC and router, indicating that there is a connection, but now I can't connect to or even ping the router from the PC at all. I've bought a brand new cable, but no luck still. The other computers in the house work over the wireless, which isn't really an option because mine is too far away to get a good signal. There's also an Xbox which connects fine when wired to to the router. I've tried using both ethernet ports on my PC and on the router.

Is there anything else I ought to check? Or has anyone got any idea what's wrong?

Thanks.

scheidel21 04-22-2008 01:38 AM

what do you get for outputs for lspci, lsmod, ifconfig, what does your /etc/network file look like, did you do any software upgrade to the system, particularly kernel? What type of error do you receive when trying to connect, if any? Are you using DHCP, static IP, static/reserved dhcp, did you try using the opposite if what you were using i.e. if you had been using DHCP did you try assigning a static IP? These would be some good questions to answer as a start to get better assistance. I;ll be keeping an eye out to see if I can help you.

scheidel21 04-22-2008 01:39 AM

oh yea what is your output of route too?

simick1712 04-22-2008 05:31 AM

Hi, thanks very much for the reply. To answer your questions:

> Yes, I have tried both DHCP and statically setting the IP address.

> Upon issuing an 'ifup eth0', I get the message 'Determining IP information for eth0... failed' when using DHCP, and no error message at all when using a statically set IP. It seems that the interface is actually brought up fine, but then just can't see the router.

Below are the outputs you requested.

Thanks for your help.

route
Code:

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
192.168.0.1    *              255.255.255.255 UH    0      0        0 eth0
default        192.168.0.1    255.255.255.0  UG    0      0        0 eth0
192.168.0.0    *              255.255.255.0  U    0      0        0 eth0
default        192.168.0.1    0.0.0.0        UG    0      0        0 eth0

ifconfig
Code:

eth0      Link encap:Ethernet  HWaddr 00:1B:FC:25:B7:7E 
          inet addr:192.168.0.57  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:fcff:fe25:b77e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16730 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:29689 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1514529 (1.4 MiB)  TX bytes:0 (0.0 b)
          Interrupt:249

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:16688 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16688 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:58417718 (55.7 MiB)  TX bytes:58417718 (55.7 MiB)

/etc/sysconfig/networking/devices/ifcfg-eth0
Code:

# nVidia Corporation MCP55 Ethernet
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:1B:FC:25:B7:7E
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
NETMASK=255.255.255.0
IPADDR=192.168.0.57
GATEWAY=192.168.0.1

lsmod
Code:

Module                  Size  Used by
bridge                59625  0
iptable_nat            14661  0
i2c_dev                14537  0
vfat                  19009  0
fat                    54385  1 vfat
vboxdrv              1647616  0
autofs4                28361  2
it87                  29393  0
hwmon_vid              10945  1 it87
eeprom                14801  0
hidp                  32321  2
fuse                  47601  1
rfcomm                50537  0
l2cap                  36161  10 hidp,rfcomm
sunrpc                168009  1
xt_limit              11201  0
iptable_mangle        10945  0
ipt_LOG                14145  0
ipt_MASQUERADE        11329  0
nf_nat                25837  2 iptable_nat,ipt_MASQUERADE
ipt_TOS                10433  0
ipt_REJECT            12353  0
nf_conntrack_irc      14433  0
nf_conntrack_ftp      16489  0
nf_conntrack_ipv4      17225  2 iptable_nat
iptable_filter        11073  0
ip_tables              26153  3 iptable_nat,iptable_mangle,iptable_filter
nf_conntrack_ipv6      25585  28
xt_state              10689  28
nf_conntrack          65217  8 iptable_nat,ipt_MASQUERADE,nf_nat,nf_conntrack_irc,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
nfnetlink              13321  4 nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,nf_conntrack
xt_tcpudp              11713  30
ip6t_ipv6header        10689  2
ip6t_REJECT            12993  2
ip6table_filter        10817  1
ip6_tables            21129  2 ip6t_ipv6header,ip6table_filter
x_tables              23113  12 iptable_nat,xt_limit,ipt_LOG,ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ip_tables,xt_state,xt_tcpudp,ip6t_ipv6header,ip6t_REJECT,ip6_tables
cpufreq_ondemand      15569  1
dm_multipath          24273  0
video                  27477  0
output                11713  1 video
sbs                    26065  0
battery                19793  0
ac                    13129  0
ipv6                  307273  26 nf_conntrack_ipv6,ip6t_REJECT
snd_hda_intel        338021  5
snd_seq_dummy          11461  0
nvidia              8849220  36
firewire_ohci          25153  0
snd_seq_oss            37185  0
snd_seq_midi_event    14913  1 snd_seq_oss
i2c_nforce2            13889  0
parport_pc            35049  0
firewire_core          46465  1 firewire_ohci
snd_seq                56673  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
i2c_core              28737  4 i2c_dev,eeprom,nvidia,i2c_nforce2
rt2500                181984  0
snd_seq_device        15061  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            47553  0
snd_mixer_oss          22721  2 snd_pcm_oss
snd_pcm                80585  3 snd_hda_intel,snd_pcm_oss
k8temp                13249  0
forcedeth              53321  0
snd_timer              27721  3 snd_seq,snd_pcm
parport                42189  1 parport_pc
pcspkr                11201  0
serio_raw              14149  0
hwmon                  10953  2 it87,k8temp
snd                    59753  14 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
hci_usb                22877  2
soundcore              14944  2 snd
snd_page_alloc        16337  2 snd_hda_intel,snd_pcm
crc_itu_t              10433  1 firewire_core
bluetooth              64325  8 hidp,rfcomm,l2cap,hci_usb
button                15969  0
joydev                18753  0
sg                    40169  0
sr_mod                23269  0
floppy                65769  0
cdrom                  40425  1 sr_mod
dm_snapshot            22793  0
dm_zero                10305  0
dm_mirror              26945  0
dm_mod                57521  9 dm_multipath,dm_snapshot,dm_zero,dm_mirror
usb_storage            87169  0
ahci                  30533  0
pata_amd              20165  0
pata_jmicron          13505  0
ata_generic            14405  0
sata_nv                25157  2
libata                114417  5 ahci,pata_amd,pata_jmicron,ata_generic,sata_nv
sd_mod                33217  3
scsi_mod              145657  5 sg,sr_mod,usb_storage,libata,sd_mod
ext3                  126929  2
jbd                    64689  1 ext3
mbcache                15809  1 ext3
ehci_hcd              39117  0
ohci_hcd              27845  0
uhci_hcd              30561  0

lspci
Code:

00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2)
00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:05.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2)
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2)
00:09.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2)
00:0a.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0d.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:06.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
01:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
06:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
06:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
07:00.0 VGA compatible controller: nVidia Corporation Unknown device 0422 (rev a1)


simick1712 04-23-2008 06:17 AM

Just an update - I've noticed the following line in my dmesg output:

Code:

nv_stop_tx: Transmitterstatus remained busy<7>eth0: no IPv6 routers present.
I'm starting to think it's just my NIC on the blink. If anyone has any other suggestions though they'd be most appreciated.

Thanks.

lsteacke 04-23-2008 09:32 AM

Another thing you might try is to ping the loop back address. Post the output of

Code:

ping 127.0.0.1

brett2name33 03-14-2015 10:10 AM

I a having exact same issue except I have a 00:07.0 Bridge: NVIDIA Corporation MCP61 Ethernet (rev a2)

what happened to it..

Mine is also bridged so no idea.. was there a fix? it just sort of drops out..

zafar_dandoti 03-15-2015 04:59 AM

Set boot proto=static and restart network service


All times are GMT -5. The time now is 11:50 AM.