# # -------------------------------------------------------------------------- # These Variables are loaded into ( sourced from ) wl.install.sh # # ------------------------------ # Config File for LinkSys WMP54G v2 wl.config.LinkSys.WMP54G # ------------------------------ # -------------------------------------------------------------------------- # # NetGear WG311 supports 40 or 104 bit keys ( 64bit or 128bit WEP keys ) # ( seems to support variable length keys based on key inputs ) # NetGear WG311 seems to support only 2 wep keys # # NetGear WG311 does NOT seem to support Auto nor Ad-hoc modes # # LinkSys WMP54G does NOT support Master Mode ( cannot be a linux-based access point ) # # PCI cards using the Broadcom BMC4320 chipset # LinkSys WMP54G # Belkin F5D7000 # Buffalo WLI-PCI-G54 # # # Original File # ------------- # http://www.Linux-Wireless.org/Install-HOWTO/WL/wl.HOWTO.txt - help docs # http://www.Linux-Wireless.org/Install-HOWTO/WL/wl.config - config file # http://www.Linux-Wireless.org/Install-HOWTO/WL/wl.install.sh - install script # # # # 10-Dec-03 amo Install Wireless PCI card ( Netgear WQG311 -- 802.11g ) # 19-Dec-03 amo Allow for 2.6.0 vs 2.4.23 kernels # 02-Jan-04 amo Added slackware/redhat switch # 04-Jan-04 amo Converted to stop|start format, iwconfig, iwpriv commands # 18-Apr-04 amo Renamed wl.install.sh to NetGear.WG311.Install.txt # 19-Apr-04 amo Install latest iwconfig ( beta27 ) # 20-Apr-04 amo Separate out the commands # 21-Apr-04 amo Separate out Wireless Config Variables # 05-May-04 amo Added Rate, Mode # 13-May-04 amo Renamed to wl.config for NetGear WG311 and new support LinkSys WMP54G # 19-May-04 amo Use Auto for WMP54G # 21-May-04 amo Added Mode comments # 24-May-04 amo Cleanup WEP keys # 27-May-04 amo Added Buffalo WLI-PCI-G54 # 04-Jun-04 amo Moved to Linux-Wireless.org # # # # # # # # Turn on IP_Forward on your AP # # ----------------------------- # # - enable packet forwarding on the Gateway # # echo "1" > /proc/sys/net/ipv4/ip_forward # # # # - turn on masquerade and add a firewall # # ./wl.install ap # # # # # Host IP# of this wireless device # IPADDR="192.168.1.12" # # # Wireless Gateway # GATEWAY="192.168.1.11" # # # Wired gateway to the internet ( when it's the AP for the wireless network ) # OUTSIDE="1.2.3.4" # # # Determine broadcast and network addresses from the IP address and netmask: # # BROADCAST=`ipmask $NETMASK $IPADDR | cut -f 1 -d ' '` BROADCAST=192.168.1.255 # # # NETWORK=`ipmask $NETMASK $IPADDR | cut -f 2 -d ' '` NETWORK=192.168.1.0 # # # Network Mask NETMASK="255.255.255.0" # # # # # ------------------------------------- # Define the Wireless Network Variables # ------------------------------------- # # # ESSID (extended network name) : My Network, any # - it is case SenSitiVe # - up to 32 alphanumeric characters # - Do not use spaces, dashes, slashes, or other non-alphanumeric characters. # # use the same ESSID and same Channel as the ESSID for your AP # ESSID="any" ESSID="Any-ESSID" # # # # ------------------------------------------------------------------- # # 13-May-04 amo Renamed to wl.config for NetGear WG311 and new support LinkSys WMP54G # # # # # ------------- # NetGear WG311 - Linux-based Access point in lieu of insecure commercial AP # ------------- MODE="Master" # # --------------- # LinkSys WMP54G --> null value --> not supported card options # --------------- INTERFACE="wlan0" NICK="WL2" RATE="" # # AP must be the same as AccessPoint # AP="xx:xx:xx:xx:xx:xx" # # http://www.Linux-Wireless.org/Install-HOWTO/WL/WEP-Key-HOWTO.txt # # KEY="0123-4567-89ab key 0123-4567-89ab-cdef-0123-4567-89" # KEY="key s:abcdefghij key s:abcdefghijklmnopqrstuvwxyz" # # use key[2] ( 104bit key ) as default KEY="0123-4567-89 key 0123-4567-89ab-cdef-0123-4567-89 [2]" # # # Using auto allows for essid to be defined too MODE="Managed" MODEGBA="" # # # End of User Configs # ------------------- # # ========================================================================= # # More details below # # ========================================================================= # # # 802.11 uses ESSID + AP instead of NWID # # NWID/Domain (cell identifier) : 89AB, 100, off # NWID="off" # # # 13-May-04 amo AP is Defined at the top ( netgear vs linksys ) # # Where is the AccessPoint to the internet # AP="xx:xx:xx:xx:xx:xx" # AP="any" # AP="off" # # An AP address equal to 00:00:00:00:00:00 means that the card # failed to associate with an Access Point # # # # Key Sizes # ---------- # http://www.iss.net/wireless/WLAN_FAQ.php # 5 char - 40 bit # 6 char - 48 bit # # # ===================================================================================== # WEP-Key-HOWTO # ------------- # http://www.Linux-Wireless.net/Install-HOWTO/WL/WEP-Key-HOWTO.txt # # # To View the Keys # ---------------- # iwlist ath0 key # # # NetGear WG311 supports 40/104 bit keys ( aka 64/128 bit WEP keys ) # # # madwifi-20040517 does NOT like "key open" -- define it as NULL and still driver fails # KEY="off" # # # madwifi-20030802 ==> key open allows for "iwscan list" works # KEY="open" # # # to disable WEP # KEY=off # # # in open mode no authentication is used and the card may also accept non-encrypted sessions # KEY="open" # # # You can list up to 4 WEP keys to choose from # -------------------------------------------- # 40-bit key aka WEP40 aka 64bit WEP key == 5 hex-chars == 10 ascii-chars # 104-bit key aka WEP104 aka 128bit WEP key == 26 hex-chars == xx ascii-chars # # # # Specifying different length strings will result in shorter WEP keys # # # # # # Define up to 4 WEP keys on one line # # ------------------------------------ # KEY="off key 0123-4567-89 key 0123-4567-89ab-cdef-0123-4567-89" # KEY="off key s:abcdefghij key s:abcdefghijklmnopqrstuvwxyz" # KEY=s:"any string with spaces" # # # Define 2 keys # # ------------- # KEY="0123-4567-89 key 0123-4567-89ab-cdef-0123-4567-89" # # # Define 3 keys, and use key[2] ( 104bit key ) as default # KEY="0123-4567-89 key 0123-4567-89ab-cdef-0123-4567-89 [2] key s:moreKeysHere" # # # # Define 3 keys # # ------------- # KEY="0123-4567-89 key 0123-4567-89ab-cdef-0123-4567-89" # KEY="key 0123-4567-89 key 0123-4567-89ab-cdef-0123-4567-89 key s:AnyKeyDef" # # # # Define the keys separately # KEY1="0123-4567-89" # KEY2="0123-4567-89ab-cdef-0123-4567-89" # KEY3="s:moreKeysHere" # KEY4="" # # # ===================================================================================== # # # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto # -------------- # # # Put this wireless node as the synchronization Master ( will act as the Access Point ) # MODE="Master" # # # Ad-Hoc network composed of only one cell and without Access Point # # -- creates "Cell" instead of AccessPoint # MODE="Ad-Hoc" # # # Managed node connects to a network composed of many Access Points # MODE="Managed" # # # For sniffing wireless traffic # MODE="Monitor" # # # For wireless clients # MODE="auto" # # ===================================================================================== # # # Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency) # FREQ="" # # # use the same ESSID and same Channel as the ESSID for your AP # For best use of the spectrum and sharing with neighbors # 802.11b networks should use channels 01, 06 or 11. # CHANNEL="1" # # # # 13-May-04 amo RATE is defined at the top ( netgear vs linksys ) # # 11b Rates: 1Mbps 2Mbps 5.5Mbps 11Mbps # 11g Rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps # # RATE="auto" # RATE="54MB" # RATE="24MB" # # # RTS="off" FRAG=off # # # 3 - 802.11g # 2 - 802.11b # 1 - 802.11a # # MODEGBA=3 # MODEGBA=2 # # # ====================== # Other Wireless Options # ====================== # http://inferno.slug.org/cgi-bin/wiki?Wireless_Opts # # # End of file