how to autoconfig wlan on bootup


Forum: Networking
Topic: how to autoconfig wlan on bootup
started by: greybeard

Posted by greybeard on Nov. 06 2004,22:01
I have a TI based PCMCIA card so I chose to use ndiswrapper.
It installed fairly easy, BUT in order to use after reboot I have to
 1. su
 2. modprobe ndiswrapper
 3. now netcardconfig gives me the wlan0 option which I config for dhcp

I have tried adding ndiswrapper to the etc/modules file.
I also tried ndiswrapper -m to add the alias.

How is debian supposed to load this module?
Should it be in the pcmcia config when I plub in the card?

signed
sooo close but not quite there yet :)

Posted by roberts on Nov. 06 2004,22:45
You have tried the GUI ndis setup?
Some users have had sucess with this. System->Net Setup->ndiswrapper
The gui will make a script called myndis.sh
Add that script to /opt/bootlocal.sh

Of if you prefer look at those scripts to manually add your commands to /opt/bootlocal.sh

Posted by greybeard on Nov. 07 2004,03:20
Thanks for the qucik response.

I had used ndiswrapper from command line, so I tried running the gui.
It seemed to create two key script files: myndis.sh, and ndiswrapper.sh,
but they aren't executing on boot.

I am running on an IBM transnote, which has no floppy, or CD, so I have
done a hard disk install.  Do I need to move myndis.sh to a different
location for a hard disk install?

I know this is primarily a live distribution, but I really like the choice of aps, the speed of operation, and the flexibility of the dsl extensions, and then the debian apt-get etc on top of that!  Keep up the good work!


greybeard

Posted by SaidinUnleashed on Nov. 07 2004,06:58
you have to add the myndis.sh to bootlocal.sh in order for it to run automatically.

just go to a terminal and type scite bootlocal.sh.

just above the line that says "fluxbox" make a new line and type "myndis.sh &"

save and it should take care of ya!

-J.P.

Posted by caulktel on Nov. 07 2004,14:51
The bootlocal.sh resides in the /opt directory.
Posted by greybeard on Nov. 07 2004,23:07
thanks

I'm now booting up with a live connection!
... now on to the next item ...


greybeard

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.