Hi In the docs under 4.b. WPA Supplicant of http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 there is a tiny error: Code Listing 2: configure /etc/conf.d/net for wpa_supplicant Zitat: # It's important that we tell wpa_supplicant which driver we should # be using as it's not very good at guessing yet wpa_supplicant_eth0="-Dmadwifi" but it should be wpa_supplicant_eth0="-Dmadwifi -c/etc/wpa_supplicant.conf" because without this option wpa_supplicant uses /etc/wpa_supplicant/wpa_supplicant.conf, and further down it describes the configuration of /etc/wpa_supplicant.conf Zitat: Code Listing 3: an example /etc/wpa_supplicant.conf so starting /etc/init.d/net.ath0 gets wrong (if there is a /etc/wpa_supplicant/wpa_supplicant.conf ) or no information (if there is only the afterwards created /etc/wpa_supplicant.conf) about the AP's --------------- Furthermore it COULD be that if you use http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 --> Configuring your Network under Zitat: Manually setting IP information for eth0 config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" ) routes_eth0=( "default gw 192.168.0.1" ) brd should be broadcast. I had brd for my wireless (ath0) and I THINK it didn't work for a static IP until i changed it to broadcast ... it did work for my ethernet (eth0) with brd though ...
Wrong, that is not how you're supposed to setup conf.d/net; you don't specify the commandline options like that in the file. Also, wpa_supplicant looks in both /etc/wpa_supplicant/ and in /etc, so there's no need to prefer one over the other. The given example is fine the way it is.