SourceForge.net Logo

Appendix F. APPENDIX: Patch file and Configuration files for Secure Wireless

Abstract

This appendix contains script and .conf files for madwifi.

F.1. /etc/sysconfig/network/ath0.conf

# GPL $Id: ath0.conf,v 1.3 2005/03/13 17:38:56 cvonk Exp $
# run-time configuration file for wireless interface (wifi0)

BOOTPROTO=static
IPADDR=10.0.2.1
NETMASKBITS=24
WIRELESS_KMODS="wlan.ko ath_hal.ko ath_rate_sample.ko wlan_scan_ap.ko ath_pci.ko wlan_wep.ko wlan_xauth.ko wlan_tkip.ko wlan_ccmp.ko"
WIRELESS_MODE=Master # also set when loading ath_pci
WIRELESS_CHANNEL=1
WIRELESS_KEY="your128bithexkey"
WIRELESS_ESSID="Fabeltjesland"
WIRELESS_MADWIFI_MODE=3           # 0=auto, 1=11a, 2=11b, 3=11g
WIRELESS_MADWIFI_AUTHMODE=2       # 1=open 2=sharedkey 3=802.1x
WIRELESS_MADWIFI_TURBO=1          # 1=enable 802.11g turbo mode
WIRELESS_ATHEROS_REGDOMAIN=0      # 0=any 16=FCC(USA)
WIRELESS_ATHEROS_COUNTRYCODE=840  # 840=USA

Example F.1. /etc/sysconfig/network/ath0.conf