Small Linux Laptop Forum

Elonex One T & One T+, CnM Minibook => How-to's => Topic started by: Mijzelf on April 26, 2009, 04:30:40 PM

Title: Wifi, WPA
Post by: Mijzelf on April 26, 2009, 04:30:40 PM
My wifi stick never worked for me, it didn't connect, but I found a way around (at least for WPA-PSK);

Create a file /etc/wpa_supplicant.conf:
Code: [Select]
Then create a script:
Code: [Select]

wpa_supplicant -ieth1 -Dzydas -c/etc/wpa_supplicant.conf
Start this script in a terminal On my system it will exit on a signal 15 after about 20 seconds. Restart it, and after about 20 seconds you've got connection.

Title: Re: Wifi, WPA
Post by: mewtwo on May 09, 2009, 04:10:56 AM
Yes, wpa_supplicant is great and highly flexible. To activate the wifi without starting the wireless-manager just add
Code: [Select]
echo 1 > /proc/jz/iwifi
sleep 4 # takes a while
wifiup eth1
after the wireless network associated, you may want to run dhclient eth1 to get an ip.
(For the waiting for association before starting dhclient part I currently use sleep, but I'd rather replace it with some grep/awk magic)