Linux - SoftwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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:
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:
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:
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.