How to configure wireless in gentoo?
- by Absolute0
I have a single access point which i want to connect to on interface ra0, when I run /etc/init.d/ra0 restart I get the following output:
gentoo ~ # /etc/init.d/net.ra0 restart
* Starting ra0
* Configuring wireless network for ra0
Error for wireless request "Set Mode" (8B06) :
SET failed on device ra0 ; Network is down.
* ra0 does not support setting the mode to "managed"
Error for wireless request "Set Encode" (8B2A) :
SET failed on device ra0 ; Network is down.
* ra0 does not support setting keys
* or the parameter "mac_key_roswell" or "key_roswell" is incorrect
Error for wireless request "Set Mode" (8B06) :
SET failed on device ra0 ; Network is down.
* ra0 does not support setting the mode to "managed"
* WEP key is not set for "BAY_WiFi" - not connecting
* Couldn't associate with any access points on ra0
* Failed to configure wireless for ra0
when I run iwlist ra0 scan I get "roswell" and "bay-wifi" I want to connect to only roswell. Here is my /etc/conf.d/net:
modules= ( "iwconfig" )
key_roswell="ffff-ffff-ff" # no s: means a hex key
preferred_aps=( "roswell" )
what am i doing wrong?