LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-30-2005, 12:56 PM   #1
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Rep: Reputation: 30
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.
 
Old 12-30-2005, 12:57 PM   #2
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
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.
 
Old 12-30-2005, 01:09 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
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
 
Old 12-30-2005, 01:22 PM   #4
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
merged the two
 
Old 12-30-2005, 03:25 PM   #5
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
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.
 
Old 12-30-2005, 03:42 PM   #6
Cogar
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: Reputation: 52
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.
 
Old 12-30-2005, 04:45 PM   #7
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
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.
 
Old 12-30-2005, 07:07 PM   #8
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa_supplicant (AGAIN) gbergeson Linux - Laptop and Netbook 10 08-03-2005 08:28 AM
wpa_supplicant/ndiswrapper seifenblasen Linux - Laptop and Netbook 3 03-24-2005 12:40 PM
wpa_supplicant problem arunsri Linux - Wireless Networking 2 03-15-2005 09:10 PM
WPA_Supplicant Fraudulent Linux - Wireless Networking 0 10-04-2004 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration