# # Original File # ============= # http://www.Linux-Sec.net/Wireless/Install-HowTo/other-config-files/ # # # /etc/sysconfig/network-scripts/ifcfg-ath0 # # # To Reload Changes # ------------------ # ifdown ath0 # ifup ath0 # # # # 11-Dec-03 amo Install Netgear WG311 ( 802.11g ) - uses the atheros chips # use madwifi drivers # 21-Jun-04 amo Added WPA option # 27-Jun-04 amo Added more options # 13-Aug-05 amo Added STARTMODE in comments # # # # Notice its ath0 NOT eth0 # ======================== # DEVICE=ath0 # # BOOTPROTO=static # BOOTPROTO=dhcp # ONBOOT=yes # # STARTMODE=onboot # # # Using Static IP# # IPADDR=192.168.1.11 # BROADCAST=192.168.1.255 NETMASK=255.255.255.0 NETWORK=192.168.1.0 # # USERCTL=yes # # Notice the type # =============== # TYPE=Wireless # WIRELESS=yes # # # MAC Address of device ( ifconfig -v ) HWADDR='xx:xx:xx:xx:xx:xx # # # Arbitrary ESSID # WIRELESS_ESSID=xxxxx # # MODE = Managed # WEP key # # KEY=XXXXXXXXXX # CHANNEL=11 # # # PEERDNS=no # IPV6INIT=no # # # Turn on WPA # --------------- # WPA=y # # # End of file