dwl 650 config problem
I'm using a dlink dwl-650 for my network access.
in rc.local i added these lines modprobe ndiswrapper sleep 10 iwconfig wlan0 mode Managed iwconfig wlan0 essid "linksys" iwconfig wlan0 channel 6 ifconfig wlan0 up ifconfig wlan0 192.168.0.109 netmask 255.255.255.0 route add default gw 192.168.0.1 wlan0 dhcpcd wlan0 the system hangs real bad, to the point where there will be 15 second delays before charecters appear that i typed. if i enter all the commands by hand as sooon as the essid line is entered everything goes back to normal. Fairly new to all this but hope somebody has an idea. thanks guys |
maybe better open a new thread , and put the Q. something like :
" dlink dwl650 network install " this is not a ' rc.local prob. ' egag |
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 Code:
/sbin/modprobe ndiswrapper -tank |
tried those changes, worked once and on reboot went back to the hanging. only thing we can come up with is modprobe is crapping out with the dwl-650 xp driver.
|
I would try out a different driver for that card. I am assuming that you are using slack 10. In the extras directory there is a package for the linux-wlan-ng drivers for both 2.4.26 and 2.6.7 kernels. Maybe try the hostap drivers. Use the search feature and check the Wireless forum, for your card, and see if anyone else has had any success with that card, I am sure some has.
Also what does "sleep 10" do? -tank |
sleep 10 waits 10 seconds, i assume it's just in case the driver takes some time to load
|
Thanks for the info, but I have another question. When /sbin/modprobe ndiswrapper gets executed shouldn't it finish loading, and then the next line get executed, therefore make sleep 10 uncalled for?
-tank |
All times are GMT -5. The time now is 11:29 AM. |