Re: problem with wireless encryption



On Wed, 30 Jan 2008 14:48:37 -0200
Marcelo Chiapparini <chiappa@xxxxxxxxx> wrote:

My problem is with encryption (WPA).

This is what I have:

/etc/network/interfaces (relevant lines to wireless link only):

#DHCP doesn't work very well with wpa here, so I use static
#addresses. Also, it's a way of taking out the equation some
#variables.
iface eth2 inet static
address 192.168.11.3 #my address
netmask 255.255.255.0
gateway 192.168.11.1 #my router's address

wireless-essid "my ssid"
up wpa_supplicant -ieth2 -c/etc/wpa_supplicant.conf -Bw -Dwext
down killall wpa_supplicant
allow-hotplug eth2


My wpa_supplicant.conf is just the output of wpa_passphrase (man
wpa_passphrase). Run it with your ssid and passphrase and copy the
output to wpa_supplicant.conf, so it looks like this:

/etc/wpa_supplicant.conf:

network={
ssid="my ssid"
#psk="whatevercrossesyourmindthebiggerthebetter"
psk=bigstringoflettersandnumbersgeneratedbasedonyourpassphraseandssid
}


Put the psk (the second and real one) in your router's settings.
That should be it. Check that you can get authentification from
the router by running wpa_supplicant like this:

wpa_supplicant -ieth2 -c/etc/wpa_supplicant.conf -Dwext -d

Once you convince yourself that it can connect to the router kill
it and bring your interface up the usual way.

I hope it works for you.




--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: problem with wireless encryption
    ... Marcelo Chiapparini wrote: ... Run it with your ssid and passphrase and copy the ... Once you convince yourself that it can connect to the router kill ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: dhclient and wpa_supplicant
    ... I've had reports of problems with certain Cisco ap's. ... > Note however that configuring an ap to hide it's ssid adds no real ... I set my AP to broadcast the ssid. ... To unsubscribe, ...
    (freebsd-questions)
  • Re: IPW3945 With Etch
    ... This is odd but it works. ... I don't know the technical reason whatsoever, ... "The default SSID is Wireless, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: netgear wg311 v2 and configuration
    ... I had no problem giving it an ssid. ... I have no idea whether setting "mediaopt ... Check out the new MSN Search! ... To unsubscribe, ...
    (freebsd-current)
  • Re: IPW3945 With Etch
    ... "The default SSID is Wireless, ... "The six dumbiest ways to secure a wireless LAN": ... Neighbours may connect to a broadcast ESSID even ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)

Loading