Whats the deal with wpa_supplicant.conf
I'm trying to connect to a wpa wireless network via linux command line. As many of you know, this is needlessly complex.
I am using a BackTrack 5 CD with an Alfa networks USB wireless card. The interface is named wlan0. After browsing around for several hours, it seems the best way to establish a connection is via the wpa_supplicant command. The problem is there are lots of different ways to write a config file, but no website explains how to actually build one. One common method is to use the wpa_password command. This generally creates the following file. Code:
network={ Many websites also tell me to include the following lines Code:
ap_scan=1 the ctrl_interface is interesting because it always seems to reference /var/run/wpa_supplicant regardless of the website, but that file doesn't even exist on my machine. Other information that is often included but never explained are the following lines. Code:
scan_ssid=0 Anyway, regardless of the config file I use the result is always the same. Code:
Trying to associate with <My MAC address> (SSID="mynetwork" freq=2462 MHz) A lot of websites also suggest editing startup scripts and rebooting the computer, but since this is a live disk, that won't work. If anyone could explain any part of what I just talked about, I would be ecstatic. |
Hi svenxix, Welcome to LQ. Here is an example file with explanations.
http://hostap.epitest.fi/gitweb/gitw...upplicant.conf Good luck. ;-) |
The crunchbang forums have an interesting howto on wpasupplicant here... http://www.crunchbanglinux.org/forums/post/171244/
|
All times are GMT -5. The time now is 06:16 PM. |