wpa_supplicant and no Internet connection

Arend van Spriel arend
Sat Oct 12 01:08:27 PDT 2013


On 10/11/2013 11:46 PM, John V. Smith wrote:
> wpa_supplicant -Dnl80211 -iwlp5s0 -c
> /etc/wpa_supplicant/wpa_supplicant.conf says
> *Code:*	
> wpa_supplicant -Dnl80211 -iwlp5s0 -c
> /etc/wpa_supplicant/wpa_supplicant.conf
> Successfully initialized wpa_supplicant
> wlp5s0: SME: Trying to authenticate with 98:42:46:01:f0:0c (SSID='@:-D'
> freq=2462 MHz)
> wlp5s0: Trying to associate with 98:42:46:01:f0:0c (SSID='@:-D'
> freq=2462 MHz)
> wlp5s0: Associated with 98:42:46:01:f0:0c
> wlp5s0: WPA: Key negotiation completed with 98:42:46:01:f0:0c [PTK=TKIP
> GTK=TKIP]
> wlp5s0: CTRL-EVENT-CONNECTED - Connection to 98:42:46:01:f0:0c completed
> [id=0 id_str=]
> wlp5s0: CTRL-EVENT-DISCONNECTED bssid=98:42:46:01:f0:0c reason=3
> locally_generated=1	
>
> *BUT NO Internet Connection EVEN no ping*

Which totally makes sense given the last *DISCONNECT* event in the log 
above, but without timestamps it is hard to tell whether this is your 
problem.

Is there some sort of connection manager like NetworkManager running 
while attempting to run wpa_supplicant from the command line. You should 
disable that service. After establishing connection you have to run a 
dhcp client to establish IP connectivity, eg. dhclient -v wlp5s0

Regards,
Arend





More information about the Hostap mailing list