#!/bin/sh echo "Configuring Wireless LAN Card" echo modprobe prism2_cs # or prism2_pci or prism2_plx or prism2_usb ## If a wireless channel is to be defined - #wlanctl-ng wlan0 lnxreq_wlansniff enable=false channel xx #wlanctl-ng wlan0 p2req_channel_info_results channel xx wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0 wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=12:34:56:78:90 wlanctl-ng wlan0 lnxreq_autojoin ssid=MY_ESSID authtype=opensystem ## for automatic IP dhcpcd -t 20 -h puppypc -d wlan0 ## OR for static IP #ifconfig wlan0 192.168.0.xx broadcast 192.168.0.255 netmask 255.255.255.0 #route add default gw 192.168.0.1 wlan0