Can I automate wireless ndiswrapper setup?Forum: Networking Topic: Can I automate wireless ndiswrapper setup? started by: Paperweight Posted by Paperweight on Jan. 31 2005,21:00
I have been using the command line to set up my wireless pcmcia cardbus card. I have read on this forum that if I use the DSL Control Panel "ndiswrapper setup" once, it and backup a mywlan.sh or something file, which will automatically setup the wireless card on boot/restore.How can I use ndiswrapper setup? Specifically, wtf is "sid:" for? Here's what I have to type to get my wireless lan set up: sudo ndiswrapper -i /mnt/sda1/drivers/airplus/AIRPLUS.INF sudo modprobe ndiswrapper sudo iwconfig wlan0 key open 1205000000 netcardconfig (then press enter) Can I automate this, and/or should I make a backup entry of my "/etc/ndiswrapper/airplus" directory? Posted by subarus on Feb. 01 2005,08:05
yes you can automate everything, your comp will boot up with wireless enabled. 1st) you copy driver to ~/opt 2nd) create/append on ~/opt, a bootlocal.sh file with the ndiswrapper, modprobe, iwconfig commands u have 3rd) cd ~; tar cvfz wireless.dsl opt 4th) copy wireless.dsl to either /mnt/sda1 or /mnt/hda1 or /mnt/cdrom 5) at boot from type: dsl mydsl=hda1 note: u dont need sudo becoz bootlocal.sh is ran as root at boot your driver will be copied to /opt thus u can ndiswrap it there you dont need netcardconfig if you use pump -i <dev> u can even automate the boot parameter passing if you edit syslinux.cfg/isolinux.cfg.. but thats another topic Posted by Paperweight on Feb. 02 2005,07:10
Thanks a lot! It works now and I learned a lot. I put an icon on the desktop called "Pump It" for when I want to connect. |