Date: Tue, 18 Jul 2006 13:26:22 +0300 From: Niki Denev <nike_d@cytexbg.com> To: stable@freebsd.org Cc: net@freebsd.org Subject: Re: ural(4) deassociates if no activity (possible wpa_supplicant problem) Message-ID: <44BCB74E.5020307@cytexbg.com> In-Reply-To: <44BCB58E.8010707@cytexbg.com> References: <44BCB58E.8010707@cytexbg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Niki Denev wrote: > Hello, > > I've noticed something very interesing while using a ural(4) usb wifi device. > > When i plug the usb device, and there is absolutely no network activity, exactly > after five minutes the device deassociates from the access point. > > I've put some debug printf's in ural_newstate and when i plug the device, > i get several IEEE80211_S_SCAN state changes, > then i gets from IEEE80211_S_AUTH to ASSOC and then RUN. > Nothing wrong here, but exactly after five minutes of no activity (measured > with stopwatch) i get a state transition from IEEE80211_S_RUN to IEEE80211_S_AUTH > and it stays that way, until i remove/insert the device again or send HUP to > wpa_supplicant and restart dhclient. > > This looks maybe like wpa_supplicant problem, and i think i've had similar problems with > ath(4) mini-pci card and card bus ral(3), but as far as i remember the period of > inactivity was much greater with them (i'll try to test this on these cards too when > i have access to them again) > > > Regards, > --niki Well, after a few more moments investigating the problem it seems that dhclient is to blame. If i don't start it i don't get disconnected, and also i noticed that the five minute interval matches the dhclient renewal period of 300 seconds. So the logical question is, why dhclient makes my ural(4) adapter deassociate, and what i can do to prevent this :) Thanks! - --niki -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEvLdOHNAJ/fLbfrkRAnt+AKCnpfDdSucSccRTm4Qmg4ONVWQqzwCgygJp EE+HPPMAbzIhMOsHO6Q+f6o= =NXMO -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44BCB74E.5020307>