Before I'm prompted to login I get:
x220 login: Sucessfully initialized wpa_supplicant
dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.interfaceP2PDevice dbus_property=P2PDeviceConfig getter failed
Inside /etc/wpa_supplicant I have a wpa_supplicant-wlan0.config file containing:
ctrl_interface=/run/wpa_supplicant
update_config=1
network={
ssid="Skynet"
psk="mypasshere"
}
When I run
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant-wlan0.config
I get this:
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: Failed to initialize driver interface
Any ideas?
The spaces either side of the equals sign stopped it working for me, it was OK after that with my details in there.
network = {
I fixed that, still no dice
man wpa_supplicant
Or https://wiki.archlinux.org/title/wpa_supplicant#Connection
You need to specify driver with the
-D option. But it is best to activate wpa_supplicant through a service package for your init.