You are not logged in.

#1 2007-10-27 18:53:38

Registered: 2006-02-10
Posts: 386

zd1211rw USB wireless stick: how to configure

Hi all,

Actually this is not a question to how to get it working because I've got it working. Here is a script I use to bring it up:

ifconfig $INTERFACE down
ifconfig $INTERFACE up
iwconfig $INTERFACE mode managed
iwconfig $INTERFACE essid "MyId"
iwconfig $INTERFACE key open
iwconfig $INTERFACE ap xx:xx:xx:xx:xx:xx
dhcpcd eth1

For some reason, I had to force the ap because otherwise, iwconfig will show "Invalid AP". What I would like to achieve is to translate the above to something in rc.conf or conf.d/wireless.

I tried:

wlan_eth1="eth1 mode managed essid MyId open ap xx:xx:xx:xx"

but it didn't work.



Board footer

Powered by FluxBB