WG511T Config with Gentoo¶
17/10/05 - Matthew Tunstall
Netgear WG511T Configuration with Gentoo Linux 2.6.13-gentoo-r3¶
Configuration for 128bit WEP @ 54Mbps
1. Required Kernel Options¶
2. Packages Required¶
Masked packages used by adding the following to /etc/portage/package.keywords
The keywords for the packages indicate that the system will use the defined version or newer. This enables the packages to be kept up to date in the standard update procedure.
3. Loading Modules¶
The madwifi driver includes several modules that need to be loaded in order for the hardware to work. To have these modules automatically load at startup they should be added to /etc/modules.autoload.d/kernel-2.6
Add the following:
4. Config File Details¶
The WG511T uses an Atheros chipset. This means it will appear to the system as ath0 (or similar) rather than eth1 (assuming eth0 is a wired connection). Another init script needs to be added for the card. The following steps indicate how to do this.
ln -s net.lo net.ath0
rc-update add net.ath0 default
Additional variables need adding to /etc/conf.d/net to describe the Access Point and Connection options. These are detailed below.
iface_ath0="dhcp" essid_ath0="Insert ESSID Here" modules=( "iwconfig" ) #Prefer iwconfig over wpa_supplicant \key_'Insert ESSID Here'=" 'Insert 128bit WEP HEX Key'  enc open" prefferred_aps=( "'Insert ESSID Here'" )
Other options can be added to the above configuration, but will work with the minimal setup detailed.
- Assume the following:
Access Point Setup
WG511T will be allocated an IP via DHCP
Correct ESSID and WEP Key in config files
Upon reboot the card should detect an Access Point matching the ESSID and connect, obtaining an IP in the process. A ping test will confirm the connection.
ping -c 3 www.google.com
A correct response will include the transmit times on 3 connection attempts.
ath0 should also show up in ifconfig and iwconfig.
Booting up there is a long wait as the unused eth0 wired connection tries to obtain an IP before giving up. Something will need to be done about the timeout to enable a swift bootup.