No WiFi in live environment or post-install
I apologize in advance for a long-winded post, and I fully expect to blasted as a noob, but here goes.
Background: I've never tried Arch, and have always pretty much stuck to Debian-based distributions where I've become very comfortable. I recently had the desire to experiment with a few newer packages I'm interested in that won't land in Debian any time soon, so I figure now is as good a time as any to try an Arch install. Yes, I'm aware there's "Arch made easy" distros such as Manjaro and Antergos, but I don't really care for those for a variety of reasons, plus I like the challenge of learning this for myself.
I've first attempted to install Arch on a Thinkpad T430s (since everything should work out of the box on this one) while following the Arch wiki. Everything went easier than expected to be honest, but I cannot connect to wifi. Ethernet internet works fine. I was not able to achieve a wifi connection during the install from the live environment (I just plugged in ethernet at the time and continued the install from there), nor have I had any luck configuring after rebooting into the installed system. Here's what I've done, and the observed results of these efforts. I've:
- Ensured that a proper driver was in use with 'lspci -k'. This showed that the 'iwlwifi' kernel module was loaded.
- Identified the wireless interface name (wlp3s0) and set it up with 'ip link'
- Ensured that dhcpcd.service is enabled (for all interfaces)
- Tried wifi-menu -o. While it scans and sees my wireless networks, when I input the key (and yes it's the correct key), it fails to configure properly and connect. Each time it fails, I tell it not to save the profile when it asks if it should save it anyway.
- Considered connecting with 'iw'. The wiki has clear instructions for WEP encryption, but it seems to indicate that you must use a network manager to connect to a WPA network (my home network is WPA2). Which led me to
- Trying to create a profile named "home" with 'netctl'. When I do, and try to start the profile, it errors out and says the service (netctl@home.service) is already started. I've tried 'netctl stop home' and 'netctl stop-all' before attempting to start the profile again, but always get the same error.
I'm not usually one to ask for help until I've exhausted all possibilities, and I've been trying to get this working on my laptop for over a week. Can anyone explain to me the correct process to bring up a wifi connection on a T430s?
Also, I've been pretty diligent about deleting configs when they don't work, so that if I get a working solution it's not in conflict with something I've botched previously. I hope that won't be a problem going forward.
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- bfq3kl
16 comments
A common gotcha. Does your wifi password contain special characters and is your keyboard using the laying you think it is?
It is my understanding that it should have automatically been available in the live environment, but I had to install it after rebooting. But yes, it was installed when I was trying to connect.
You seem to have replied to the wrong comment, but anyway if you have time try using wpa_supplicant it's what I went for when I couldn't configure iw.
It's US English layout (applicable to me), no special characters in the password.
Is wpa_supplicant installed?
netctl wants the interface to start in a ‘down’ state, so make sure this is the case. Run ‘ip link set wlp3s0 down’ and then ‘netctl start home’
Thanks for this, I'll give this a try.
Any luck?
I'd try to call
wpa_supplicantdirectly and check the errors:Make sure the interface is available with
ip addrhttps://wiki.archlinux.org/index.php/WPA_supplicant#Connecting_with_wpa_passphrase
Will give this a shot at the next opportunity.
Honestly, I just connected to wifi using my desktop environment Just make sure you enable networkmanager in systemd
My intent is to install i3, which doesn't include a network manager, and I'd hate to install another DE just to get WiFi going.