Results 1 to 5 of 5

Thread: How do I get my Network (and settings) back in 20.04?

  1. #1
    Join Date
    Dec 2019
    Beans
    3

    How do I get my Network (and settings) back in 20.04?

    I have lost my network connections (Ethernet, WiFi and Bluetooth) on Ubuntu 20.04. I don't know what I did to lose them, but after a reboot, they had gone. There is no network icon in the system tray and in settings, there is no setting for WiFi and no connections in the network submenu.

    I can boot from a Live USB image and everything works well.

    So, from another answer I found, I backed up, then copied the netplanner, and NetworkManager files and directories from the Live USB to my computer. Rebooted into the "normal" Ubuntu environment and still nothing.

    I ran sudo
    Code:
     lshw -C network
    and the output is:

    Code:
    *-network UNCLAIMED       
           description: Network controller
           product: AR9485 Wireless Network Adapter
           vendor: Qualcomm Atheros
           physical id: 0
           bus info: pci@0000:02:00.0
           version: 01
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress cap_list
           configuration: latency=0
           resources: memory:f7100000-f717ffff memory:f7180000-f718ffff
      *-network UNCLAIMED
           description: Ethernet controller
           product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           vendor: Realtek Semiconductor Co., Ltd.
           physical id: 0
           bus info: pci@0000:03:00.0
           version: 07
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress msix vpd bus_master cap_list
           configuration: latency=0
           resources: ioport:d000(size=256) memory:f2104000-f2104fff memory:f2100000-f2103fff
    My NetworkManager.conf file is:
    Code:
    [main]
    plugins=ifupdown,keyfile
    
    [ifupdown]
    managed=false
    
    [device]
    wifi.scan-rand-mac-address=no
    and my 01-network-manager-all.yaml file is:

    Code:
    # Let NetworkManager manage all devices on this system
    network:
      version: 2
      renderer: NetworkManager
    Using sudo nmcli gives:
    lo: unmanaged
            "lo"
            loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
    
    Use "nmcli device show" to get complete information about known devices and
    "nmcli connection show" to get an overview on active connection profiles.
    
    Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
    I don't have ifconfig (net-tools) installed.

    Running
    Code:
    nm-applet
    brings up a greyed out system tray icon, but when I click that, the window that opens (showing the connections) is empty.

    Any help is greatly appreciated.

  2. #2
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,960
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: How do I get my Network (and settings) back in 20.04?

    Please show
    Code:
    uname -a
    dpkg -l linux-* | grep ii
    Can you boot into an earlier kernel? If yes, does it work there?

  3. #3
    Join Date
    Dec 2019
    Beans
    3

    Re: How do I get my Network (and settings) back in 20.04?

    uname -a:

    Code:
    Linux marks-linux-box 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
    dpkg -l linux-* | grep ii:


    Code:
    ii  linux-base                                 4.5ubuntu3.1         all          Linux image base package
    ii  linux-firmware                             1.187.2              all          Firmware for Linux kernel drivers
    ii  linux-headers-5.4.0-40                     5.4.0-40.44          all          Header files related to Linux kernel version 5.4.0
    ii  linux-headers-5.4.0-40-generic             5.4.0-40.44          amd64        Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
    ii  linux-headers-5.4.0-41                     5.4.0-41.45          all          Header files related to Linux kernel version 5.4.0
    ii  linux-headers-5.4.0-41-generic             5.4.0-41.45          amd64        Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
    ii  linux-headers-5.4.0-42                     5.4.0-42.46          all          Header files related to Linux kernel version 5.4.0
    ii  linux-headers-5.4.0-42-generic             5.4.0-42.46          amd64        Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
    ii  linux-image-5.4.0-40-generic               5.4.0-40.44          amd64        Signed kernel image generic
    ii  linux-image-5.4.0-41-generic               5.4.0-41.45          amd64        Signed kernel image generic
    ii  linux-image-unsigned-5.4.0-42-generic      5.4.0-42.46          amd64        Linux kernel image for version 5.4.0 on 64 bit x86 SMP
    ii  linux-libc-dev:amd64                       5.4.0-42.46          amd64        Linux Kernel Headers for development
    ii  linux-modules-5.4.0-40-generic             5.4.0-40.44          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
    ii  linux-modules-5.4.0-41-generic             5.4.0-41.45          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
    ii  linux-modules-5.4.0-42-generic             5.4.0-42.46          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
    ii  linux-modules-extra-5.4.0-40-generic       5.4.0-40.44          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
    ii  linux-modules-extra-5.4.0-41-generic       5.4.0-41.45          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
    ii  linux-modules-nvidia-390-5.4.0-40-generic  5.4.0-40.44          amd64        Linux kernel nvidia modules for version 5.4.0-40
    ii  linux-modules-nvidia-390-5.4.0-41-generic  5.4.0-41.45          amd64        Linux kernel nvidia modules for version 5.4.0-41
    ii  linux-modules-nvidia-390-5.4.0-42-generic  5.4.0-42.46          amd64        Linux kernel nvidia modules for version 5.4.0-42
    ii  linux-modules-nvidia-390-generic-hwe-20.04 5.4.0-42.46          amd64        Extra drivers for nvidia-390 for generic-hwe-20.04
    ii  linux-sound-base                           1.0.25+dfsg-0ubuntu5 all          base package for ALSA and OSS sound systems
    And yes! I can boot into 5.4.0-41 (and 5.4.0-40) and everything works - I'm replying to you from my Ubuntu machine on 5.4.0-41 now...

    So something's borked in 5.4.0-42?

    Thanks
    Mark

  4. #4
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,960
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: How do I get my Network (and settings) back in 20.04?

    Yes, you miss this one

    Code:
    sudo apt install linux-modules-extra-5.4.0-42-generic

  5. #5
    Join Date
    Dec 2019
    Beans
    3

    Re: How do I get my Network (and settings) back in 20.04?

    Thank you - I actually got it working by:
    Code:
    sudo apt remove linux-image-unsigned-5.4.0-42-generic && sudo apt autoremove
    I then followed that up with:

    Code:
    sudo apt install linux-image-5.4.0-42-generic && sudo apt install linux-modules-extra-5.4.0-42-generic
    And it all works now - Thank you very much for your help!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •