#!/bin/sh echo "Configuring Wireless LAN Card" echo ## load the driver modprobe adm8211 ## if no error messages, this should create a network interface, eth0 ## can check this by running ifconfig -a ## now set up the wireless network iwconfig eth0 essid MY_ESSID key 1234567890 mode Managed ## for automatic IP dhcpcd -t 20 -h puppypc -d eth0 ## or for static IP ## modify /etc/resolv.conf to include your nameservers #ifconfig eth0 192.168.0.xx broadcast 192.168.0.255 netmask 255.255.255.0 #route add default gw 192.168.0.1 eth0 # or whatever your router's IP is