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: Can I automate wireless ndiswrapper setup?< Next Oldest | Next Newest >
Paperweight Offline





Group: Members
Posts: 11
Joined: Aug. 2004
Posted: Jan. 31 2005,21:00 QUOTE

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?
Back to top
Profile PM 
subarus Offline





Group: Members
Posts: 75
Joined: May 2004
Posted: Feb. 01 2005,08:05 QUOTE

Quote (Paperweight @ Jan. 31 2005,16:00)
Can I automate this, and/or should I make a backup entry of my "/etc/ndiswrapper/airplus" directory?

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
Back to top
Profile PM 
Paperweight Offline





Group: Members
Posts: 11
Joined: Aug. 2004
Posted: Feb. 02 2005,07:10 QUOTE

Quote (subarus @ Feb. 01 2005,03:05)
tar cvfz wireless.dsl opt
..... use pump -i <dev>

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. :;):
Back to top
Profile PM 
2 replies since Jan. 31 2005,21:00 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Can I automate wireless ndiswrapper setup?

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