Wpa supplicant hanging after connecting
Okay so im trying to use wpa_supplcant with my atheros 9285 (ath9k) and i dont understand whats going on. If i do "wpa_supplicant -iwlp8s0 -Dnl80211 -c/etc/wpa_supplicant/wpa_supplicant.conf" it will connect saying connection to: 1c:af:f7:d5:f5:09 completed. But then it just hangs there. I do ^C to get out and it says disconnected reason=3 locally_generated=1.
I know its connecting successfully because i set wlp8s0 to 192.168.0.101 and i can ping it on another laptop on the wifi. Why is it hanging like this if its connecting successfully?
My wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="dlink"
key_MGMT=NONE
}
Any ideas? And also how do i set wpa_supplicant to run at startup?
|