Code:
#!/bin/bash
# Wireless network connection script
ifconfig eth0 down
modprobe ndiswrapper
iwconfig wlan0 essid linksys
ifconfig wlan0 192.168.0.10 broadcast 192.168.0.255 netmask 255.255.255.0 up
route add default gw 192.168.0.1
Stick that into /etc/init.d/ or /etc/rc.d (can't remember with Slack!) and then "chmod a+x wireless.sh", depending on what you saved it as. You then simply run your script as "/etc/init.d/wireless.sh" and let it connect. You'd need to run that as root due to the networking tools required, or a more elegant way I run it is to configure sudo to allow a normal user to execute it. You could add this to your default runlevel to load on each boot, depending on whether it's you primary network or not...