#!/bin/sh echo "Configuring Wireless LAN Card" echo ## load the modules insmod ieee80211_crypt-r8180 insmod crc32 insmod arc4 insmod ieee80211_crypt_wep-r8180 insmod ieee80211-r8180 insmod r8180 ## if no error messages, this should create a network interface, wlan0 ## can check this by running ifconfig -a ## now set up the wireless network iwconfig wlan0 essid MY_ESSID key 1234567890 mode managed ## for automatic IP dhcpcd -t 20 -h puppypc -d wlan0 ## or for static IP ## modify /etc/resolv.conf to include your nameservers #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 # or whatever your router's IP is