Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant, hidden ssid, WPA2-PSK-TKIP troubles [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
that_guy
n00b
n00b


Joined: 09 Jul 2005
Posts: 30
Location: Berkeley, CA

PostPosted: Wed May 17, 2006 6:27 am    Post subject: wpa_supplicant, hidden ssid, WPA2-PSK-TKIP troubles [solved] Reply with quote

I've been trying for a while now to get my wireless working, but to no avail. I've installed wpa_supplicant, and the ipw2200 driver, but I'm sure the problem lies somewhere in my configs. I know this because, a) I can connect to other, open, networks without issue, and b) I can connect to the router in question when I've removed the TKIP-PSK limitation and enabled broadcasting the SSID. (Of course, I could be completely missing something, so feel free to challenge me on this...) I've read through /etc/conf.d/net.example and /etc/wpa_supplicant.conf.example and still don't see why it's not working. I'd appreciate some suggestions on my configuration, especially because I'm having trouble seeing how wpa_supplicant, dhcp, and the init script interact in providing an connection.

Here are the relevant configs:
(eth0 is Wired LAN, eth1 is Wireless card)

/etc/conf.d/net:
Code:

config_eth0=( "dhcp" )
dhcpcd_eth0="-t 15"

dhcp_config="nodns nontp nonis"
config_eth1=( "wpa_supplicant" )
dhcpcd_eth1="-t 30"
modules_eth1=( "!iwconfig" "wpa_supplicant" )
wpa_supplicant_eth1="-Dipw"
wpa_supplicant_eth1="-Dwext"

wpa_timeout_eth1=30


/etc/wpa_supplicant.conf
Code:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=2

network={
   ssid="my ssid"
   scan_ssid=0
   priority=5
   proto=WPA2
   key_mgmt=WPA-PSK
   pairwise=TKIP
   group=TKIP
   psk="my ascii psk with tons of ]- and {-type symbols in it"
}


Thanks for any help you can provide!


Last edited by that_guy on Thu May 18, 2006 12:51 am; edited 1 time in total
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed May 17, 2006 8:53 am    Post subject: Reply with quote

Do one thing at a time - broadcast the SSID (no real benefit in hiding it btw) and enable PSK
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
that_guy
n00b
n00b


Joined: 09 Jul 2005
Posts: 30
Location: Berkeley, CA

PostPosted: Wed May 17, 2006 7:32 pm    Post subject: Reply with quote

Still doesn't work, even with the Broadcast SSID turned off. I've also simplified my PSK just in case for the time being.
Code:
iwlist eth1
says eth1 is unassociated, but gives the SSID of my router. Also, dhcpcd times out when trying to get an IP, probably because of the encryption.

What's wrong with my config?
Back to top
View user's profile Send private message
that_guy
n00b
n00b


Joined: 09 Jul 2005
Posts: 30
Location: Berkeley, CA

PostPosted: Thu May 18, 2006 12:50 am    Post subject: Reply with quote

OK, I got it working. The problem was that I didn't have any other parameters in the
Code:
wpa_supplicant="-Dipw"
line of /etc/conf.d/net. Changing it to
Code:
 wpa_supplicant="-Dipw -c/etc/wpa_supplicant.conf -ieth1"
fixed it for me. I also removed the wext driver from being used, though I don't think that did anything for me. Thanks for the help.
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