You are not logged in.
Hello. I can't seem to connect to the wifi network at Starbucks. I don't mean trying to trigger the captive portal to sign in. I mean I can't even connect to the open network at all. (Other wifi networks do work.)
The attempt times out after a while and I get a desktop notification that says.
Connection Failed
Activation of network connection failed
Here are some of the logs I saw while waiting. I got these from journalctl -f.
NetworkManager[674]: <warn> [1577143124.7563] dhcp4 (wlp0s20f3): selecting lease failed: 12
NetworkManager[674]: <warn> [1577143135.6370] dhcp4 (wlp0s20f3): request timed out
NetworkManager[674]: <info> [1577143135.6371] dhcp4 (wlp0s20f3): state changed unknown -> timeout
NetworkManager[674]: <info> [1577143135.6372] device (wlp0s20f3): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
NetworkManager[674]: <info> [1577143135.6384] manager: NetworkManager state is now CONNECTED_LOCAL
NetworkManager[674]: <warn> [1577143135.6415] device (wlp0s20f3): Activation: failed for connection 'Starbucks WiFi'
NetworkManager[674]: <info> [1577143135.6424] device (wlp0s20f3): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
NetworkManager[674]: <info> [1577143135.6737] dhcp4 (wlp0s20f3): canceled DHCP transaction
NetworkManager[674]: <info> [1577143135.6737] dhcp4 (wlp0s20f3): state changed timeout -> done
kernel: wlp0s20f3: deauthenticating from 18:64:72:65:93:c8 by local choice (Reason: 3=DEAUTH_LEAVING)
wpa_supplicant[723]: wlp0s20f3: CTRL-EVENT-DISCONNECTED bssid=18:64:72:65:93:c8 reason=3 locally_generated=1
wpa_supplicant[723]: dbus: wpa_dbus_property_changed: no property SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/0
NetworkManager[674]: <info> [1577143135.7033] device (wlp0s20f3): set-hw-addr: set MAC address to 4E:DD:0F:BD:00:8E (scanning)
kernel: iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
kernel: iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
kernel: iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
NetworkManager[674]: <warn> [1577143135.9159] sup-iface[0x559dd4a96900,wlp0s20f3]: connection disconnected (reason -3)
NetworkManager[674]: <info> [1577143135.9162] device (wlp0s20f3): supplicant interface state: completed -> disconnected
NetworkManager[674]: <info> [1577143135.9162] device (p2p-dev-wlp0s20f3): supplicant management interface state: completed -> disconnected
I don't have systemd-resolved or systemd-networkd running. I completely rely on NetworkManager for DNS and DHCP.
Last edited by 1ptb3b (2019-12-23 23:31:00)
Offline
Just ran into the same issue today. Was wondering if anyone had more info as to cause/fix. Looks like there's a Debian bug open about this as well: https://bugs.debian.org/cgi-bin/bugrepo … bug=947283
Offline
I opened an upstream bug report on this: https://gitlab.freedesktop.org/NetworkM … issues/324
Offline
Try using dhclient as client instead of dhcpcd -- see if there's any difference.
"the wind-blown way, wanna win? don't play"
Offline
Will give that a shot - tnx!
Offline
For what it's worth, I am also having this issue, with the same notebook, on our corporate network. I'm going to try using dhclient tomorrow and see if it solves the issue. At one point, NetworkManager worked without workaround. I wonder if it is a regression in NetworkManager.
EDIT:
Emitting the following into /etc/NetworkManager/conf.d/99-dhcp.conf worked as per the bug tracker link.
[main]
dhcp=systemd
Last edited by hackerman (2020-01-10 19:42:59)
Offline
Here to say I had the same issue. Seems like it has to do with NetworkManager's internal dhcp client. Adding 'dhcp=dhcpcd' under the [main] header in /etc/NetworkManager/NetworkManager.conf allowed it to connect. I'm sure dhclient would work as well.
[main]
dhcp=dhcpcd
EDIT: To clarify, you need to have the 'dhcpcd' or 'dhclient' package installed if you wanna use those values in NetworkManager's configuration.
Last edited by fungle (2020-01-12 00:02:04)
Offline