Date: Mon, 02 Mar 2009 08:05:47 -0800 From: Sam Leffler <sam@freebsd.org> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-mobile@freebsd.org Subject: Re: wpa_supplicant && associates to unknown AP Message-ID: <49AC03DB.3090608@freebsd.org> In-Reply-To: <20090302080228.GA1989@rebelion.Sisis.de> References: <20090301080310.GA3186@rebelion.Sisis.de> <49AAC965.1030903@freebsd.org> <20090302080228.GA1989@rebelion.Sisis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Apitz wrote: > El día Sunday, March 01, 2009 a las 09:44:05AM -0800, Sam Leffler escribió: > > >> I don't see a wpa_supplicant log. The way iwi works is rather a hack >> but necessitated by the crappy intel firmware. There is no way to get >> iwi to just scan but not associate so what's done is we install an >> "impossible ssid" when we just want to scan then fill in the ssid and >> tell it to scan on just the channel where the desired ap is located. >> This has always worked but perhaps you caught ifconfig reporting status >> that was temporary. Without logs it's impossible to tell. >> > > I will try to collect a wpa_supplicant log; this is a bit tricky because > wpa_supplicant is launched at boot time with hardcoded flags in > /etc/rc.d/wpa_supplicant and it seems it does not log via syslog (at > least I don't see how this could be enabled in the man page); > The no logging is because syslogd is started too late by rc.d. I've brought this up (the ordering is complicated) but haven't had time to fix it myself. To add -d you should be able to just add wpa_supplicant_flags="-s -d" in rc.conf. This will work if you manually start things with /etc/rc.d/netif start ath0 (or similar). > >> The other possibillity is your wpa_supplicant.conf file allowed >> association to a "wildcard ap". Can't tell w/o seeing the config file >> and/or log. >> > > No, there is no "wildcard ap". > > Thx for your reply in any case. > > matthias > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49AC03DB.3090608>