I'm trying to access a WPA encrypted network. The EXTREMELY EXCELLENT "Wireless Networking with VectorLinux 5 and above" How-To states the following:
wpa_supplicant works by reading data from a configuration file, usually called wpa_suppplicant.conf and placed in the /etc directory.
The configuration file can sometimes be very complex, depending on the router's or access-point's configurations.
You can find a file with exaples of what the configuration file should look like by looking at the wpa_supplicant documentation, buried in /usr/doc/wpa_supplicant-version/doc/docbook/wpa_supplicant.conf.5. Its a pitty no man-page was offered, but then the wpa_supplicant --help command does have a few tips on how it should be used.
This is what a simple wpa_supplicant.conf file looks like:
Replace xxxxxx with the correct values. The psk parameter is where you put your key or passphrase.
The pairwise and group settings depend on what type of encryption you have set for WPA/WPA2 on your router, but aren't always necessary.
Save the settings to /etc/wpa_supplicant.conf and then type this command to make sure the file can't be read by normal users:
chmod 600 /etc/wpa_supplicant.conf
That will keep your encryption key safe from regular users.
There is no /etc/wpa_supplicant.conf file. Do I create this file and copy the above referenced code?