Well mine works, so if you want some tips on how to get it working, let me know. Basically you just need to download the package for madwifi and then create your own startup script.
What my script does is modprobe the driver, at which point the driver automatically configures the device.
Then the script does a "wlanconfig ath0 destroy" to delete the device that was just created.
Then it recreates the device and runs the dhcpd daemon. The reason it does this is because I'm not sure how to get dhcpd to start AFTER my script runs, so I stopped it from starting automatically using the system rc scripts and just put the start script into MY atheros start-up script.
Also, you configure your IP settings inside of your rc.inet1.conf file because when you create the device using the wlanconfig command, the rc.inet1 script automatically puts in the IP information for the new device.
Here is the code.
# Load atheros driver
# Destroy faggy device modprobe creates...
wlanconfig ath0 destroy
# Create ath0 device
wlanconfig ath0 create wlandev wifi0 wlanmode ap
# Configure device
iwconfig ath0 essid "da_wireless" nick "routzor" key "RANDOM_STUFF"
# Start the DHCP Server:
if [ -x /etc/rc.d/rc.dhcpd ]; then
. /etc/rc.d/rc.dhcpd start
I guess I don't know if you are trying to use it as an AP, but that is what my situation is. I've got it setup in master mode, as an access point for other computers.