# # -------------------------------------------------------------------------- # These Variables are read ( sourced ) from wl.install.sh # # ------------------------------ # Config File for LinkSys WMP54G v2 wl.config.LinkSys.WMP54G # ------------------------------ # -------------------------------------------------------------------------- # # # Original File # ------------- # http://www.Linux-Sec.net/Wireless/Install-HowTo/WL/wl.HOWTO.txt - help docs # http://www.Linux-Sec.net/Wireless/Install-HowTo/WL/wl.config - config file # http://www.Linux-Sec.net/Wireless/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 Added Both 40bit and 104bit key info # # # # # # # 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.11" # # # 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 # ------------- # madwifi-20030802 ==> works except for tag problem # # NetGear WG311 does NOT seem to support Auto nor Ad-hoc modes # ------------------------------------------------------------ # NICK="WL1" # INTERFACE="ath0" # RATE=auto # AP="xx:xx:xx:xx:xx:xx" # # madwifi-20040517 does NOT like "key open" # KEY="" # # madwifi-20030802 ==> key open allows for "iwscan list" works # KEY="open" # # MODE="Master" # MODEGBA=3 # # # --------------- # LinkSys WMP54G --> null value --> not supported card options # --------------- # LinkSys WMP54G does not seem to support Master mode # --------------------------------------------------- INTERFACE="wlan0" NICK="WL2" RATE="" AP="xx:xx:xx:xx:xx:xx" # # MODE="Master" - causes fatal error # # Using auto allows for essid to be defined too MODE="auto" MODEGBA="" # # # ------------------------------------------------------------------- # # 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 # # WG311 supports 40/48/128 bit keys # # # KEY=off to disable # # in open mode no authentication is used and the card may also accept non-encrypted sessions, # # KEY="open" # KEY="02468" # # # NetGear WG311 Supports 40bit, 104bit xxxbit Encryption # ====================================================== # # "-" between hex digits are optional and cosmetic for human readability # # 40-bit key ( aka 64bit WEP ) ( 10-hex-char or 5-alphanumeric-character-string ) # ---------- # KEY="0123-4567-89" # KEY="s: abcde" # # # 104-bit key ( aka 128bit WEP ) ( 13-hex-char or 26-alphanumeric-character-string ) # ----------- # KEY="0123-4567-89ab-c" # KEY="s: abcdefghijklmnopqrstuvwxyz" # # # ???-bit key ( aka 256bit WEP ) ( 26-hex-char or ??-alphanumeric-character-string ) # KEY="0123-4567-89ab-cdef-0123-4567-89" # # # # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto # -------------- # # the node is the synchronisation master or act as an 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" # # Monitoring mode for sniffing the 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