[maemo-developers] WLAN connectivity using only wireless-tools

From: Kalle Valo Kalle.Valo at nokia.com
Date: Wed Sep 26 23:00:38 EEST 2007
"ext Kalle Vahlman" <kalle.vahlman at gmail.com> writes:

>> > ifconfig wlan0 up
>> > iwlist wlan0 scanning > /wlan-list
>> > iwconfig wlan0 mode managed
>> > iwconfig wlan0 ap auto
>> > iwconfig wlan0 essid "xxx"
>>
>> I don't use the ap command at all, try without it first.
>
> I don't remember if I ever tried without it, but at least now it works
> when I removed all but the essid command. Go figure :)

Yeah, basically scan, mode and ap commands are not needed because the
defaults are the same as you set here.

But it might that you were just lucky this time. If only two channels
are scanned, most of the time the driver won't be able to associate
because it can't find the AP. How many channels did it scan?

-- 
Kalle Valo

More information about the maemo-developers mailing list