# # Original File # ------------- # http://www.Linux-Wireless.org/Install-HOWTO/AccessPoint.Testing.txt # # # 21-May-04 amo Clean up and Added comments # 04-Jun-04 amo moved to Linux-Wireless.org # # # NetGear WG311 pci card works as a gateway to other netgear wg311 pci cards # # NetGear WG311 does NOT seem to work with other wireless cards # ( missing channel info in packets in the madwifi-20030802 drivers ) # # NetGear WG311 uses the madwifi drivers # http://www.Linux-Wireless.org/Install-HOWTO/Drivers/madwifi/madwifi.txt # # # NetGear WG311v2 seems to use the prism2 drivers ( untested ) # http://www.Linux-Wireless.org/Install-HOWTO/Drivers/prism54/prism54.txt # # # ======================= # On the Wireless Gateway # ======================= # # AccessPoint# wl.config -- configure your wireless options # AccessPoint# wl.install.sh start # # # ------------------------- # AccessPoint# iwconfig ath0 mode Master # ------------------------- # -- pick a wireless card that supports the "mode Master" command # # # AccessPoint# iwlist scan # - you should see the clients # - # - Make sure your ESSID and AccessPoint matches your clients # - # # # # # check the routing table to your wireless clients ( route -nv ) # # install a firewall # # enable ip_forward # # echo "1" > /proc/sys/net/ipv4/ip_forward # # # AccessPoint# wl.install.sh ap # # # AccessPoint# vi /etc/hosts.allow # allow wireless ip# # # AccessPoint# vi /etc/exports # allow wireless ip# # # # AccessPoint# ping wireless-clients # # # # # Enable 40-bit Key Sizes ( aka 64bit WEP Keys aka WEP40 ) # # # AccessPoint# iwconfig ath0 key 0123-4567-89 10 hex chars # AccessPoint# iwconfig ath0 key s:abcde 5 char string # # # # # Enable 104-bit Key Sizes ( aka 128bit WEP Keys aka WEP104 ) # # # AccessPoint# iwconfig ath0 key 0123-4567-89ab-cdef-0123-4567-89 26-hex chars # AccessPoint# iwconfig ath0 key s:Any13Characte 13 char string # # # # # # # To turn off WEP # # # AccessPoint# iwconfig ath0 key off ( or key open ) # # # --------------------------------------------------------------------- # # # Wireless Clients: # ---------------- # # Wireless-Client# wl.config -- configure your wireless options # Wireless-Client# wl.install.sh # # # Wireless-Client# iwconfig ath0 mode Managed -- find the Master with the same ESSID # # Wireless-Client# iwlist scan # - you should see the AccessPoint # - # - Make sure your ESSID and AccessPoint matches your AccessPointGateway # - # # Wireless-Client# ping Wireless-Gateway # Wireless-Client# ping anybody-on-the-outside.com # # Wireless-Client# date scp Wireless-Gateway:/big-file /tmp # Wireless-Client# date scp anybody-on-the-outside.com:/another-big-file /tmp # # # End of file