You are not logged in.
Hi there,
I have a D-link USB wifi card that I've used successfully with Arch before, and that worked just fine to connect during install. However, after rebooting in I can't get wifi-menu, wpa_supplicant or NetworkManager to connect to anything or even scan for networks.
Output of ip link:
3: wlp0s20f0u2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 10:94:e4:51:5f:8e brd ff:ff:ff:ff:ff:ffiw dev exits with code 0 and no output.
output of wpa_supplicant -D nl80211,wext -i wlp0s20f0u2 -c <(wpa_passphrase "ssid" "password")
successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlp0s20f0u2 disabled_11b_rates=0
rfkill: Cannot get wiphy informationwifi-menu:
Scanning for networks... failed
No networks foundLike I mentioned, it worked perfectly when booted from install media, and I've had success with other linux distros out of the box before. Some of these errors seem to be so obscure that googling them only showed me source code. Help!
Offline
wpa_supplicant -D nl80211,wext -i wlp0s20f0u2 -c <(wpa_passphrase "ssid" "password")
Break that into two steps - generate the config with wpa_passphrase then run wpa_supplicant.
Also do you know you need the driver flags (-D ...)? If not, get rid of them, if so, try getting rid of them anyways. Those flags almost never help, and can quite often cause problems. Judging from the output, this could very well be the issue.
Also I'm not sure quite how to interpret that rfkill message, but the output of `rfkil list` might be helpful.
If separating the wpa_passphrase command and removing the -D flag options don't help, and rfkill list doesn't show any blocks, the next step would be to add the '-d' debugging flag to wpa_supplicant to get more information.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
[root@thing ~]# wpa_passphrase "ssid" "password" > wpa_supplicant.conf
[root@thing ~]# wpa_supplicant -i wlp0s20f0u2 -c wpa_supplicant.conf
successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlp0s20f0u2 disabled_11b_rates=0
wlp0s20f0u2: Failed to initialize driver interfaceLooks like rfkill isn't installed, I'll try booting the installation media and installing in chroot.
EDIT: Was able to install rfkill just fine via the installation media. Now rfkill list shows my bluetooth controller and nothing else.
[root@thing ~]# wpa_supplicant -d -i wlp0s20f0u2 -c wpa_supplicant.conf
wpa_supplicant 2.6
successfully initialized wpa_supplicant
Initializing interface 'wlp0s20f0u2' conf 'wpa_supplicant' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file 'wpa_supplicant' -> '/root/wpa_supplicant.conf'
Reading configuration file '/root/wpa_supplicant'
Priority group 0
id=0 ssid='ssid'
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlp0s20f0u2 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 3 iftype 2
nl80211: Failed to set interface 3 to mode 2: -19 (No such device)
wlp0s20f0u2: Failed to initialize driver interface
Failed to add interface wlp0s20f0u2
wlp0s20f0u2: Cancelling scan request
wlp0s20f0u2: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=nil)Last edited by JohnTheScout (2016-10-19 15:50:39)
Offline
Okay, this is weird. I had been doing all of this in a root account previously. I created a user account, logged in to that, and got sudo privileges firstly. Then I set the device up with sudo ip link. Tested wpa_supplicant with and without sudo, same error. But sudo wifi-menu all of a sudden can see networks! Anyone know why this might be? What's changed? I'd really like to understand what's happening, I'm lost.
EDIT: After rebooting into a graphical session, I can't connect anymore.
Last edited by JohnTheScout (2016-10-19 16:55:10)
Offline