First off, swap is generally automatically activated by the system at the appropriate time. Just add a line like this to your /etc/fstab:
Code:
/dev/hdb3 none swap sw 0 0
For the rest, in whatever init script you intend to place this in (rc.local, perhaps), just add:
Code:
modprobe ndiswrapper
sleep 5
dhcpcd wlan0
Though I think you'd probably want something like:
Code:
modprobe ndiswrapper
iwconfig wlan0 essid YOURESSID
sleep 5
dhcpcd wlan0