Jump to content

Migrating to Ubuntu from Windows 10. WiFi card refuses to work, have no idea why. Please help.

I am switching to Linux after a lifetime of using Windows and I ran into a lot of problems in terms of drivers. The main problem I'm having is getting my WiFi card to work. After many many tries I can't get it to work. I looked at a lot of tutorials and after an allnighter of trying to get it to work and miserably failing, I decided to ask for help.

 

SecureBoot is disabled.

 

When I run

sudo lshw -C network

I get the following:

*-network UNCLAIMED       
       description: Network controller
       product: Wi-Fi 6 AX200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 1a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: memory:fea00000-fea03fff
  *-network
       description: Ethernet interface
       physical id: 1
       bus info: usb@1:2
       logical name: usb0
       serial: ae:9c:65:89:8d:5e
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.50.35 link=yes multicast=yes

Ethernet interface is my phone being tethered to my laptop via USB.

 

With

dmesg | grep iwl

I get:

[    2.682015] Loading modules backported from iwlwifi
[    2.682015] iwlwifi-stack-public:master:9022:a34beadd
[    2.710248] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[    2.829622] iwlwifi: probe of 0000:01:00.0 failed with error -110
[    4.227328] Modules linked in: fjes(-) btusb btrtl uvcvideo btbcm btintel videobuf2_vmalloc bluetooth videobuf2_memops videobuf2_v4l2 videobuf2_common videodev ecdh_generic ecc mc joydev snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel amdgpu nls_iso8859_1 snd_intel_dspcfg snd_hda_codec snd_hda_core edac_mce_amd iommu_v2 snd_hwdep snd_pcm kvm_amd gpu_sched kvm ttm crct10dif_pclmul snd_seq_midi hid_multitouch k10temp ghash_clmulni_intel snd_seq_midi_event snd_rawmidi asus_nb_wmi input_leds aesni_intel snd_seq iwlwifi(OE) serio_raw asus_wmi crypto_simd drm_kms_helper sparse_keymap cryptd snd_seq_device snd_timer glue_helper wmi_bmof cec rc_core rapl snd i2c_algo_bit fb_sys_fops cfg80211(OE) syscopyarea sysfillrect compat(OE) efi_pstore sysimgblt ccp soundcore mac_hid sch_fq_codel parport_pc ppdev lp parport drm ip_tables x_tables autofs4 usbhid hid_generic crc32_pclmul i2c_piix4 nvme ahci nvme_core libahci xhci_pci xhci_pci_renesas wmi video i2c_hid

In line 1, 2, 3 and 4 "iwl" from iwlwifi is red, I don't know how to recreate it in this post.

 

With

rfkill

I get:

ID TYPE      DEVICE              SOFT      HARD
 0 wlan      asus-wlan      unblocked unblocked
 1 bluetooth asus-bluetooth unblocked unblocked
 2 bluetooth hci0           unblocked unblocked

The Bluetooth is working and I can access the internet using my phone but my laptop won't show me the WiFi option. I tried copying the firmware into /lib/firmware, I also tried something using backport.

 

This is my system:

OS Name -------------------- Ubuntu 20.04.2 LTS

OS Type ---------------------- 64 - bit

GNOME Version ----------- 3.36.8

Windowing System -------- X11

 

I have no idea what any of this means. Thank you in advance for any help that I get. If you need any more information, I'll do my best to provide you with it.

Link to comment
Share on other sites

Link to post
Share on other sites

Don't know much about WiFi stuff, but you might need to download a driver or network adapter. Hope this helps!

haha broskie like dab my guy

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, MightyMishka said:

Don't know much about WiFi stuff, but you might need to download a driver or network adapter. Hope this helps!

I tried doing that. Doesn't seem to work.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, The Brunini said:

I tried doing that. Doesn't seem to work.

Oh, sorry. I can't help any more than that, hope you find a resolution!

haha broskie like dab my guy

Link to comment
Share on other sites

Link to post
Share on other sites

connect via ethernet cable do a 

sudo apt update 

then sudo apt upgrade

if it was useful give it a like :) btw if your into linux pay a visit here

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, MightyMishka said:

Oh, sorry. I can't help any more than that, hope you find a resolution!

I appreciate the help dude!

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, mahyar said:

connect via ethernet cable do a 

sudo apt update 

then sudo apt upgrade

if it doesn't work there are still some things that you can try

if it was useful give it a like :) btw if your into linux pay a visit here

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, mahyar said:

connect via ethernet cable do a 

sudo apt update 

then sudo apt upgrade

Already did that too. But it spits out some error:

E: The repository 'cdrom://Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1) focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

 

Link to comment
Share on other sites

Link to post
Share on other sites

27 minutes ago, The Brunini said:

Already did that too. But it spits out some error:


E: The repository 'cdrom://Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1) focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

 

Hang on, have you installed Ubuntu or are you booting from the live installation medium?

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Sauron said:

Hang on, have you installed Ubuntu or are you booting from the live installation medium?

Installed it alongside Windows.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, The Brunini said:

Installed it alongside Windows.

What's in /etc/apt/sources.list?

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, Sauron said:

What's in /etc/apt/sources.list?

For me it's /etc/apt/sources.list.d and it is empty which I guess is bad.

Link to comment
Share on other sites

Link to post
Share on other sites

44 minutes ago, The Brunini said:

Already did that too. But it spits out some error:



E: The repository 'cdrom://Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1) focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

 

Try this (in terminal)

Quote

sudo nano /etc/apt/sources.list

find the line that reads

Quote


cdrom://Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1) focal Release

and comment it out, like this

Quote


#cdrom://Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1) focal Release

 

Then do Ctrl+X, press Y then hit Enter.

 

Now do

sudo apt update && apt upgrade

Ubuntu is looking for the installation disc as a source, you have to disable it.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Master Disaster said:

Try this (in terminal)

find the line that reads

and comment it out, like this

Then do Ctrl+X, press Y then hit Enter.

 

Now do


sudo apt update && apt upgrade

 

It spit out this error:

Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:2 http://gr.archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://gr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://gr.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Fetched 324 kB in 1s (220 kB/s)    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

 

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, The Brunini said:

For me it's /etc/apt/sources.list.d and it is empty which I guess is bad.

No, I mean the file /etc/apt/sources.list

 

It must be there, check again.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

I figured it out! It was the kernel version.

I was running 5.8.something. I updated it and it seems to be working now.

I'm on 5.11.4-051104-generic now and it's good.

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, The Brunini said:

It spit out this error:


Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:2 http://gr.archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://gr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://gr.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Fetched 324 kB in 1s (220 kB/s)    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

 

Just reboot and try running apt update again, this is because a previous attempt failed and it didn't remove the lock file.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Sauron said:

No, I mean the file /etc/apt/sources.list

 

It must be there, check again.

My bad. It was there.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, The Brunini said:

My bad. It was there.

 

You still have to disable the cdrom as a source otherwise this issue will keep happening.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Master Disaster said:

You still have to disable the cdrom as a source otherwise this issue will keep happening.

Do I need to run the whole thing again after rebooting or just the sudo apt upgrade thing?

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Master Disaster said:

You still have to disable the cdrom as a source otherwise this issue will keep happening.

Same error as before.

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, The Brunini said:

Do I need to run the whole thing again after rebooting or just the sudo apt upgrade thing?

Did you put a # at the beginning of the cdrom line in your sources.list?

 

If yes then you're good, just do

sudo apt update && apt upgrade

If not then go and do that first, then run the above command.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Master Disaster said:

Did you put a # at the beginning of the cdrom line in your sources.list?

 

If yes then you're good, just do



sudo apt update && apt upgrade

If not then go and do that first, then run the above command.

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

 

deb cdrom:[Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1)]/ focal main restricted

This is the line I'm supposed to comment out?

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, The Brunini said:




 

deb cdrom:[Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1)]/ focal main restricted

This is the line I'm supposed to comment out?

Correct, put a # at the beginning and it should change colour in nano to indicate its a comment.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Master Disaster said:

Correct, put a # at the beginning and it should change colour in nano to indicate its a comment.

That's what I did when it spat out that error.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×