[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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@oi.com.br> 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@oi.com.br


Reply to: