wpa_supplicant and network-admin
Scott Blayney
scottblayney at gmail.com
Sun Apr 1 22:10:40 UTC 2007
Peter, thank you, thank you, thank you!
It looks like I had to make a change to my /etc/network/interfaces file.
Once I removed the essid entry and added the wpa-conf entry everything
worked as expected. I also added the ctrl_interface_group line
to /etc/wpa_supplicant.conf. After a week without wireless access I was
considering therapy, but your fix was much cheaper.
Scott
On Sun, 2007-01-04 at 10:00 -0400, Peter Whittaker wrote:
> On Fri, 2007-30-03 at 12:30 -0400, Scott Blayney wrote:
> > I have recently upgraded to 6.10 from 6.06. Under 6.06 I was able to
> > select a wireless network from the drop-down list, but this no longer
> > works. Has anyone been able to use wpa_supplicant successfully under
> > 6.10?
>
> I don't think I ever tried WiFi with 6.06; I did have it working with
> 6.10, using the config files below. With 7.04 (Feisty) beta, it works
> like a charm, without config files - I let Network Manager do the work,
> and all is well, and I'm using WPA2 (RSN) with AES on that network.
>
> For 6.10, my config files were the following:
>
> % cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
>
> auto eth0
> iface eth0 inet dhcp
>
> auto eth1
> iface eth1 inet dhcp
> wireless-essid mySSID # I don't this was necessary
> wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
>
> % cat /etc/wpa_supplicant/wpa_supplicant.conf
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=dialout
> network={
> ssid="mySSID"
> key_mgmt=WPA-PSK
> proto=WPA
> pairwise=TKIP
> group=TKIP
>
> psk=0f4a8f36f162d60701b4730fb484a40dce1cd85464de0ceb02d32f4b7b351903
>
> }
>
> The psk was generated using
>
> % wpa_passphrase mySSID "my very secret passphrase"
>
> You don't have to do this, you can put the passphrase in the
> wpa_supplicant.conf, just quote it:
>
> psk="my very secret passphrase"
>
> wpa_supplicant will then generate the passphrase itself. The on-line
> pages do say this is a performance hit, though, and generating the key
> yourself is quite easy.
>
> This - quoted or not, passphrase or actual key - was the biggest
> stumbling block I had to getting WPA working under 6.10: I had to ensure
> that I used the right datum on the client and the AP. In the end, the AP
> wanted the passphrase, unquoted, but called it the key, while
> wpa_supplicant can play either way, you just need to know which datum
> gets the quotes....
>
> pww
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20070401/1d31d7e1/attachment.pgp>
More information about the ubuntu-ca
mailing list