Do either of you know of a way for me to set up a wireless client so that it will attempt to connect from a prioritized list of networks, each of which has its own WPA key? Each of them is sitting in Seahorse, in fact.
wicd would be one way to do that, of course--you tell it which network to connect to automatically and it will always choose that one first. Another way to do it would be to write a custom script, which would involve figuring out how to connect to your WPA network from the command-line.
I have from time-to-time heard about WPA Supplicant, as in "Well, you need ..."
I know it is installed on this machine, so how do I find it in order to configure it? Is this a terminal-Vim operation? Fine if it is but I wish I knew. The command-line does not intimidate me, I just need to know what I am doing when I get there!
A good guide to connecting manually is here. Basically to use wpa_supplicant, you have to write a file at /etc/wpa_supplicant.conf for the network that you want to connect to; in this file, you tell wpa_supplicant the passphrase and other settings of the network. Then you run a command like:
Code:
sudo wpa_supplicant -w -D<something> -i<interface> -c/etc/wpa_supplicant.conf
and wpa_supplicant negotiates the authentication and authorization to the network for you. After that, you get an IP address (if you use dynamic IPs) with dhclient, and you're online.
You can try writing a configuration file for your network and seeing if you can connect that way. It can be complicated to figure out all of the settings that you need to enter for your network, and you probably won't get it on the first or second tries. But fortunately wpa_supplicant gives good output when you run it to help you figure out what's going wrong (run with the argument '-vvv' for extra-verbose output).
As per imdano's suggestion, you may want to try changing your WPA password to something short and simple, like "password"--no spaces or weird characters--just to see whether you connect that way. That would help determine whether the length of your passphrase is a problem. Wikipedia does say:
The passphrase may be from 8 to 63 printable ASCII characters or 64 hexadecimal digits (256 bits)
so it may be the case that the whole problem is simply that you need to make your passphrase one character shorter.
Bookmarks