You are not logged in.
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:
#!/bin/sh
INTERFACE=eth1
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"
WLAN_INTERFACES=(eth1)
but it didn't work.
Thanks!
Offline