English / Deutsch | Print version Plop Linux  

<< Previous
Wi-Fi (WLAN) - WPA

Table of Contents

Next >>
32-bit with 64-bit system

Wi-Fi with Techion WLS 150 WLAN USB Stick + driver


Here is a short example for Wi-Fi with the Techion WLS 150 WLAN USB Stick and the non-free driver.


Install the device driver


Download the latest driver from the debian mirror repository: firmware-ralink_0.43_all.deb

Extract the archive: dpkg -x firmware-ralink_0.43_all.deb firmware-ralink

Copy (install) the driver binaries: cp -avr firmware-ralink/* /


Create the WPA config


wpa_passphrase MYNETSSID MYPASS > /etc/wpa_supplicant.conf

Replace MYNETSSID with the SSID of the network to connect.

Replace MYPASS with the passphrase/key for the network.


Connect to the Wi-Fi network


Turn on the USB Stick with 'ifconfig wlan0 up'.

Start wpa_supplicant 'wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf'.

On another terminal setup the IP address. Example for DHCP: dhclient wlan0


Auto start Wi-Fi connect


Edit the file '/etc/rc.local'.

Above the line "exit 0" insert

# Start Wi-Fi in background
{
    ifconfig wlan0 up

    wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf
    dhclient wlan0
} &

# Give some time to connect
sleep 2



<< Previous
Wi-Fi (WLAN) - WPA

Table of Contents

Next >>
32-bit with 64-bit system


© 2024 by Elmar Hanlhofer