Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-30-2005, 12:56 PM
|
#1
|
|
Member
Registered: Oct 2004
Posts: 309
Rep:
|
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.
|
|
|
|
12-30-2005, 12:57 PM
|
#2
|
|
Member
Registered: Oct 2004
Posts: 309
Original Poster
Rep:
|
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.
|
|
|
|
12-30-2005, 01:09 PM
|
#3
|
|
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Rep:
|
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
|
|
|
|
12-30-2005, 01:22 PM
|
#4
|
|
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694
Rep:
|
merged the two
|
|
|
|
12-30-2005, 03:25 PM
|
#5
|
|
Member
Registered: Oct 2004
Posts: 309
Original Poster
Rep:
|
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.
Last edited by slinky2004; 12-30-2005 at 03:32 PM.
|
|
|
|
12-30-2005, 03:42 PM
|
#6
|
|
Senior Member
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126
Rep:
|
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.
|
|
|
|
12-30-2005, 04:45 PM
|
#7
|
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178
Rep:
|
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.
|
|
|
|
12-30-2005, 07:07 PM
|
#8
|
|
Member
Registered: Oct 2004
Posts: 309
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:19 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|