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

Re: ls[wireless]



On Fri, 2003-02-14 at 19:09, Faye Pearson wrote:
> If you look at the source code for iwgetid (google iwgetid.c and click
> on the version number in the CVS link that comes up) then you'll find
> some sample pseudo code for using it to detect the nearest accesspoint.
> 
> I've modified gentoo's scripts to use it and it works well.
> 
> Basically you just initialise the card as normal for Managed use, bring
> the interface up without an IP address, wait for it to sync, then call
> iwgetid -s $DEVICE
> 
> Then you ifconfig $DEVICE down and do the setup as normal.

Thanks for the tip.

Have you tried "iwlist scan"?  That's what I'm using now.
-- 
Thomas Hood <jdthood0@yahoo.co.uk>

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



Reply to: