I don't use a laptop very often, but as I built a fresh 8.4 system
there, I thought I'd try network manager.
I can't get it to work. I first tried the applet, but then fell back to
trying nmcli and nmtui, None of that worked.
What does work us the BLFS method of using ifup which in turn uses
wpa_supplicant and dhcpcd.
Using nmcli, I can get:
# nmcli device wifi list
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
blfs3 Infra 1 195 Mbit/s 100 ▂▄▆█ WPA2
blfs4 Infra 52 405 Mbit/s 99 ▂▄▆█ WPA1
extend24 Infra 1 195 Mbit/s 95 ▂▄▆█ WPA2
extend50 Infra 149 405 Mbit/s 64 ▂▄▆_ WPA2
DIRECT-P1-Fire Infra 149 130 Mbit/s 34 ▂▄__ WPA2
MySpectrumWiFi Infra 11 195 Mbit/s 24 ▂___ WPA2
MurphaCat Infra 3 260 Mbit/s 20 ▂___ WPA1 WPA2
Then I get failure:
# nmcli device wifi connect blfs3 password (redacted) ifname wifi0
Error: Connection activation failed: (5) IP configuration could not be
reserved (no available address, timeout, etc.).
Checking the log:
Feb 24 23:59:04 laptop84 NetworkManager[730]: <info> [1551074344.5205]
device (wifi0): supplicant interface state: 4-way handshake -> completed
Feb 24 23:59:04 laptop84 NetworkManager[730]: <info> [1551074344.5206]
device (wifi0): Activation: (wifi) Stage 2 of 5 (Device Configure)
successful. Connected to wireless network "blfs3"
Feb 24 23:59:04 laptop84 NetworkManager[730]: <info> [1551074344.5208]
device (wifi0): state change: config -> ip-config (reason 'none',
sys-iface-state: 'managed')
Feb 24 23:59:04 laptop84 NetworkManager[730]: <info> [1551074344.5213]
dhcp4 (wifi0): activation: beginning transaction (timeout in 45 seconds)
Feb 24 23:59:49 laptop84 NetworkManager[730]: <warn> [1551074389.7344]
dhcp4 (wifi0): request timed out
So it appears to be connecting, but not getting a dhcp ip address.
I did try to tell nm what to use for dhcp:
$ cat /etc/NetworkManager/conf.d/dhcp-client.conf
[main]
dhcp=dhcpcd
But that didn't seem to help.
A last thing I tried was to use nmtui to configure a static ip address.
That did work, but I still would like to get dhcp working with nm, and
ultimately nm-applet.
Suggestions?
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page