Networking :: Ndiswrapper Freezes DSL



Been there, done that :D

It seems drivers listed to work with the exact same Broadcom card (as per lspci & lspci -n) are machine and/or Linux dependent.

But I'll get there eventually...

After trying many drivers suggested in the ndiswrapper wiki, I finally found one that works.

The problem I have now is how to save the wlan settings, load them at boot and automatically request an IP address.

As per various posts, I tried the following:

To have the network settings picked up at startup, I added the following line to /bootlocal.sh

/opt/myiwconfig.sh

To save the various settings, I added the following lines to /home/dsl/.filetool.lst:

opt/myiwconfig.sh
etc/ndiswrapper/
etc/network/interfaces

this loaded ndiswrapper at startup but I still had to manually enter the SSID, WEP code and request an IP address.

The ndiswrapper wiki states that the following command should save the settings but it does not seem to work.

Root@box:~# ndiswrapper -m
modprobe config already contains alias directive

Does anyone have any ideas?

After some more fruitless playing around, I decided to try and use ndiswrapper from the DSLpanel rather than entering commands via an XTerm.

This method has the advantage of generating a file /opt/myndis.sh which contains details of the driver .inf file, the SSID and WEP code.

By adding /opt/myndis.sh and /etc/ndiswrapper/ to .filetool.lst and /opt/myndis.sh to bootlocal.sh, my wlan now automatically connects to the router on boot - the only problem is that I get the following boot error message which obliges me to hit <enter> to continue the boot:

"bcmwl5a.inf is already installed. Use -e to unload it. The driver (bcmwl5.sys) is not for your system. It's likely to work anyway but keep this in mind in case of problems"

I guess the error message occurs because myndis.sh tries to write the driver to /etc/ndiswrapper which has already been restored and loaded - does anybody know if it is possible to pass a null file name in myndis.sh or get it to ignore error messages?


original here.