Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: problem with wireless encryption

From: Jose Rodriguez <josec.rodriguez(at)gmail.com>
Date: Thu Jan 31 2008 - 06:34:20 EST


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
}
Do you need help?X

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@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Jan 31 06:37:08 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 06 2008 - 23:19:15 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library