Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IPW2200 / WPA / wpa_supplicant - can't get it working!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Thu Dec 08, 2005 6:41 pm    Post subject: IPW2200 / WPA / wpa_supplicant - can't get it working! Reply with quote

Hi,

here is my next problem. Every time I try to activate the wireless card I get this message:

Code:
 * Starting eth1
 *   Starting wpa_supplicant on eth1 ...                                  [ ok ]
 *   Starting wpa_cli on eth1 ...                                         [ ok ]
 *     Failed to configure eth1 in the background


And here is my /etc/conf.d/net:

Code:
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60
config_eth1=( "dhcp" )


My /etc/wpa_supplicant.conf:

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
   ssid="<hidden>"
   scan_ssid=1
   proto=WPA
   auth_alg=OPEN
   psk="<hidden passphrase>"
   priority=5
}


I think my config files are correct. How can I fix this? The kernel is 2.6.14-gentoo-r4 and the ipw2200 is the newest version I've found in portage.


MorLipf
Back to top
View user's profile Send private message
monsieur
n00b
n00b


Joined: 01 Jul 2005
Posts: 16

PostPosted: Sun Dec 11, 2005 2:19 am    Post subject: Reply with quote

hi, I have the same kernel and driver.
Try to be less specific in the network part of wpa_supplicant, here is mine:
Code:

#cat /etc/wpa_supplicant.conf
[snip]
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
network={
        ssid="<ssid>"
        scan_ssid=1
        key_mgmt=WPA-PSK
        psk="<psk>"
        priority=5

This way wpa_supplicant will figure shit out by itself.
It works for both WPA-TKIP and WPA-AES, also I read somewhere that you cannot have an hidden SSID (not saying you have but think about it), when using WPA...

You will probably want "options hwcrypo=0" in your /etc/modules.d/ipw2200 too.

good luck
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2022
Location: Vegas Baby!

PostPosted: Sun Dec 11, 2005 9:25 am    Post subject: Reply with quote

monsieur wrote:
You will probably want "options hwcrypo=0" in your /etc/modules.d/ipw2200 too.


That should be "options ipw2200 hwcrypto=0"
Back to top
View user's profile Send private message
aries
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2004
Posts: 127
Location: Sliedrecht the Netherlands

PostPosted: Mon Dec 12, 2005 6:59 pm    Post subject: Reply with quote

Maybe this helps a bit.

My system config:
- hidden SSID
- WPA-PSK
- kernel 2.6.14-gentoo-r4

For hidden SSID's set: eapol_version=2.
It was difficult for me to setup wpa_supplicant.conf, until I discovered wpa_gui: this makes it very easy.
If you set "update_config=1" in wpa_supplicant.conf the chages are written to your config file.

With this settings my laptop automatically connect to the wireless router:

wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=2
fast_reauth=1

update_config=1

network={
        ssid="do_not_use"
        scan_ssid=1
        psk="abacadabra"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
}


/etc/conf.d/net -wireless part only -
Code:

config_eth1=( "dhcp" )
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60
dhcp_eth1="nodns nontp nonis -t -o 60 -N"
fallback_eth1=( "192.168.123.102" )


added this modules.autoload/kernel2.6:
Code:
ipw2200
ieee80211_crypt_wep
ieee80211_crypt_tkip
ieee80211_crypt_ccmp



inked net.eth1 andded it to runlevel default
Code:

cd /etc/init.d
ln -s net.lo net.eth1
rc-update add net.eth1 default
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Tue Dec 13, 2005 5:22 pm    Post subject: Reply with quote

Sweet that worked for me! Thanks!
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum