Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: "No Wi-Fi Adapter found"?

  1. #11
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,621
    Distro
    Ubuntu Development Release

    Re: "No Wi-Fi Adapter found"?

    Quote Originally Posted by thatrius View Post
    Could it possibly be a driver issue? Not sure whether or not wired connections need drivers, but at least then I might be able to install one from a flash drive
    Wired connections do require a driver and you have one, r8169:
    [ 0.831873] r8169 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control
    [ 0.831882] r8169 0000:05:00.0: enabling device (0000 -> 0003)
    [ 0.847794] libphy: r8169: probed
    [ 0.847918] r8169 0000:05:00.0 eth0: RTL8168h/8111h, 4c:ed:fb:6b:f4:6c, XID 541, IRQ 126
    [ 0.847919] r8169 0000:05:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
    [ 0.848430] r8169 0000:05:00.0 enp5s0: renamed from eth0
    [ 6.862561] Generic FE-GE Realtek PHY r8169-500:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-500:00, irq=IGNORE)
    [ 7.054682] r8169 0000:05:00.0 enp5s0: Link is Down
    Other than the link being down, which we expect because the cable is not yet attached, we see nothing alarming here.

    Please plug in the ethernet cable and let the system freeze. If you wait long enough, say five minutes, does it eventually recover?

    After you force reboot, please let us see:
    Code:
    ls -al /var/crash
    Let's see if there is a recent addition that helps us.

    Will the system boot with the ethernet cable plugged in.

    Based on what I've seen so far. the freeze is not likely related to the driver. It could be Network Manager, systemd, or elsewhere.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  2. #12
    Join Date
    Jun 2021
    Beans
    12

    Re: "No Wi-Fi Adapter found"?

    Left it frozen for a few hours, no recovery unfortunately :/

    Rebooted and ran
    Code:
    ~$ ls -al /var/crash
    total 8
    drwxrwsrwt  2 root whoopsie 4096 Feb  9 13:52 .
    drwxr-xr-x 14 root root     4096 Feb  9 13:56 ..

  3. #13
    Join Date
    Jun 2021
    Beans
    12

    Re: "No Wi-Fi Adapter found"?

    I just tried booting with the ethernet in. Oddly enough, it booted fine and isn't crashing, even when the cable is taken out and then re-inserted.

    Still no internet though

  4. #14
    Join Date
    Jun 2021
    Beans
    12

    Re: "No Wi-Fi Adapter found"?

    Plugged the ethernet cable into my laptop with a shared connection, and for whatever reason, wired works now.

    Ran these again:
    Code:
    sudo apt update 
    sudo apt install rtl8812au-dkms

    Both executed fine, but still no wifi after reboot

  5. #15
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,621
    Distro
    Ubuntu Development Release

    Re: "No Wi-Fi Adapter found"?

    Is the module loaded?

    Code:
    lsmod | grep 8812
    If not, load it and see if there are any interesting clues:

    Code:
    sudo modprobe 8812au
    Are there any clues in the log:

    Code:
    sudo dmesg | grep 8812
    Is the Airplane Mode switch set to enable wireless?

    Code:
    rfkill list all
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  6. #16
    Join Date
    Jun 2021
    Beans
    12

    Re: "No Wi-Fi Adapter found"?

    It's showing up, so I assume that means it's loaded:
    Code:
    ~$ lsmod | grep 8812
    8812au               1290240  0
    cfg80211              778240  1 8812au
    Ran sudo modprobe 8812au just in case, it didn't return anything though, just made a new line.

    sudo dmesg | grep 8812 returned:
    Code:
    [    0.798812] hub 2-0:1.0: USB hub found
    [    3.656220] 8812au: loading out-of-tree module taints kernel.
    [    3.667522] 8812au: module verification failed: signature and/or required key missing - tainting kernel
    [    3.706622] RTL871X: rtl8812au v4.3.8_12175.20140902
    [    3.706688] Modules linked in: 8812au(OE+) snd_seq fjes(-) crypto_simd cec snd_seq_device cryptd rc_core snd_timer glue_helper fb_sys_fops eeepc_wmi mei_me cfg80211 snd syscopyarea asus_wmi rapl sysfillrect joydev input_leds intel_cstate sysimgblt soundcore sparse_keymap wmi_bmof efi_pstore ee1004 mei mac_hid acpi_pad sch_fq_codel parport_pc ppdev lp parport drm ip_tables x_tables autofs4 hid_generic usbhid hid crc32_pclmul r8169 i2c_i801 ahci i2c_smbus realtek xhci_pci libahci xhci_pci_renesas wmi video
    [    3.706746]  ? _rtw_malloc+0x2d/0x2f [8812au]
    [    3.706762]  ? _rtw_memcpy+0x10/0x12 [8812au]
    [    3.706779]  ? rtw_5g_rates_init+0x1a/0x1c [8812au]
    [    3.706795]  ? rtw_spt_band_alloc+0xb0/0xb2 [8812au]
    [    3.706812]  rtw_wdev_alloc+0xf6/0x29c [8812au]
    [    3.706829]  rtw_usb_if1_init+0xf0/0x20c [8812au]
    [    3.706845]  rtw_drv_init+0x246/0x2d3 [8812au]
    [    3.706875]  rtw_drv_entry+0x65/0x1000 [8812au]
    [    3.979794] usbcore: registered new interface driver rtl8812au

  7. #17
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,621
    Distro
    Ubuntu Development Release

    Re: "No Wi-Fi Adapter found"?

    [3.706688] Modules linked in: 8812au(OE+) snd_seq fjes(-) crypto_simd cec snd_seq_device cryptd rc_core snd_timer glue_helper fb_sys_fops eeepc_wmi mei_me cfg80211 snd syscopyarea asus_wmi rapl sysfillrect joydev
    [ 3.706812] rtw_wdev_alloc+0xf6/0x29c [8812au]
    <snip>
    That is a very unhappy driver and hardware combo! Let's try somthing newer. With a working internet connection:

    Code:
    sudo apt purge rtl8812au-dkms
    sudo apt update
    sudo apt install git
    git clone https://github.com/aircrack-ng/rtl8812au.git
    cd rtl8812au
    sudo ./dkms-install.sh
    sudo modprobe 88XXau
    Reboot. Your wireless should now be working.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  8. #18
    Join Date
    Jun 2021
    Beans
    12

    Re: "No Wi-Fi Adapter found"?

    I am overjoyed to say that I'm writing this from wifi.

    I ran your code - the sudo ./dkms-install.sh line returned an error, but I tried sudo make dkms_install (from the instructions on the git clone page) instead, and that seemed to work just as well.

    Thanks again for the help!

  9. #19
    Join Date
    Feb 2020
    Beans
    96

    Re: "No Wi-Fi Adapter found"?

    Quote Originally Posted by thatrius View Post
    I am overjoyed to say that I'm writing this from wifi.

    Glad you are online with wifi. I am going to recommend you do some reading at the following link:

    https://github.com/morrownr/USB-WiFi

    That link contains a LOT of information regarding usb wifi on Linux. One thing that I and others have found to be very handy is to have at least one adapter that uses in-kernel drivers. Adapters that use in-kernel drivers are plug and play. The site currently has 69 links to adapters that use in-kernel drivers.

    Regards

  10. #20
    Join Date
    Jun 2021
    Beans
    12

    Re: "No Wi-Fi Adapter found"?

    Quote Originally Posted by morrownr View Post
    Glad you are online with wifi. I am going to recommend you do some reading at the following link:

    https://github.com/morrownr/USB-WiFi

    That link contains a LOT of information regarding usb wifi on Linux. One thing that I and others have found to be very handy is to have at least one adapter that uses in-kernel drivers. Adapters that use in-kernel drivers are plug and play. The site currently has 69 links to adapters that use in-kernel drivers.

    Regards
    Thanks, good to know!

Page 2 of 2 FirstFirst 12

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
  •