#!/bin/sh echo "Configuring Wireless LAN Card" echo ## since Puppy's existing orinoco driver may be already loaded, we first need to unload it, and its sub-modules rmmod orinoco_cs rmmod orinoco rmmod hermes ## load the driver modprobe orinoco_cs ## or orinoco_nortel / orinoco_pci / orinoco_plx / orinoco_tmd / orinoco_usb / spectrum_cs ## 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