Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless connection problems [Solved]
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
ColdFusion
n00b
n00b


Joined: 06 Jan 2004
Posts: 48

PostPosted: Thu Aug 24, 2006 11:29 pm    Post subject: Wireless connection problems [Solved] Reply with quote

I've just bought a new laptop with an Intel Pro Wireless 2200 wifi card and I can't get it to connect to my wireless router. I have the drivers loaded etc, and wpa_gui shows the laptop associating with the router, but it almost instantly disconnects and just keeps going round in circles.

I've tried using static IP addresses and DHCP, but the laptop still never gets an IP address, it just associates and disconnects.

Here is my /etc/conf.d/net (eth1 is the wireless interface):

Code:


modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60

config_eth0=( "10.0.0.5 netmask 255.0.0.0 brd 10.255.255.255" )
routes_eth0=( "default gw 10.0.0.2" )

#config_eth1=( "10.0.0.6 netmask 255.0.0.0 brd 10.255.255.255" )
#routes_eth1=( "default gw 10.0.0.2" )

config_eth1=( "dhcp" )
dhcp_eth0="nodns nontp nonis"



and here is 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="HOME_AP"
 proto=WPA
 key_mgmt=WPA-PSK
 pairwise=TKIP
 psk="********"
}




This is the first time I have tried to get wifi working in Linux and it's driving me mad, so any help will be greatly appreciated.

Thanks,
ColdFusion


Last edited by ColdFusion on Fri Aug 25, 2006 4:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
ColdFusion
n00b
n00b


Joined: 06 Jan 2004
Posts: 48

PostPosted: Fri Aug 25, 2006 10:49 am    Post subject: Reply with quote

OK, if I switch off WPA on the router (i.e. allow anyone access), it connects straight away and works like a charm. Obviously, I dont want to leave my router unsecured though, so I still need to get WPA working.

Any Ideas?
Back to top
View user's profile Send private message
ColdFusion
n00b
n00b


Joined: 06 Jan 2004
Posts: 48

PostPosted: Fri Aug 25, 2006 4:26 pm    Post subject: Reply with quote

Well somehow, it' all working now. Not entirely sure what I did, but I think I had left out some options in my kernel config which were required for WPA.
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