Question about 'iwconfig wlanX ap' command

Jouni Malinen jkmaline
Mon Nov 29 22:18:22 PST 2004

On Mon, Nov 29, 2004 at 08:17:54PM -0600, Jerry wrote:

> on the client i use: iwpriv wlan0 host_roaming 2   <- turns OFF roaming

Not only roaming..

> The idea is to make these units a point to point link (my luck with Ad-Hoc
> has been less than stellar), nothing else can associate to the AP, and the
> client should ONLY associate to this particular AP.  And this works like it
> should. but if the AP is rebooted, or gone for whatever reason for a short
> period of time, the client will not re-associate. I have to log into the
> client and : "iwconfig wlan0 ap 00:02:6f:aa:bb:cc" again for it to
> reassociate.   Is this the fault of the host_roaming command?

No, it is doing exactly what it is expected to do, i.e., not join the AP
automatically if the link gets down for any reason.. You might want to
test with host_roaming=1, which actually allows the firmware to start
scanning if the client gets disassociated.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list