I'm new to this part of my debian system. Instead of having eth0 load up when my system starts, I want to run a script that enables my wireless card(wlan0) that uses ndiswrapper to load. My script looks like this:
#!/bin/bash echo "Starting wireless networking....." ifconfig eth0 down modprobe ndiswrapper sleep 1 iwconfig wlan0 mode Managed iwconfig wlan0 essid cocksmoker iwconfig wlan0 key blahblahblahmynetkey dhcpcd -t 10 -d -G 192.168.1.1 wlan0 echo "Wireless networking started.....hopefully!" I don't know how to achive this so any pointers or links for some reading would be very appreciated. Thanks for your time.

