Madwifi configuration with PKA under Gentoo Linux 2007.0
Simple madwifi configuration with PKA under Gentoo 2007.0:
# emerge madwifi network drivers and wpa supplicant
emerge net-wireless/madwifi-ng
emerge net-wireless/madwifi-ng-tools
emerge net-wireless/wpa_supplicant
# update configuration, soft links and run level scripts as follows
cat /etc/conf.d/net
dns_search_lo=”your.domain.name.com”
dns_domain_lo=”your.domain.name.com”
dns_servers_lo=”your.dns.server.ip.1 your.dns.server.ip.2″
essid_ath0=”your.wireless.network.essid”
modules=( “wpa_supplicant” )
wpa_timeout_ath0=60
cat /etc/conf.d/net.ath0
config_ath0=( “your.machine.ip netmask your.netmask brd your.broadcast.ip” )
routes_ath0=( “default via your.wireless.router.ip” )
ls -l /etc/init.d/net*
lrwxrwxrwx 1 root root 6 Nov 21 18:24 /etc/init.d/net.ath0 -> net.lo*
-rwxr-xr-x 1 root root 30522 Nov 24 14:50 /etc/init.d/net.lo*
rc-update show
net.ath0 | default
net.lo | boot
cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
## user must belong to ‘wheel’ group
ctrl_interface_group=wheel
network={
ssid=”your.wireless.network.essid”
## change scan_ssid to your network channel
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
priority=5
psk=”your.wireless.network.passphrase”
}
cat /etc/modules.autoload.d/kernel-2.6
ath_hal
ath_pci
wlan