WLAN-Client
From OpenFSG
|
(This is a translation of this thread, many thanks to: Alain23)
Instructions
- Set your wireless router to WEP with 128-bit encryption and Open authentication.
- Place your FSG into Switch mode with a fixed IP address.
- Log on to your FSG as 'su' using Putty (see http://www.openfsg.com/index.php/Use_the_SSH_Server)
- Create a start up script containing the following information (see http://www.openfsg.com/index.php/Run_a_Script_At_Bootime)
insmod /root/wlan.ko
insmod /root/wlan_wep.ko
insmod /root/mwl.ko
ifconfig mwl0 hw ether {MAC address - found using 'ifconfig'}
iwconfig mwl0 mode Managed
iwconfig mwl0 key {WEP key}
iwconfig mwl0 essid {ssid value for your wireless configuration}
iwconfig mwl0 channel {number 1-6}
brctl addif eth0 mwl0
ifconfig mwl0 mtu 2290 down
ifconfig mwl0 {FSG IP address} up
iwconfig mwl0 ap {MAC address of wireless router}
- Reboot your FSG,
- Log onto the web interface and check under Information->Wireless Network. You should see (1) a bit rate and (2) connected station MAC IP of the router.
Notes
- Don't include the curly brackets in the script.
- A wireless router has different MAC addresses for its wired and wireless components. You need to specify the wireless one. If you aren't sure what it is, use command iwlist scan to find it.
- The Channel setting does not appear to be required if you are using Channel 1
Open Issues
- It has not been verified that this works on the latest firmware, i.e. 4.4.5
- Currently the solution only supports WEP, i.e. WPA is not supported
Useful Links
- OpenFSG Forum link: http://www.openfsg.com/forum/viewtopic.php?f=9&t=3126&start=15
- OpenFSG Running a script at boot time: http://www.openfsg.com/index.php/Run_a_Script_At_Bootime
- OpenFSG Connecting to the SSH server: http://www.openfsg.com/index.php/Use_the_SSH_Server
- Vi Editor help is available at http://www.eng.hawaii.edu/Tutor/vi.html