Skip to content

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:

  1. Correctly made a USB pendrive installer with dd.
  2. 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 set to activate the interface. It worked. Then used wpa_supplicant and wpa_cli to connect to my network (WPA2), then run dhcpd to get an IP and it worked.
  3. Formatted, partitioned and mounted the partitions (/, swap and EFI)
  4. pacstrap /mnt base -> done.
  5. arch-chroot /mnt, configured fstab, localhost, time and locale -> done.
  6. 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 ip I started getting error messages about ACPI and I could not bring the wlan interface up. I ignored them and went ahead with wpa_supplicant and wpa_cli but obviously I could not get a connection. Apparently iwlwifi was not available (modprobe iwlwifi said it could not find it), which is bizarre because I could see the interface via ip link. So I exited arch-chroot and I was able to enable the wifi interface there and connect again.
  7. 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.
  8. 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 with ip link, but ip link set interface up does 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.

19 points13 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
19 · 100% up
Kind
Text
ID
aa5get

Author

1
posts
15
comments
0
media
View profile

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.

6 points

I saw this, but honestly I can't understand anything about the bug, I'm kind of a noob.

2 points

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?

2 points

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

6 points

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

5 points

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.

4 points

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).

2 points

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.

2 points

You described a workaround for the lspci lockup, and I'm glad that worked for you. But in case it helps anyone else, I think that the lspci lockup is caused by a problem with the nouveau driver when using "Hybrid" graphics.

I was also seeing a system lockup when I ran lspci on 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.
  • The system's "hybrid" graphics. (If I understand correctly, a.k.a. Optimus.)

I've observed that these lspci lockups disappear when I either:

  • Disable "hybrid" graphics in the system BIOS. (The only other option is "discrete".)
  • Install the nvidia driver, replacing the open source nouveau driver.
2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.