LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   need help with wpa_supplicant (http://www.linuxquestions.org/questions/linux-software-2/need-help-with-wpa_supplicant-397916/)

slinky2004 12-30-2005 01:56 PM

using wpa_supplicant?
 
i havent been able to find a good howto on using wpa_supplicant except for one on the ubuntu forums, which didn't help me much. i'm currently having 2 problems with it:

1. how do i use it? do i just run it as a daemon and then use my wireless_tools and dhcpcd normally or do i have to use dhcp, scan for waps, etc. through wpa_supplicant somehow? i've been using "wpa_supplicant -B -i eth2 -c /etc/wpa_supplicant.conf -D ipw -w dd" and it seems to work, i'm not sure what the -w dd is for, but it wont run without it.

2. i dont know how to setup wpa_supplicant.conf for my particular wpa setup. i'm using wpa2 with TKIP+AES encryption. my essid isn't being broadcast, but i dont think this matters because i have to specify the essid with iwconfig anyway. i've set wpa_supplicant.conf up like this:
Quote:

network={
ssid="slinky"
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP
psk="foobarslinkypasswd"
}
i can see the mac address of my router in iwconfig when i set it to my essid and channel, but i cant make a real connection to it like i could if it was unsecured. i cant use any dhcp either.

i've also tried setting the router up to just regular wpa with tkip encryption, and it did the same thing. i set my wpa_supplicant.conf like this:
Quote:

network={
ssid="slinky"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
psk="foobarpasswd"
}
i'd appreciate any help i can get with this.

slinky2004 12-30-2005 01:57 PM

need help with wpa_supplicant
 
i havent been able to find a good howto on using wpa_supplicant except for one on the ubuntu forums, which didn't help me much. i'm currently having 2 problems with it:

1. how do i use it? do i just run it as a daemon and then use my wireless_tools and dhcpcd normally or do i have to use dhcp, scan for waps, etc. through wpa_supplicant somehow? i've been using "wpa_supplicant -B -i eth2 -c /etc/wpa_supplicant.conf -D ipw -w dd" and it seems to work, i'm not sure what the -w dd is for, but it wont run without it.

2. i dont know how to setup wpa_supplicant.conf for my particular wpa setup. i'm using wpa2 with TKIP+AES encryption. my essid isn't being broadcast, but i dont think this matters because i have to specify the essid with iwconfig anyway. i've set wpa_supplicant.conf up like this:
Quote:

network={
ssid="slinky"
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP
psk="foobarslinkypasswd"
}
i can see the mac address of my router in iwconfig when i set it to my essid and channel, but i cant make a real connection to it like i could if it was unsecured. i cant use any dhcp either.

i've also tried setting the router up to just regular wpa with tkip encryption, and it did the same thing. i set my wpa_supplicant.conf like this:
Quote:

network={
ssid="slinky"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
psk="foobarpasswd"
}
i'd appreciate any help i can get with this.

microsoft/linux 12-30-2005 02:09 PM

Ok, we ask that people not double post. It's in the rules www.linuxquestions.org/rules.php.
Also, why did you post the same question twice, in the same forum?

Reported for closure

rshaw 12-30-2005 02:22 PM

merged the two

slinky2004 12-30-2005 04:25 PM

sorry about that, something went wrong when i posted it and i had to login twice or something, i dunno how it got double posted. i thought a delete thread/post feature came standard with vbulletin, why is it disabled? also, i'd like it if this doesn't completely degenerate into a discussion on double posts, vbulletin, board moderation, etc. so i can get some help with my problem.

Cogar 12-30-2005 04:42 PM

I would also like to see an answer with this. It seems there is no complete information anywhere regarding getting WPA to work with Linux. If you are lucky and have a distro like SUSE 10.0, it will set it up for you. Other people have enough knowledge that they can do most everything themselves and all they need is a hint to get things running. Everyone else is stuck with undocumented trial-and-error methods.

Poetics 12-30-2005 05:45 PM

I never had a problem with wpa, following the guide on the wpa_supplicant website. I've never touched iwconfig since setting it up -- my SSID is configured in my config file and it associates automatically. I merely ran "wpa_supplicant -e /etc/wpa_supplicant -i eth1 -Bw" (For some reason I didn't have to denote that I was using an ipw2200). Only time it didn't work was when my settings and the settings on my router didn't match.

slinky2004 12-30-2005 08:07 PM

dont you have to set your wireless channel and stuff? i thought all wpa_supplicant did was give you the ability to decode the signal.


All times are GMT -5. The time now is 11:46 PM.