LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Wpa supplicant hanging after connecting (https://www.linuxquestions.org/questions/linux-networking-3/wpa-supplicant-hanging-after-connecting-4175482413/)

austinramsay 10-27-2013 09:25 PM

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?

austinramsay 10-28-2013 10:15 AM

I feel dumb haha all i had to do was add -B to run it in the background.


All times are GMT -5. The time now is 12:04 AM.