Lost ethernet connection . . . . .

OK lord knows why this has happened . . .

Just rebooted into mint and my ethernets gone? Rebooted the rooter and PC/AP nothing, my default DHCP as set in a previous thread is 192.168.0.254 but if i type ifconfig in a terminal it shows Bcast as 255?

I’m on a virgin superhub with a TP Link AP, all the lights look normal but i can’t get ethernet, my wireless is fine ?

So it’s a problem with JUST a cabled connection ? (wireless on the same PC is fine)

What’s the output from:

ifconfig

You haven’t disabled the ethernet adapter in the BIOS ?

Have you tested this isn’t a hardware or cable failure by booting a LiveUSB and seeing if ethernet works ?

  1. Yes. Edit: But I don’t have a wireless card in the desktop
  2. I’ll come back on that …
  3. Not to my knowledge
  4. I can’t boot into Live USB as per my other thread, I’ll have a look at the cables but they’re all pretty new. . .

Output:

dave@dave ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr ac:22:0b:76:35:05  
          inet addr:192.168.0.11  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::ae22:bff:fe76:3505/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:141 errors:0 dropped:0 overruns:0 frame:0
          TX packets:300 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:16758 (16.7 KB)  TX bytes:86174 (86.1 KB)

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:175 errors:0 dropped:0 overruns:0 frame:0
          TX packets:175 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:11480 (11.4 KB)  TX bytes:11480 (11.4 KB)

dave@dave ~ $ 

??? :-\ ::slight_smile:

Kinda says it all . . . . . . . . Decided to check the cables, even though they’re new - however - I assumed I was still disconnected but didn’t try a web page - I unplugged the router cable, swapped it with the AP cable and bingo, interwebs . . . . . . To test it really was a broken cable, I plugged the ‘faulty one’ back in, it still worked ???

So it’s working now … typical sods law moment, so apparently it wasn’t me fiddling in the bios, I’ll go back to my other thread now as this has magically solved itself . . . !

Heh … it happens :slight_smile:

My guess is that was just a bad or dirty connection on one end of your ethernet cable and unplugging and plugging back in sorted it but there are times when computers do things that just plain defy logic ::slight_smile:

O. . . … K . . . . . . this connection is playing up again …

went off last night late on, left it til morning, still off, swapped over the ethernet cable and left it off all day, plugged in, working, aha I thought, cable may be the culprit, swapped over again, it stopped, put ‘working’ cable back in, still off ! Now both cables work fine with anything else so I’m discounting the cables as I’ve just tried both in my laptop and they’re fine.

I scratched my head and searched yet again, came across this post, I have downloaded the driver but am not doing anything with it until further advice is given as to if it is avoidable/recommended or not?(plus it’s a bit late for fiddling about. . . . ) So in anticipation I took some outputs and copied them to a stick to post, details below…

Your thoughts are appreciated, TIA - Dave

dave@dave ~ $ inxi -Fxn
System:    Host: dave Kernel: 3.12.0-031200rc7-generic x86_64 (64 bit, gcc: 4.6.3) 
           Desktop: Gnome Distro: Linux Mint 16 Petra
Machine:   System: ASUS product: All Series
           Mobo: ASUSTeK model: H81M-C version: Rev X.0x Bios: American Megatrends version: 0216 date: 07/17/2013
CPU:       Dual core Intel Pentium CPU G3420 (-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12770.9 
           Clock Speeds: 1: 3200.375 MHz 2: 3200.125 MHz
Graphics:  Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0 
           X.Org: 1.14.5 drivers: intel (unloaded: fbdev,vesa) Resolution: 1440x900@60.0hz 
           GLX Renderer: Mesa DRI Intel Haswell Desktop GLX Version: 3.0 Mesa 9.2.1 Direct Rendering: Yes
Audio:     Card: Intel 8 Series/C220 Series Chipset High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture ver: k3.12.0-031200rc7-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 
           driver: r8169 ver: 2.3LK-NAPI port: e000 bus-ID: 03:00.0
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: ac:22:0b:76:35:05
Drives:    HDD Total Size: 2160.5GB (25.3% used) 1: id: /dev/sda model: WDC_WD5000AAKS size: 500.1GB 
           2: id: /dev/sdb model: ST3500418AS size: 500.1GB 3: USB id: /dev/sdc model: Elements_1042 size: 1000.2GB 
           4: USB id: /dev/sdd model: WD1600BB size: 160.0GB 
Partition: ID: / size: 46G used: 7.0G (17%) fs: ext4 ID: /boot size: 922M used: 79M (10%) fs: ext4 
           ID: /home size: 403G used: 2.8G (1%) fs: ext4 ID: swap-1 size: 10.00GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 30.0C mobo: 29.8C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 149 Uptime: 10 min Memory: 423.5/7669.8MB Runlevel: 2 Gcc sys: 4.8.1 Client: Shell inxi: 1.8.4 
dave@dave ~ $ sudo su
[sudo] password for dave: 
dave dave # lsmod | grep r816
r8169                  73111  0 
mii                    13981  1 r8169
dave dave # lspci -v
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: ASUSTeK Computer Inc. Device 8534
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Device 8534
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [a0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [140] Root Complex Link
	Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device 8534
	Flags: bus master, fast devsel, latency 0, IRQ 44
	Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915

00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05) (prog-if 30 [XHCI])
	Subsystem: ASUSTeK Computer Inc. Device 8534
	Flags: bus master, medium devsel, latency 0, IRQ 41
	Memory at f7d00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
	Subsystem: ASUSTeK Computer Inc. Device 8534
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at f7d1a000 (64-bit, non-prefetchable) [size=16]
	Capabilities: [50] Power Management version 3
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: mei_me

00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. Device 8534
	Flags: bus master, medium devsel, latency 0, IRQ 20
	Memory at f7d18000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCI Advanced Features
	Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 8576
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Memory at f7d10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: df200000-df3fffff
	Prefetchable memory behind bridge: 00000000df400000-00000000df5fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8534
	Capabilities: [a0] Power Management version 3
	Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: f7c00000-f7cfffff
	Prefetchable memory behind bridge: 00000000f0000000-00000000f00fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8534
	Capabilities: [a0] Power Management version 3
	Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. Device 8534
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at f7d17000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCI Advanced Features
	Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation C220 Series Chipset Family H81 Express LPC Controller (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 8534
	Flags: bus master, medium devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. Device 8534
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 42
	I/O ports at f0b0 [size=8]
	I/O ports at f0a0 [size=4]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at f7d16000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [70] Power Management version 3
	Capabilities: [a8] SATA HBA v1.0
	Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 8534
	Flags: medium devsel, IRQ 14
	Memory at f7d15000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
	Subsystem: ASUSTeK Computer Inc. Device 8554
	Flags: bus master, fast devsel, latency 0, IRQ 43
	I/O ports at e000 [size=256]
	Memory at f7c00000 (64-bit, non-prefetchable) [size=4K]
	Memory at f0000000 (64-bit, prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
	Capabilities: [d0] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
	Capabilities: [170] Latency Tolerance Reporting
	Kernel driver in use: r8169

dave dave # 

And whaddyaknow. . . . . . . . it’s back on again this morning . . . . . I’ll leave it be for now and not swap any cables in case you want any terminal output whilst it’s still got a connection . . . .

Have you tried simply restarting the router ?

Are you sure it’s just this machine ? … and not the internet dropping out entirely ?

Can you ping the routers IP address when it drops out ?
ping -c 5 <IP.address.of.router>

eg.

ping -c 5 192.168.1.1

Hello Mark, it appears it could be something simple after all, or something I just did not know I had to/should have been doing??

I went out to the shed to do a little project, took the laptop to connect to ‘shednet’, my recently cabled connection, yes I took previous advice and decided to hard wire a spare netgear router in that was lying around. I had no wifi or ethernet in the shed, cursed and fiddled about for an hour, my only connection was my phones mobile net, so searching around after reading posts about IPv4 and 6 and changing DNS servers and whatnot I read something that prompted me to turn THE LOT off and restart it all - the superhub router, the TP Link access point and the Netgear shed-router, it seems to have cured it : /

So my questions are:

  1. why would turning the superhub off and on affect the other devices when they stay in the same ethernet slots on the router, my understanding of networking is limited to learning as I go along and I’ve never seen advice anywhere to say restart ALL your connected devices after router restarts, but if this IS good practice or required even, I’ll obviously do it in future.

  2. If you remember my Cannon network printer thread, we reserved some IP addresses on the router and I know offhand that ends 0.2, so as I understand it, this CAN’T change until I change it - so, if so, can I do the same for the TP Link AP and the Netgear router? would this be wise in your opinion?

How have you connected your old router to the new one ?

is the old router still acting as a DHCP server ?

What is the IP of the old router, and the Superhub ?

Did this all work until you attached the old router ?

All I did was run an ethernet cable to the shed, plugged the old Netgear router in and was able to connect to it after that, its IP is 192.168.0.14, desktop 192.168.0.11
laptop 192.168.0.10, TP link 192.168.0.254,

is the old router still acting as a DHCP server ?
No idea, I just assumed it was repeating the signal .................

Superhub 192.168.0.11.

Yes and worked after as well.

So you’ve got 2 devices on the network with the address 192.168.0.11 ?

Sorry Mark, that’s me confusing the issue, the superhub is the desktop/main upstairs pc that everything else feeds off . . . .

Yeah, but your previous post suggests that both the superhub and the desktop PC have the IP address 192.168.0.11 … that can’t be right ?

Hi Mark,

apologies, it was my wording that caused the confusion, the desktop is upstairs as is the superhub, the two are connected via ethernet, so the IP as seen in network connections (desktop) is 0.11 and the hub itself would be 0.1 - I have a habit of thinking of it as one and the same which I know it’s not, and me putting an extra 1 in the address didn’t help . . . . . . lol . . . . . . : / the derp was strong yesterday…

so to clarify… 01 > hub 011> desktop - and it’s been fine since, so I’m going to assume my troubles just stemmed from the whole caboodle needing a reboot… ?

If there is any doubt what uses what IP address then you can sweep the network (switch on all items capable to connect to your network) with a simple Ping scan to determine which hosts are online:

nmap -sP 192.168.0.0/24

This would give a list of IP (and associated MAC) addresses in use at that moment.
You may need to install nmap first.

sudo apt-get install nmap

Cheers SeZo, that was already installed, handy app’ indeed - I shall remember that for future use …