Replacing the Broadcom Wifi with the Atheros Wifi card
Submitted by mla on Tue, 04/01/2008 - 16:08
After opening the router and loosening the builtin broadcom card from the supporting piece of sponge it was easy to remove the WiFi card. I plugged the antenna cable into the Atheros card before placing the card into the PCI-mini slot, because otherwise the antenna cable is too short to plug it in sithout using too much force. The tiny plug and socket look rather fragile and I was afraid of breaking it. I plugged the cable in the socket which is the second if counted from the left edge of the card, when the contacts point in your direction.
<place image here>
I installed the OpenWRT software on the router and enabled WiFi by putting the following lines into the /etc/config/wireless file.
config wifi-device wifi0
option type atheros
option channel 7
# REMOVE THIS LINE TO ENABLE WIFI:
config wifi-iface
option device wifi0
option mode ap
option ssid OpenWrt
option encryption psk2
option key XXXXXXXXXXXXXXXXXXX
After executing `wifi' on the command line, I could connect to the router, but didn't get any IP adress. Well my DHCP server is not the router, because I like to have DNS entries for configured interfaces, and therefore I use ISC DHCP together with dynamic DNS updates.
