Re: problem with wireless encryption



On Thu, 2008-01-31 at 11:34 +0000, Jose Rodriguez wrote:
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.

Jose,

thank you very much for your suggestion. I will try the static address
method and let you know.

Regards

Marcelo


--
Marcelo Chiapparini
chiappa@xxxxxxxxx


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



Relevant Pages

  • Re: problem with wireless encryption
    ... iface eth2 inet static ... 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: RCPT TO problem
    ... list in Evolution in order to accomplish this. ... It sounds as though there may be a space problem in /tmp or /var? ... Marcelo Chiapparini ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Azureus and the TCP port 6881
    ... On Monday 30 January 2006 17:59, Marcelo Chiapparini wrote: ... >know how to open this port. ... Copyright 2006 by Maurice Eugene Heskett, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Pumping Gas in Oregon (WAS: Re: Osama Bin Laden Take Over List!)
    ... On Tuesday 22 August 2006 10:30, Marcelo Chiapparini wrote: ... It could be possible to use this list for what was created: Debian ... related questions *only*? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: GMT vs UTC
    ... Marcelo Chiapparini told: ... I am running etch. ... How can I know if the clock is set to GMT or UTC. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)