0

I don’t know what I or any update did since yesterday, but after booting today I no longer have LAN connectivity (no internet, no ethernet).

My Win10 install on the same machine does, another ubuntu20.04 LTS install also does (both on other drives).

So it's not my hardware that is failing. Some things I have tried from other questions did not work. (https://askubuntu.com/a/909442/1030659)

I don't have a History of which questions I looked at, but I can share my zsh history since no connection.

I don’t know my way around so I don’t understand what the problem cold even be. I’d appreciate it if someone could walk me through this issue, I do not want to reinstall ubuntu.

➜  ~ rfkill
➜  ~ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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: enp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 24:4b:fe:07:14:58 brd ff:ff:ff:ff:ff:ff
3: ham0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1404 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 7a:79:19:2a:f1:a3 brd ff:ff:ff:ff:ff:ff
    inet 25.42.241.163/8 brd 25.255.255.255 scope global ham0
       valid_lft forever preferred_lft forever
    inet6 2620:9b::192a:f1a3/96 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::7879:19ff:fe2a:f1a3/64 scope link 
       valid_lft forever preferred_lft forever
➜  ~ route
zsh: correct 'route' to 'routel' [nyae]? n
zsh: command not found: route
➜  ~ 

gist: /var/log/apt/history.log

josh
  • 81

1 Answers1

0

I tried installing the r8168 driver for my Realtek ethernet device. Which (now) is:

➜  ~ lspci -v | grep Ethernet -A 7
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 26)
    Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    Flags: bus master, fast devsel, latency 0, IRQ 59
    I/O ports at f000 [size=256]
    Memory at fc804000 (64-bit, non-prefetchable) [size=4K]
    Memory at fc800000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: r8168
    Kernel modules: r8168

by following this guide: https://tuxbyte.com/how-to-get-your-realtek-rtl8111rtl8168-working-updated-guide/

To do that I used another (working) Ubuntu install and downloaded the package; apt download r8168-dkms. After installing this and rebooting I still have no connectivity.

Hence I tried this (thinking that maybe the other driver works "better"):

sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager.service

And now I have Internet again.

Oh and I had to restart my pulseaudio. pulseaudio -D and re-select my headphones as output device.

josh
  • 81