I got WPA working


Forum: Networking
Topic: I got WPA working
started by: jball

Posted by jball on May 19 2005,22:03
I'm a linux noob and struggled with DSL in general and WPA particularly.  All I wanted was Firefox, connecting to my WPA wireless network via a MN-720 ($20!).  Finally I got it figured out.  DSL brought life back to my old thinkpad (celeron 433).  Now my family has a convenient web station in the living room.

I'll outline my steps as other people seem to want WPA but no one has posted a HowTo yet.

* Get your wireless card working (lights on).  I'm using ndiswrapper.

* Download wpasupplicant_0.3.8-1_i386.deb
from
< http://fatboy.umng.edu.co/debian/pool/main/w/wpasupplicant/ >  or just google "wpasupplicant .deb"

* Download dsl-dpkg.dsl and install to mydsl

* dpkg -i wpasupplicant_0.3.8-1_i386.deb
## It gives message "wpasupplicant: applet not found" but seems to be installed ok

* make a wpa_supplicant.conf in /etc with my AP's settings

* wpa_supplicant -i wlan0 -d ndiswrapper

* netcardconfig to send dhcp broadcast.

Voila!

Posted by evilbstrd666 on June 04 2006,03:32
Sounds awesome, have to try it!
Posted by cbagger01 on June 04 2006,05:54
Can you create a MyDSL extension for WPA supplicant and submit it to the repository?

Depending on the complexity of the Debian Package (.deb), you may be able to create a MyDSL extension by using the "deb2dsl" conversion script.

Posted by ingegomez on June 08 2006,08:05
i wanna create a .dsl of the aircrack.deb but i dont know how... can you tellme???
(the aircrack.deb works fine in dsl, just need "dpkg -i aircrack.deb" and thats all, but i wanna do aircrack.dsl package for easy install)

Posted by cbagger01 on June 11 2006,03:48
In order to use deb2dsl, make sure that you boot up into a pristine DSL livecd environment.

Boot from the cd disk and type in the following commands:

dsl base norestore

Here is a PDF guide on the process.  In your situation, you would place the *.deb file in your home directory, IE: /home/dsl  and then use the dpkg -i command instead of the apt-get command, but you still need to "Enable APT" from the menu.  Otherwise it's pretty much by-the-book.

< http://distro.ibiblio.org/pub....ion.pdf >

Posted by jonam on June 19 2006,03:10
For those with Atheros (madwifi) cards, the command is:

wpa_supplicant -B -c/etc/wpa_supplicant.conf -iath0 -Dmadwifi

Precede this command with:

wlanconfig ath0 create wlandev wifi0 wlanmode sta

to set up ath0 and follow with the ifconfig commands to assign IP addresses to ath0.

Regards,

Jonam

Edit 20.06.06: After testing this for quite a while, it appears WPA supplicant is not stable under DSL 2.1b. I am unable to get pump to assign IP addresses to ath0 and the wireless connection usually times out within 10 mins or so. I can only manually assign an IP address to ath0 but again the connection times out and I have to do an "ifconfig ath0 down" and repeat the manual connection method using ifconfig to restore the link.

Posted by dmoc on July 05 2006,13:06
Could someone tell me how, in detail, they got wpa working? On my dsl v3 frugal installation I get several dependency problems on "dpkg -i wpasupplicant_0.3.8-1_i386.deb": libc6, libncurses5, libreadline5 and lssl0.9.8. First 2 later versions required while last two are not installed. What to do?
Posted by DSLfan_995 on Nov. 08 2006,01:27
Yes... I would like some details too. I dont understand how to get the lights working on your card. Plus how do i get dsl-dpkg.dsl when i can't get wireless anyways?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.