xection
14-06-2005, 16:11
enable client mode:
wl ap 0
enable wireless bridge:
wl wet 1
scan for present wireless networks:
wl scan
wl scanresults
join chosen network (replace SSID with SSID of wireless network you want to connect on):
wl join 'SSID'
Finally, if you are happy with the results you can put all of this in post-boot
mkdir -p /usr/local/sbin/
echo "#!/bin/sh" > /usr/local/sbin/post-boot
echo "wl ap 0" >> /usr/local/sbin/post-boot
echo "wl wet 1" >> /usr/local/sbin/post-boot
echo "wl join 'SSID'" >> /usr/local/sbin/post-boot
chmod +x /usr/local/sbin/post-boot
flashfs save
flashfs commit
flashfs enable
In this mode WAN port has the same purpose as in AP mode.
wl ap 0
enable wireless bridge:
wl wet 1
scan for present wireless networks:
wl scan
wl scanresults
join chosen network (replace SSID with SSID of wireless network you want to connect on):
wl join 'SSID'
Finally, if you are happy with the results you can put all of this in post-boot
mkdir -p /usr/local/sbin/
echo "#!/bin/sh" > /usr/local/sbin/post-boot
echo "wl ap 0" >> /usr/local/sbin/post-boot
echo "wl wet 1" >> /usr/local/sbin/post-boot
echo "wl join 'SSID'" >> /usr/local/sbin/post-boot
chmod +x /usr/local/sbin/post-boot
flashfs save
flashfs commit
flashfs enable
In this mode WAN port has the same purpose as in AP mode.