Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ndiswrapper won't Load on Boot in RC4

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking
View previous topic :: View next topic  
Author Message
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Fri Sep 15, 2006 6:51 am    Post subject: Ndiswrapper won't Load on Boot in RC4 Reply with quote

I've been trying to get ndiswrapper to load the driver for my wireless card (Broadcom BCM4309 802.11a/b/g) on boot by using a script named myndis.sh, called from bootlocal.sh. This same one line script works fine with DSL 3.0.1:

/usr/local/bin/ndiswrapper.sh /path/bcmwl5a.inf wlan0 SSID XX:YY:...:ZZ 2>&1 >/dev/null

On boot, various error messages scroll by too quickly to note. I tried manually entering the wifi details into the Control Panel ndiswrapper applet but this doesn't work either. If I enter the commands:

ndiswrapper -e bcmwl5a.inf
ndiswrapper -i /path/bcmwl5a.inf

and then enter the wifi details into the Control Panel ndiswrapper applet, things finally work and my wireless card connects.

Is there a bug in the RC4 ndiswrapper applet or am I making a DSL-N mistake somewhere?
Back to top
View user's profile Send private message
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Fri Sep 15, 2006 4:19 pm    Post subject: Reply with quote

ndiswrapper works fine for me on boot. Here is a sample of /opt/bootlocal.sh

pkill pump
mount /mnt/hda1
ndiswrapper -i /mnt/hda1/Program\ Files/Airlink101/AWLC4030/net5211.inf
sleep 1
modprobe ndiswrapper
sleep 2
iwconfig wlan0 key xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx essid mySSID
pump -i wlan0
Back to top
View user's profile Send private message Visit poster's website
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Sat Sep 16, 2006 4:48 am    Post subject: Forgot to Mount Path Reply with quote

Thanks - in fact when I managed to read the boot messages I realised I was missing "mount /mnt/sda2" in the script... Confused
Back to top
View user's profile Send private message
mrsnort



Joined: 25 Sep 2006
Posts: 1

PostPosted: Mon Sep 25, 2006 4:05 am    Post subject: many thx Reply with quote

I didn't know how to save my ndiswrapper settings before i saw this post.

So thx to both of U

Regards Michel
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group