Why do you have sleep 10, what does that do, I have never used it? Also you are been very redundant with trying to assign an ip address twice to wlan0. Choose how you have to assign you ip staticlly or dynamically (dhcpcd). I would recommend dhcp, but if you want it to be static for a server, then you need to add the broadcast option to you command, it should look like this:
Code:
ifconfig wlan0 192.168.1.109 netmast 255.255.255.0 broadcast 192.168.1.255
Also you do not have to set the mode, or channel. I am not on my laptop right now, so I can not double check this, but I believe you need to do ifconfig wlan0 up right after you load your ndiswrapper module. I know that you get an error when you type iwlist wlan0 scanning, when wlan0 is down. Try something like this:
Code:
/sbin/modprobe ndiswrapper
/sbin/ifconfig wlan0 up
/sbin/iwconfig wlan0 essid "linksys"
#/sbin/iwconfig wlan0 key <wep key goes here>
/sbin/dhcpcd wlan0
If you have wep enable, then you need to put in your wep key in the line I designated for you. Obviously /sbin/iwconfig wlan0 key <wep> is optional. Also check that you ssid on your router is linksys and not Linksys, remember Linux is case sensitive. Good Luck.
-tank