Wifi interface does not activate no matter what
First time Arch user in a long time. I used to use it some years ago, back when there was a graphical installer and everything was simpler. Yesterday I've tried installing it on my new Thinkpad X1 Extreme following the Arch Wiki step-by-step. And I've run into a problem with the wireless card (Intel AC 9560), which uses the iwlwifi driver.
What I've done:
- Correctly made a USB pendrive installer with dd.
- In the live mode, since I can't use ethernet, I've set up a wlan connection. The proper module (iwlwifi) was already loaded, so i just used
ip link setto activate the interface. It worked. Then used wpa_supplicant and wpa_cli to connect to my network (WPA2), then rundhcpdto get an IP and it worked. - Formatted, partitioned and mounted the partitions (/, swap and EFI)
pacstrap /mnt base-> done.arch-chroot /mnt, configured fstab, localhost, time and locale -> done.- Here begins the issue. I tried to configure the network in the same way as in the live environment, but as soon as I brought the wlan interface up with
ipI started getting error messages about ACPI and I could not bring the wlan interface up. I ignored them and went ahead with wpa_supplicant andwpa_clibut obviously I could not get a connection. Apparently iwlwifi was not available (modprobe iwlwifisaid it could not find it), which is bizarre because I could see the interface viaip link. So I exited arch-chroot and I was able to enable the wifi interface there and connect again. - Went back to arch-chroot and proceeded with the installation. The connection was working. I installed and configured GRUB and I did not create a new initramfs since the Wiki says it's not necessary (I don't use LVM, encryption or RAID). I did not install any DE or graphical interface.
- Exited the installation and booted up my system. iwlwifi is now loaded (I checked via
dmesg | grep iwlwifi) and I can see the wlan interface withip link, butip link set interface updoes nothing.
I've spent all day reading the Wiki and searching for solutions, but for the life of me, I cannot understand what's wrong.
I'll add another tidbit of information which could be useful: during the installation process and after the installation, when I typed lspci the system would hang completely with this error message:
Watchdog detected hard LOCKUP on CPU xyz
The only solution was to shut down the laptop via power button. I searched for a solution and I figured that the problem was with ACPI. In my /etc/default/grub I added two parameters (acpi_osi=! acpi_osi="Windows 2009") and the problem went away.
Still, the wifi problem persist. dmesg and journalctl don't show any error messages regarding the wlan interface nor the iwlwifi module. I've tried disabling the iwlwifi module (modprobe -r iwlwifi) with the intention of reloading it but I get an error message saying "FATAL: Module iwlwifi is in use".
Here is the output of dmesg | grep iwlwifi (I'm copying it by hand)
iwlwifi 0000:00:14:3: enabling device (0000 -> 0002)
iwlwifi 0000:00:14:3: loaded firmware version 38.755cfdd8.0 op_mode iwlmvm
iwlwifi 0000:00:14:3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x318
iwlwifi 0000:00:14:3: base HW address: 98:3b:8f:d1:12:bc
iwlwifi 0000:00:14:3: wlp0s20f3: renamed from wlan0
iwlwifi 0000:00:14:3: BIOS contains WGDS but no WRDS
During the installation process I've also installed network-manager and wicd but I've disabled them via systemctl to avoid confusion.
Do you have any suggestions? Any help is appreciated!
EDIT: I'm using the Arch kernel 4.19.12.
EDIT2: here is part of the output of ip link:
3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
Edited 28 Dec 2018. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 19 · 100% up
- Kind
- Text
- ID
- aa5get
14 comments
Googling that last iwlwifi log message shows it was added Nov 11, 2018 and indicates an error that should not happen. https://patchwork.kernel.org/patch/10677577/
Not sure what you can do about it, but might point you somewhere.
I saw this, but honestly I can't understand anything about the bug, I'm kind of a noob.
The kernel from the install media clearly doesn't have this patch. Try to install it on your system. Or see if the LTS kernel works. Anything older than Nov 11.
Maybe try to contact the patch author?
Why not just tether your phone for "wired" connection until you have a DE and your network manager stuff all set up then rely on wifi. Archlinux with WiFi can work but it's usually trouble.
Edit: WiFi during install is usually trouble
I had similar issue with my last install (wifi works when boot from USB but not from disk). I found out the reason is because you need to install wpa-supplicant to disk when booting from USB, because it is not installed to disk by default. After rebooting from USB and installing wpa-supplicant netctl works normally for me (I think I have trouble using ip to connect to wifi)
For reference here are my instructions, you can skip most of the stuff and search for wifi. Hope this helps.
https://github.com/pkerichang/linux_files/blob/master/README_arch_razer_15_2018.md
All helpful, but OP shouldn't have trouble setting the interface up due to lack of wpa_supplicant, you can replace that entirely with iwd actually
To OP, I think you should compare package versions of kernel and iproute2 between install media and the finished system. Compare dmesg also.
I have the X1C6 with the same WiFi as the C5, and it's never given me trouble except on macOS, even OpenBSD works great. New gen may not be well supported yet.
Do you have Thunderbolt BIOS Assist on? When off it causes lots of weird bugs with ACPI.
CAREFUL though, I believe some older BIOSes can brick when that setting is flipped....
Also, there are other Windows version strings that may enable different codepaths in your DSDT, you could try "Windows 2018.2" or others.
Your response seems to be going in the right direction, thank you! I'm gonna try later on and I will report back. I think that Thunderbolt is on, I hope I can turn it off without damage with the newly updated UEFI (1.17).
ok try this.. completly remove networkmanager, pacman -Rs networkmanager make sure You have instaled pacman -S iw wpa_supplicant dialog wpa_actiond I was in trouble like You well just give try.
You described a workaround for the
lspcilockup, and I'm glad that worked for you. But in case it helps anyone else, I think that thelspcilockup is caused by a problem with thenouveaudriver when using "Hybrid" graphics.I was also seeing a system lockup when I ran
lspcion my ThinkPad X1E on a fresh Arch install. It appears that this was being caused by a combination of two factors:nouveau, the default VGA driver for the system's GTX 1050 Ti Max-Q.I've observed that these
lspcilockups disappear when I either:nvidiadriver, replacing the open sourcenouveaudriver.