You are not logged in.
After a recent installation, I haven't been able to get the wireless internet to work automatically by default. Here's what I find after powering on the laptop (acer aspire):
"ip link show" states the wireless interface is down. "ip link set wlp3s0 up" is used to switch it on.
The "wpa_passphrase" command was used to store the SSID and password in a file at /etc/wpa_supplicant/wpa_supplicant.conf during the initial installation.
Next, I use "wpa_supplicant -B -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlp3s0".
Finally dhcpcd wlp3s0 to acquire an ip address.
"ping archlinux.org". Success!
The problem is, upon reboot, there is no connection. "ip link show" once again states that the wireless interface is "down". My mental model of networking is fairly poor, and I suspect there is a simple solution to this. Unsure what information is pertinent. Let me know, and I will post it. Any advice is appreciated!
Last edited by tim123 (2018-08-07 03:50:15)
Offline
You have to use some sort of network manager if you want this stuff to be done automatically on boot. NetworkManager, systemd-networkd, and netctl can all automate this and are pretty easy to set up. Just check the wiki page for whichever you choose to use.
Offline
I agree with the diagnosis above, but none of those treatments seem "easy" to me.
Just enable dhdpcd's wpa_supplicant hook once, then enable dhcpcd@wlp3s0 once, and from then on it will 'just work'.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Thanks to both Circleface and Trilby for replying. I didn't see the latter's reply until after I applied circleface's solution, which solved the problem. I chose the netctl network manager and found it straightforward enough.
Offline
Good point Trilby, I sort of forgot about using plain old dhcpcd
(I personally use systemd-networkd on my network, but before that I used netctl)
Offline
They're all good options. I regularly advocate for my proposal simply because it does seem to be often neglected when much more complicated management tools are recommended when they may not be needed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online