Page 1 of 1

I just lost my network connection with the latest updates (SolydXEE testing)

Posted: 11 Feb 2020 05:49
by troypulk
The update was today.

Code: Select all

$ inxi -FNzxx
System:    Host: solydx Kernel: 5.4.0-3-amd64 x86_64 bits: 64 compiler: gcc v: 9.2.1 Desktop: Xfce 4.14.2 
           tk: Gtk 3.24.13 wm: xfwm4 dm: LightDM Distro: solydxk-11 11 
Machine:   Type: Desktop Mobo: MSI model: 890GXM-G65 (MS-7642) v: 1.0 serial: <filter> BIOS: American Megatrends v: 1.8 
           date: 12/24/2010 
CPU:       Topology: Dual Core model: AMD Phenom II X2 555 bits: 64 type: MCP arch: K10 rev: 3 L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 12801 
           Speed: 800 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 800 2: 800 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] RS880 [Radeon HD 4290] vendor: Micro-Star MSI driver: radeon 
           v: kernel bus ID: 01:05.0 chip ID: 1002:9714 
           Display: x11 server: X.Org 1.20.7 driver: ati,radeon unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RS880 (DRM 2.50.0 / 5.4.0-3-amd64 LLVM 9.0.1) v: 3.3 Mesa 19.3.3 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] SBx00 Azalia vendor: Micro-Star MSI driver: snd_hda_intel 
           v: kernel bus ID: 00:14.2 chip ID: 1002:4383 
           Device-2: Advanced Micro Devices [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series] driver: snd_hda_intel 
           v: kernel bus ID: 01:05.1 chip ID: 1002:970f 
           Sound Server: ALSA v: k5.4.0-3-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI driver: r8169 
           v: kernel port: c800 bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 395.86 GiB (85.0%) 
           ID-1: /dev/sda vendor: Western Digital model: WD5000AAKX-003CA0 size: 465.76 GiB speed: 6.0 Gb/s 
           serial: <filter> 
Partition: ID-1: / size: 14.74 GiB used: 11.99 GiB (81.3%) fs: ext4 dev: /dev/sda2 
           ID-2: /home size: 439.67 GiB used: 383.87 GiB (87.3%) fs: ext4 dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 19.2 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 153 Uptime: 15m Memory: 7.29 GiB used: 1.50 GiB (20.6%) Init: systemd v: 244 runlevel: 5 
           default: 2 Compilers: gcc: 9.2.1 alt: 6/7/8/9 Shell: bash v: 5.0.11 running in: xfce4-terminal inxi: 3.0.37
The network worked did the update then it stopped working.

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 11 Feb 2020 14:35
by ilu
This might get better attention in the "testing" rubric. Anyway, please post the output of:

Code: Select all

sudo NetworkManager --version
systemctl status NetworkManager
Dmesg | grep <insert some suitable search term for your network hardware here>
It might be this issue: https://askubuntu.com/questions/1135412 ... hernet-now. The highest-voted answer seems to not have a solution but you could try the next 3 answers. Maybe check first if the NetworkManager version in your system is the same as in Ubuntu 19.10.

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 11 Feb 2020 22:53
by troypulk
$ sudo NetworkManager --version
1.22.6
I can't tell which version they were using.

It appears that Dmesg is not installed on the affected PC

Code: Select all

● NetworkManager.service - Network Manager
     Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2020-02-11 11:09:24 PST; 2h 37min ago
       Docs: man:NetworkManager(8)
   Main PID: 527 (NetworkManager)
      Tasks: 3 (limit: 8797)
     Memory: 10.8M
     CGroup: /system.slice/NetworkManager.service
             └─527 /usr/sbin/NetworkManager --no-daemon

Feb 11 11:09:30 solydx NetworkManager[527]: <info>  [1581448170.2947] device (eth0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Feb 11 11:09:30 solydx NetworkManager[527]: <info>  [1581448170.3370] device (eth0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Feb 11 11:09:30 solydx NetworkManager[527]: <info>  [1581448170.3379] device (eth0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Feb 11 11:09:30 solydx NetworkManager[527]: <info>  [1581448170.3395] manager: NetworkManager state is now CONNECTED_LOCAL
Feb 11 11:09:30 solydx NetworkManager[527]: <info>  [1581448170.3429] manager: NetworkManager state is now CONNECTED_SITE
Feb 11 11:09:30 solydx NetworkManager[527]: <info>  [1581448170.3433] policy: set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS
Feb 11 11:09:30 solydx NetworkManager[527]: <info>  [1581448170.4859] device (eth0): Activation: successful, device activated.
Feb 11 11:09:30 solydx NetworkManager[527]: <info>  [1581448170.4884] manager: NetworkManager state is now CONNECTED_GLOBAL
Feb 11 11:09:30 solydx NetworkManager[527]: <info>  [1581448170.4941] manager: startup complete
Feb 11 11:10:15 solydx NetworkManager[527]: <info>  [1581448215.5428] agent-manager: agent[16dc7475a20ac0d6,:1.53/org.freedesktop.nm-applet/1000]: agent registered
~
~
~
~
lines 1-20/20 (END)

Code: Select all

$ ip link show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether "MAC address" brd ff:ff:ff:ff:ff:ff

It appears that the network is up but it will not connect to the Web.

Code: Select all

Also how do I uninstall / downgrade the last set of updates? I think they are these since I have two systems that are the same.

iptables libc-bin libc-dev-bin libc-l10n libc6 libc6:i386 libc6-dev libip4tc2 libip6tc2 libiptc0 libp11-kit0
  libp11-kit0:i386 libuv1 libxkbcommon-x11-0 libxkbcommon0 libxnvctrl0 libxtables12 locales p11-kit
  p11-kit-modules xserver-common xserver-xephyr xserver-xorg-core

EDIT:

Code: Select all

$ sudo ethtool -i eth0 
driver: r8169
version: 
firmware-version: rtl_nic/rtl8168d-1.fw
expansion-rom-version: 
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

EDIT:
I blacklisted r8169 and installed
driver: r8168
version: 8.048.00-NAPI

It still is not working, which of the upgrade files would cause this?

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 12 Feb 2020 08:57
by ilu
I'd guess kernel ... did you try booting with the previous one?

Also iptables has some bugs presently but I wouldn't imagine a malfunction to totally bork network access.

And dmesg cannot be not installed. But it needs sudo.

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 12 Feb 2020 14:38
by grizzler
Could be a ufw/iptables issue. This thread on debian-user mentions failing network interface in the second posting.

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 12 Feb 2020 18:04
by troypulk
ilu wrote:
12 Feb 2020 08:57
I'd guess kernel ... did you try booting with the previous one?

Also iptables has some bugs presently but I wouldn't imagine a malfunction to totally bork network access.

And dmesg cannot be not installed. But it needs sudo.
In your post at the top you had an upercase D in dmesg, it's funny in networkmanager I did it in lowercase and it didn't work I had to upercase the first letters N, M, I should have thought about dmesg being the same.

$ sudo dmesg | grep Realtek
[ 2.621679] r8168 Copyright (C) 2019 Realtek NIC software team <nicfae@realtek.com>

I autoremove on a regular basis so I only have one kernel

Do you think that if I put in a different NIC card than Realtek that the system will connect?

Thanks

EDIT:
On a side note the internet works with a live CD.

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 12 Feb 2020 21:07
by smitty1
I had the same problem, and found the solution in the link grizzlelr supplied. https://lists.debian.org/debian-user/20 ... 00403.html. Specifically in the the last response.

So I removed ufw. Then I purged iptables following this https://serverfault.com/questions/20063 ... bles-rules. After a restart I was able to connect to the internet.
I installed firewalld, rebooted, and was able to update the machine.

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 12 Feb 2020 22:10
by troypulk
smitty1 wrote:
12 Feb 2020 21:07
I had the same problem, and found the solution in the link grizzlelr supplied. https://lists.debian.org/debian-user/20 ... 00403.html. Specifically in the the last response.

So I removed ufw. Then I purged iptables following this https://serverfault.com/questions/20063 ... bles-rules. After a restart I was able to connect to the internet.
I installed firewalld, rebooted, and was able to update the machine.
Deleting ufw enabled this machine to get to the net, so should I still purge iptables and which post of that link should I follow?

Thanks

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 12 Feb 2020 22:29
by smitty1
I just followed exactly the things the guy in the first link posted. He purged the iptables so I did also. Iptables and firewalls are 2 of the many things that I still have to learn.
I wonder if having populated tables might inteerfere with installing firewalld?
If you are adventurous you could keep the iptables and see what happens.

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 12 Feb 2020 22:44
by troypulk
Thanks,

I'll keep it as is until something doesn't work.

As I always say "don't fix it if it's not broken"

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 13 Feb 2020 04:12
by kurotsugi
iptables will get reinstalled when you installed firewalld so there's no need to remove it. I think that person removed it as a precautionary steps since he doesn't really know which package was causing the issue

Re: I just lost my network connection with the latest updates (SolydXEE)

Posted: 14 Feb 2020 01:52
by tek10
I had this same problem today. I removed ufw and was immediately able to connect to my network. I installed firewalld, restarted my system and it seems to be working fine.

Now I need to explore firewalld...