I added
Code:
if_ath_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
to /boot/loader.conf
I then tried to compile these drivers into the kernel:
Code:
device ath # Atheros IEEE 802.11 wireless network driver
device ath_hal # Atheros Hardware Access Layer
device ath_rate_sample # John Bicket's SampleRate control algorithm.
device wlan # 802.11 support (Required)
device wlan_wep # WEP crypto support for 802.11 devices
device wlan_ccmp # AES-CCMP crypto support for 802.11 devices
device wlan_tkip # TKIP and Michael crypto support for 802.11 devices
Rebuilding the kernel failed with a compile error regarding ath_hal. See: ath_hal error (I am not yet allowed to post the URL pointing to that thread).
So I then tried to load the necessary modules by hand but I got:
Code:
can't load ... : File exists.
I added:
Code:
ifconfig_ath0="WPA DHCP
"
to /etc/rc.conf
I tried:
Code:
/etc/rc.d/netif start
Starting wpa_supplicant.
ELOOP: remaining socket: sock=5 eloop_data=0x28407140 user_data=0x2840e040 handler=0x8069f40
Starting Network: lo0 ath0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:c0:a8:a9:c6:96
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
wpa_supplicant[97512]: Failed to initialise driver interface
/etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant
I added this to /etc/wpa_supplicant:
Code:
network={
ssid="my network name"
key_mgmt=WPA-PSK
psk=" my password"
}
I added this to /etc/rc.conf:
Code:
ifconfig_ath0="WPA DHCP"
I'm stuck. Any ideas?