Lost ethernet connectivity (SOLVED)

Hi guys

This problem began when I connected a PC to my home network via wireless, the PC connected no problem but almost immediately I noticed my main PC which is connected to the same network via ethernet (home plugs) lost it’s connection, the internet was gone completely although it would sometimesd connect to my network shares transfer speed was painfully slow,

Since disconnecting the PC from the network the only way I can now connect my main PC is wirelessly DHCP, if I set a static IP it drops out immediately

Connecting by ethernet/home plugs just wont connect at all, I’ve tried another network card, home plug and replaced the ethernet cable, I’ve tried deleting all the network connections and restarting numerous times all to no avail. I can also confirm there is no conflicts

I have another partition with the same OS (Peppermint 6) installed and it’s working fine, it also works fine in a live session, so it’s clearly not a hardware problem, also there’s another PC and a NAS constantly connected to that network and neither of them have been affected

Any help or advice would be much appreciated

Graeme

What’s the output from:

ifconfig
graeme@Linux1 ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:90:7d:5f:33  
          inet6 addr: fe80::21e:90ff:fe7d:5f33/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:48374 errors:0 dropped:31 overruns:0 frame:0
          TX packets:6323 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4461324 (4.4 MB)  TX bytes:827608 (827.6 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:63158 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63158 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:31506621 (31.5 MB)  TX bytes:31506621 (31.5 MB)

wlan2     Link encap:Ethernet  HWaddr c8:3a:35:c0:6d:57  
          inet addr:192.168.2.107  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::ca3a:35ff:fec0:6d57/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:255295 errors:0 dropped:0 overruns:0 frame:0
          TX packets:161179 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:218705545 (218.7 MB)  TX bytes:27476807 (27.4 MB)

graeme@Linux1 ~ $ 

eth0 only seems to have an IPv6 address … try disabling IPv6 for eth0 in network-manager and only connect via IPv4

I’m sure I did that but I’m at work just now so I’ll do what you suggest when I get home and report back

Many thanks

Graeme

No luck I’m afraid

first of all the ethernet connection is listed as Auto Ethernet whereas before it was listed as Wired Connection 1, I don’t know if that means anything but I just thought I’d mention it

Anyway i set Auto Ethernet to Ignore IPv6 and set a IPv4 static address as follows

Address: 192.168.2.2
Subnet: 255.255.255.0
Gateway: 192.168.2.1

Still wont connect nor will it connect with Automatic DHCP

here’s the ifconfig output with the static settings & IPv6 ignored (if I’m not mistaken eth0 still only has an IPv6 address)

graeme@Linux1 ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:90:7d:5f:33  
          inet6 addr: fe80::21e:90ff:fe7d:5f33/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:520 errors:0 dropped:1 overruns:0 frame:0
          TX packets:230 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:200321 (200.3 KB)  TX bytes:182136 (182.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:3296 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3296 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:378961 (378.9 KB)  TX bytes:378961 (378.9 KB)

graeme@Linux1 ~ $ 

It will connect wirelessly only if set to Automatic DHCP

Graeme

What’s the contents of

gedit /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

give eth0 a static IP again (say 192.168.2.122) … then post the output from:

ifconfig

and

ip address show

and just as a matter of interest, the contents of:

gedit /etc/udev/rules.d/70-persistent-net.rules
graeme@Linux1 ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:90:7d:5f:33  
          inet6 addr: fe80::21e:90ff:fe7d:5f33/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30884 errors:0 dropped:16 overruns:0 frame:0
          TX packets:4315 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2973660 (2.9 MB)  TX bytes:615585 (615.5 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:19487 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19487 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12974242 (12.9 MB)  TX bytes:12974242 (12.9 MB)

graeme@Linux1 ~ $ ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:1e:90:7d:5f:33 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::21e:90ff:fe7d:5f33/64 scope link 
       valid_lft forever preferred_lft forever
3: wlan2: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether c8:3a:35:c0:6d:57 brd ff:ff:ff:ff:ff:ff
graeme@Linux1 ~ $ 
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x10ec:0x8136 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:90:7d:5f:33", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# USB device 0x:0x (rt2800usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c8:3a:35:cd:3e:ba", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:39:22:53", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# USB device 0x:0x (zd1211rw)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:50:b2:ca:89", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

# PCI device 0x1814:0x3062 (rt2800pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c8:3a:35:c0:6d:57", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan2"

Hmm…

Output from:

sudo lshw -C network

and

ls -a /etc/NetworkManager/system-connections
graeme@Linux1 ~ $ sudo lshw -C network
[sudo] password for graeme: 
  *-network               
       description: Ethernet interface
       product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eth0
       version: 01
       serial: 00:1e:90:7d:5f:33
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:40 ioport:d800(size=256) memory:feaff000-feafffff memory:feac0000-feadffff
  *-network
       description: Wireless interface
       product: RT3062 Wireless 802.11n 2T/2R
       vendor: Ralink corp.
       physical id: 3
       bus info: pci@0000:02:03.0
       logical name: wlan2
       version: 00
       serial: c8:3a:35:c0:6d:57
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=3.16.0-48-generic firmware=0.34 ip=192.168.2.107 latency=64 link=yes maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11bgn
       resources: irq:20 memory:febf0000-febfffff
graeme@Linux1 ~ $ ls -a /etc/NetworkManager/system-connections
.  ..  Auto Ethernet  Network Emegra
graeme@Linux1 ~ $ 

What is the “Auto Ethernet” profile ?

What is the "Auto Ethernet" profile ?

Sorry Mark I’m not sure what you mean by “Profile” Network Manager automatically gives it that name, this is something else that’s changed because before I had this problem it used to be called Wired Connection1

Prior to this issue I never had to configure anything it just connected with the name Wired Connection1

Graeme

Can you post the contents of

sudo gedit /etc/NetworkManager/system-connections/"Auto Ethernet"

you can edit the response to replace your passkey (psk=) with ****** before posting it here.

[802-3-ethernet]
duplex=full
mac-address=00:E0:4C:39:22:53

[connection]
id=Auto Ethernet
uuid=05645b41-7867-4a30-acb2-42a896918676
type=802-3-ethernet

[ipv6]
method=ignore

[ipv4]
method=manual
address1=192.168.2.122/24,192.168.2.1
may-fail=false

Don’t see any psk= ?

OK, there seems to be some confusion over which mac address is being used

the profile suggests:
mac-address=00:E0:4C:39:22:53
which according to 70-persistent-net.rules is the “8139too” adapter

but according to ifconfig your current hardware mac address is
00:1e:90:7d:5f:33
which according to 70-persistent-net.rules is the “r8169” adapter … this is also born out by lshw.

So let’s have a clear out … run these commands in sequence:

sudo rm -v /etc/NetworkManager/system-connections/"Auto Ethernet"

then:

sudo gedit /etc/udev/rules.d/70-persistent-net.rules

and make it read:

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x1814:0x3062 (rt2800pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c8:3a:35:c0:6d:57", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

SAVE the file.

REBOOT … so it re-configures the r8169 card.

Now configure your wired network adapter in networkmanager … if there’s already a wired profile in neworkmanager, delete it then recreate it.

Nearly there but not quite

I did as you suggested when I rebooted and created the connection manually it seemed to work, hovering the mouse over the icon said the connections was active however I cant connect to the internet although I CAN now connect to my network shares
Name: Ethernet Connection1
MAC Address: 00:1E:90:7D:5F:33 (eth0)
IPv4
Address: 192.168.2.2
Netmask: 255.255.255.0
Gateway: 192.168.2.1

IPv6 is set to Ignore

Edit

This is confusing the hell outta me The above applies only if I have WiFi disabled I need to enable WiFi in order to connect to the internet even though when I hover the mouse over the network icon it’s telling me I’m connected Ethernet Connection1

Does that make any sense ???

Try deleting ALL network profiles (both wired and wireless) in networkmanager … so:

ls /etc/NetworkManager/system-connections

returns nothing

Then make

sudo gedit /etc/udev/rules.d/70-persistent-net.rules

read

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.


SAVE the file

REBOOT

and then configure your wireless key again

Sorted

the ethernet connection is listed as Auto Ethernet whereas before it was Wired Connection1 but I assume that’s ok

nothing left but to thank you again and mark this solved

Many thanks

Graeme