Announcement

Collapse
No announcement yet.

Upgrade to 24.04 failed - no networking

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Upgrade to 24.04 failed - no networking

    I have an old Chrome Box that I converted to Kubuntu 18.04 a ways back. Upgraded it to 22.04 a couple years ago - no problems. When I tried the 24.04 upgrade, I have zero network capability.

    Code:
    stuart@asus-cn60:~$ sudo lshw -class network
    [sudo] password for stuart:
    *-network
    description: Ethernet interface
    product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    vendor: Realtek Semiconductor Co., Ltd.
    physical id: 0
    bus info: pci@0000:01:00.0
    logical name: enp1s0
    version: 0c
    serial: c4:54:44:79:70:2c
    capacity: 1Gbit/s
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.15.0-122-generic firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=twisted pair
    resources: irq:18 ioport:2000(size=256) memory:e0500000-e0500fff memory:e0400000-e0403fff
    *-network
    description: Wireless interface
    product: AR9462 Wireless Network Adapter
    vendor: Qualcomm Atheros
    physical id: 0
    bus info: pci@0000:02:00.0
    logical name: wlp2s0
    version: 01
    serial: 54:27:1e:e5:3d:83
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
    configuration: broadcast=yes driver=ath9k driverversion=5.15.0-122-generic firmware=N/A ip=192.168.1.198 latency=0 link=yes multicast=yes wireless=IEEE 802.11
    resources: irq:19 memory:e0600000-e067ffff memory:e0680000-e068ffff​
    So it seems I have neither driver available in 24.04. I rolled back to 22.04 (thanks to the btrfs gods).

    The first thing I discovered is this in the 24.04 boot log:
    Code:
    [FAILED] Failed to start systemd-modules-load.service - Load Kernel Modules.
    which might explain why I have no network. However, I went into 22.04 and this was in the boot log there:
    Code:
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    so maybe it's a red herring.

    Doing the above suggested command reveals:
    Code:
    stuart@asus-cn60:~$ sudo systemctl status systemd-modules-load.service
    × systemd-modules-load.service - Load Kernel Modules
    Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
    Active: failed (Result: exit-code) since Tue 2024-10-01 16:44:41 EDT; 11min ago
    Docs: man:systemd-modules-load.service(8)
    man:modules-load.d(5)
    Main PID: 574 (code=exited, status=1/FAILURE)
    CPU: 54ms
    
    Oct 01 16:44:41 asus-cn60 systemd[1]: Starting Load Kernel Modules...
    Oct 01 16:44:41 asus-cn60 systemd-modules-load[574]: Failed to insert module 'it87': Device or resource busy
    Oct 01 16:44:41 asus-cn60 systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
    Oct 01 16:44:41 asus-cn60 systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
    Oct 01 16:44:41 asus-cn60 systemd[1]: Failed to start Load Kernel Modules.​

    turns out this is a ACPI error relating to a sensor so nothing to do with networking.

    Please Read Me

    #2
    So the network cards are:

    Ethernet: RTL8111/8168/8411
    Wireless: AR9462

    The wireless card also has bluetooth and it's not working either. I guess I need to figure out why and what I need to get them back up.

    Please Read Me

    Comment


      #3
      From the 24.04 install:
      Code:
      stuart@asus-cn60:/subvol/@Kubuntu_2404/var/log$ cat syslog |grep net
      Oct  1 16:14:18 asus-cn60 systemd[1]: Reached target network-pre.target - Preparation for Network.
      Oct  1 16:14:18 asus-cn60 systemd[1]: Starting networkd-dispatcher.service - Dispatcher daemon for systemd-networkd...
      Oct  1 16:14:18 asus-cn60 acpid: starting up with netlink and the input layer
      Oct  1 16:14:18 asus-cn60 kernel: [    0.163993] audit: initializing netlink subsys (disabled)
      Oct  1 16:14:18 asus-cn60 kernel: [    0.288652] drop_monitor: Initializing network drop monitor service
      Oct  1 16:14:18 asus-cn60 kernel: [    5.048026] systemd[1]: Configuration file /run/systemd/system/netplan-ovs-cleanup.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
      Oct  1 16:14:18 asus-cn60 kernel: [    5.150884] systemd[1]: Reached target network-online.target - Network is Online.
      Oct  1 16:14:18 asus-cn60 kernel: [   12.224034] audit: type=1400 audit(1727813658.432:142): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=822 comm="cupsd" capability=12  capname="net_admin"
      Oct  1 16:14:19 asus-cn60 networkctl[961]: Failed to connect to system bus: No such file or directory
      Oct  1 16:14:19 asus-cn60 systemd[1]: networkd-dispatcher.service: Got notification message from PID 961, but reception only permitted for main PID 843
      Oct  1 16:14:19 asus-cn60 systemd[1]: networkd-dispatcher.service: Got notification message from PID 961, but reception only permitted for main PID 843
      Oct  1 16:14:19 asus-cn60 networkd-dispatcher[843]: ERROR:networkctl list failed: Command '['/usr/bin/networkctl', 'list', '--no-pager', '--no-legend']' returned non-zero exit status 1.
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]: Traceback (most recent call last):
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:   File "/usr/bin/networkd-dispatcher", line 542, in <module>
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:     init()
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:   File "/usr/bin/networkd-dispatcher", line 539, in init
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:     main()
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:   File "/usr/bin/networkd-dispatcher", line 523, in main
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:     dispatcher.register()
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:   File "/usr/bin/networkd-dispatcher", line 284, in register
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:     bus = dbus.SystemBus()
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:           ^^^^^^^^^^^^^^^^
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:   File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 192, in __new__
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:     return Bus.__new__(cls, Bus.TYPE_SYSTEM, mainloop=mainloop,
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:   File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 99, in __new__
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:     bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 120, in __new__
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:     bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      Oct  1 16:14:28 asus-cn60 networkd-dispatcher[843]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
      Oct  1 16:14:28 asus-cn60 systemd[1]: networkd-dispatcher.service: Main process exited, code=exited, status=1/FAILURE
      Oct  1 16:14:28 asus-cn60 systemd[1]: networkd-dispatcher.service: Failed with result 'exit-code'.
      Oct  1 16:14:28 asus-cn60 systemd[1]: Failed to start networkd-dispatcher.service - Dispatcher daemon for systemd-networkd.
      Oct  1 16:14:28 asus-cn60 systemd[1]: networkd-dispatcher.service: Consumed 7.576s CPU time.​

      Please Read Me

      Comment


        #4
        What firmware (if any) did you use for Linux? It might need updating.

        Comment


          #5
          I never had to install anything special before (18.04 + 22.04) so I have no idea where to start. The above errors are python script errors so I'm wondering if it's a bug or whatever. Everything I've seen so far says both network interfaces are supported by current kernels and no joy when searching on any of the errors so far.

          Please Read Me

          Comment


            #6
            Hello oshunluvr ,

            I'm experiencing a similar issue where I lost all network capabilities after running do-release-upgrade to upgrade from Kubuntu 22.04 to 24.04 on my Lenovo laptop.
            Unfortunately, rolling back to previous version isn't an option for me, and I’m hoping to avoid reinstalling the OS if possible.

            I'm not sure where to start troubleshooting, and I would appreciate any guidance on how to restore network functionality.
            Is reinstalling the OS the best approach, or are there other fixes I should try first?

            Thank you in advance for any help you can provide!

            Comment


              #7
              Since these issues (above) are enduring -- a month or so -- I'm sure you tried everything, hardware, cables, ...

              I just want to comment about something.
              In 18.04, 20.04, 22.04, and once after installing 24.04 recently, I boot into the system (or maybe I am re-booting for some reason), and get that message down in the Tray: no network connection.
              And it keep trying to connect, with the icon-dealy spinning. Without hesitation, I unplug the Ethernet cable, wait awhile (30 seconds), plug it back in, and 98% of the time it's good to go.
              At times, I have to repeat the unplug-plug formula.
              I do recall (rarely) having to re-boot the modem-router to get things moving (instead of working with the Ethernet cable directly).
              An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

              Comment


                #8
                Thank you for the suggestion.
                In the end I was able to figure out that the NetworkManager.service was not present on the system anymore.
                Netplan is apparently the new way to configure network connections. However interfaces were all down.
                I managed to bring interfaces up using command ip link set INTERFACE up and configure dhcp with netplan and the yaml config files in /etc/netplan.
                Another issue that I have related to this is that now I do not have any UI to configure Network Connections. It used to be under Settings > Network > Connections but after the upgrade it was removed.
                What would I need to do to bring that back ? Or is it gone forever ?

                Comment

                Working...
                X