This part done on no internet slax machine
Copy the files you just downloaded onto the machine running slax that you want to use wireless on.
First create a folder to work in.
# mkdir /root/temp
Copy the module and source code to the working folder. (replace sda1 for your USB device)
# cp /mnt/sda1/* /root/temp
change to the temp folder
# cd /root/temp
Activate all the modules. You can just double click on them all if you like, or enter some cool command that activates them all together. # activate devel* etc ....
Unpack the tar file source code
# tar xvf wpa_supp*
Change to the unpacked directory
# cd wpa_supp*
List whats in the directory
Chould show the following
COPYING* README* patches/ src/ wpa_supplicant/
Change to wpa_supplicant directory
# cd wpa_supplicant
At this stage it is a good idea to read the README file. Thats how i was able to continue
The configure-for-slax command does not run because of the lack of a config file. The file called defconfig is a default config file and inside it you can read that support for ASCII characters is intact. They havn't disabled it.
Rename the defconfig file
# mv defconfig .config
Use the autoconf
# autoconf .config
Create a folder and install to the created folder
# make install DESTDIR=tmp/
Create your module from the newly created folder and give the module a name (whatever you like as long as it ends in .lzm)
# dir2lzm tmp/ wpa_supplicant-1.0-jay-i686.lzm NB:note space between tmp/ wpa_supp
Copy your newly created module to the desktop (or put it in your slax/modules folder)
# cp wpa_supplicant-1.0-jay-i686.lzm /root/Desktop/
Clean up by going back 2 folders and removing the entire wpa_supp folder recursively
# cd ../../
# rm -r wpa_supplicant-0.6.9
Now you need to create your wpa_supplicant.conf file
# kwrite /etc/wpa_supplicant.conf
Add the following info to the file, save it, close it. Edit the bold parts to suit your situation.
Thanks, will edit this when i get time. Of course once the module is in the modules folder this is not required.
The script also assumes that you have drivers for your card already sorted. Is this the case with you klang?
Realizing that the name of my wlan0 connection was not wifi0 (though this is interface is in the list reported by ifconfig) and simply selecting the correct name (ath0 as reported by iwconfig) helped a lot.
I simply did a
perl -p -i -e 's|wifi0|ath0|' wifi.sh resetwifi.sh resetdhcp.sh dhcp.sh
Of course, this could have been done in wpa-install.sh initially (I did, but selected the wrong interface)
Your last post here saved me a lot of time, as I was connected 5 minutes after reading it.
So, in summary, Running Slax off a pendrive on an IBM X40 with the original AR5212 wifi card works!
I am absolutely novice and using Tenda W311U wifi usb adapter. It works in XP and Windows7. I have followed your step by step script, I am not clear as to when and where to load Tenda drivers. I think that is the reason Slax is not detecting wifi adapter. How to I do that ?
I am running Slax on old COMPAQ Evo N410c machine. Thanks for your help.
I can't find any linuix drivers for this device. Can you please find out the chipset that the Tenda W311U uses ... most probably a ralink RT2870 chipset. After finding this the next step would be to find and compile the correct drivers for it.
Bill you mean the instructions are wrong? I just use the script and havn't looked back at this thread for a long time.
no not really,
"wpa_passphrase" returns a 32Byte Hex-String that works with "wpa-supplicant-0.5.10"
and some older versions, maybe "wpa_supplicant-0.6.9" also accepts it as plain-text,
but however its an easier solution then compiling wpa_supplicant and it also provides
some protection of the passphrase
Hi every body...
I try and i try to connect my Slax (on HDD) to my WPA2-PSK protected wifi.
I finaly find a simple way...
if Wifiyouj is the SSID and PassYouj is the pass phrase
I install wpasupplicant and wlassistant (last version)
I open a terminal and type:
We are looking for some help to make a few changes to WPA Supplicant. Just need to find out how to break out when it keeps trying to connect after an AP is out of range. Would you or anyone you know or any place to find suggest answers?