Lenny

From FON Wiki Beta

Jump to: navigation, search

You'll have to have Debian installed first. You can't install Lenny using WPA.

So far, Lenny has worked well for me using WPA. I set it up using the following method.

Install the needed software:

 apt-get update && apt-get install wpasupplicant

Now we will need to create the main file we'll need, the /etc/wpa_supplicant.conf

 wpa_passphrase MyPlace whatever_your_passphrase_is

You should get a result like this:

 network={
 ssid="MyPlace"
 #psk="whatever_your_passphrase_is"
 psk=fd50e5fb2b66493702338dd5175241d2e8dd7dd42fc292bbb7c56b01f9e9fdc0
 }

You can take out the "#" line as it's not needed.

This is now your /etc/wpa_supplicant.conf file. Copy/paste it or just do (as root):

 wpa_passphrase MyPlace whatever_your_passphrase_is > /etc/wpa_supplicant.conf 

Now you'll need to add the /etc/network/interfaces file:

 auto wlan0
 iface wlan0 inet dhcp
   wpa-driver wext
   wpa-conf /etc/wpa_supplicant.conf

Of course, check if you use wlan0 for your wireless card. Change the driver if you use madwifi instead.

This is it, now restart the network

 /etc/init.d/networking restart 

Finally check ifconfig as it should have worked. If not, check the logfiles

Personal tools