Re: [wpa-supplicant] Can't connect to wifi hotspot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2017-04-15 at 10:56 +0200, Gilles wrote:
> Here's the output from 1) sending the two commands, and 2) 
> /var/log/syslog while I attempt to connect to my WPA-protected home
> AP:
> 
> https://pastebin.com/raw/mhumwTkp

The first attempt successfully associates and 4-way handshakes with the
AP.  But then there is no DHCP reply, so NetworkManager terminates the
connection because it cannot get an IP address.

Then NM asks the supplicant to try again.  The supplicant associates
successfully, but then never receives the EAPOL frame from the AP that
starts the 4-way handshake.  After a few seconds (waiting for that
frame) the driver disconnects from the AP (Reason:
15=4WAY_HANDSHAKE_TIMEOUT).

All further attempts result in (Reason: 15=4WAY_HANDSHAKE_TIMEOUT).

This is either a driver/supplicant problem, or an AP problem.  There
could be a race condition in the supplicant or driver that is
discarding the EAPOL frame after association but before it's in a state
to process the start of the 4-way handshake.  If other devices work
fine with this AP, that's what I'd guess the problem is.

I'll have to toss it over to Jouni to go further on that...

Dan

> I hit CTRL+C after about one minute since it still couldn't connect.
> 
> On 14/04/2017 19:42, Dan Williams wrote:
> > On Fri, 2017-04-14 at 11:23 +0200, Gilles wrote:
> > > On 14/04/2017 05:36, Dan Williams wrote:
> > > > sudo dbus-send --system --print-reply --
> > > > dest=fi.w1.wpa_supplicant1
> > > > /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.Set
> > > > string:fi.w1.wpa_supplicant1 string:DebugTimestamp
> > > > variant:boolean:true
> > > > 
> > > > sudo dbus-send --system --print-reply --
> > > > dest=fi.w1.wpa_supplicant1
> > > > /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.Set
> > > > string:fi.w1.wpa_supplicant1 string:DebugLevel
> > > > variant:string:"msgdump"
> > > 
> > > It fails running the first command:
> > > 
> > > mint ~ # dbus-send --system --print-reply --
> > > dest=fi.w1.wpa_supplicant1
> > > /fi/w1/wpa_supplicant1
> > > org.freedesktop.DBus.Properties.Setstring:fi.w1.wpa_supplicant1
> > > string:DebugTimestamp variant:boolean:true
> > 
> > Ah sorry, looks like the linewrapping made things fail.  Should be:
> > 
> > sudo dbus-send --system --print-reply --dest=fi.w1.wpa_supplicant1
> > \
> >     /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.Set \
> >     string:fi.w1.wpa_supplicant1 string:DebugTimestamp \
> >     variant:boolean:true
> > 
> > sudo dbus-send --system --print-reply --dest=fi.w1.wpa_supplicant1
> > \
> >     /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.Set \
> >     string:fi.w1.wpa_supplicant1 string:DebugLevel \
> >     variant:string:"msgdump"
> > 
> 
> _______________________________________________
> Hostap mailing list
> Hostap@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/hostap

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux