Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: load ndiswapper script, how and where to write wlan script< Next Oldest | Next Newest >
mort Offline





Group: Members
Posts: 17
Joined: Aug. 2005
Posted: Jan. 06 2006,23:55 QUOTE

I can now put DSL online with the ndiswapper.  It seems to remember the rest of the network card settings from restore or they don't really matter.  After I boot from the CD and restore from the control pannel the network card wlan0 in not listed.
ndiswapper, the path to the .inf file, ssid, and the encryption key get the card running.

I would like to automate this.

Can you point me to how and where to write the script.

I'm learning the linux way but I have experience writing the old config.sys and autoexec.bat files.  I suspect it is a simmilar project with different syntax.

My wireless cards .inf and sys files are on the computers sata hd.  I don't know in the boot sequence when DSL needs those files.  I hope it is after the sata vfat partition is mounted.  If not, can they be on a floppy disk? I noticed expert mode ask if you want to load anything from floppy disks.

Thanks,

Mort
Back to top
Profile PM 
larkl Offline





Group: Members
Posts: 177
Joined: Sep. 2005
Posted: Jan. 07 2006,13:13 QUOTE

You can use the 'canned' ndiswrapper script under System>Net Setup>Ndiswrapper.  This should create a script in /opt that'll run each boot.  Alternatively, you can add your commands directly to /opt/bootlocal.sh or you can add a line here that'll run your script.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 07 2006,16:20 QUOTE

Using the Ndiswrapper GUI will make a script with your settings it is located in /opt/myndis.sh.
You can add that to your .filetool.lst and /opt/bootlocal.sh to automate your ndis device.
Or you may use the myndis.sh script as a model to edit and change to whatever you need, or copy and paste it in whole to /opt/bootlocal.sh
Back to top
Profile PM WEB 
mort Offline





Group: Members
Posts: 17
Joined: Aug. 2005
Posted: Jan. 09 2006,19:06 QUOTE

Thanks for the help.

Getting the wireless running seamlessly is a big step to making DSL a daily driver.  Spyware is forcing people away from the easy target OS to something more secure.  Cacheting, history files, cookies, and such are a secuity nightmare.  Your work on this distro as a live CD is the right track.  The in your pocket OS is the future.

Mort
Back to top
Profile PM 
mort Offline





Group: Members
Posts: 17
Joined: Aug. 2005
Posted: Jan. 10 2006,20:29 QUOTE

Ok, here is the trick for sata hard drives any way.

run the ndiswapper gui and it generates the /opt/myndis.sh script.

The problem is that the path to the .inf file is not avilable as the sata drive is not mounted.  DSL must access the backup restore file in a different more direct manner.

I coppied the .inf and .sys file for the linksys card into the /opt directory, added those files to the .filetool.lst.  Edit the path from myndis.sh to the new /opt/bcmwl5.inf file.  I pasted the contents of myndis.sh into bootlocal.sh.
Run the backup switch from the gui.  Now when I load with the dsl sata toram restore=sda5 the wireless is up and running.

I think I can refine the configuration with the Iwconfig and get a fixed address but it's connected now!  DSL is now my daily driver

Thanks

Mort.
Back to top
Profile PM 
4 replies since Jan. 06 2006,23:55 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: load ndiswapper script

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code