Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
what should /etc/modules.d/ndiswrapper look like?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dpl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 137
Location: Canada

PostPosted: Wed May 05, 2004 6:05 pm    Post subject: what should /etc/modules.d/ndiswrapper look like? Reply with quote

Good afternoon folks,
I'm trying to get my wireless card working with ndiswrapper. Everything went smoothly until I got to the part about changing /etc/modules.d/ndiswrapper. What should this file look like if I am using ndiswrapper-0.6 or ndiswrapper-0.7? I'm having a hard time with this, and I have tried everything I can think of, but it's still not working.
I have tried ndiswrapper 0.6 and ndiswrapper-0.7, both to no avail.
The chipset that I am using is the ADMtek 8201. AFAIK this is supported by ndiswrapper.
If anyone has some info that could lead me to a working wireless system, I would be grateful forever.
Thanks,
- dpl
_________________
puto risi vidi
Back to top
View user's profile Send private message
AmosMutke
Apprentice
Apprentice


Joined: 24 Dec 2003
Posts: 235
Location: Akita, Japan.

PostPosted: Thu May 06, 2004 6:28 pm    Post subject: Reply with quote

I'm "trying" to use ndiswrapper... I've gone thru all the install stuff, but it just doesn't work... But to answer your question, I don't have that file... I'm wondering if mine is missing?
Back to top
View user's profile Send private message
dpl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 137
Location: Canada

PostPosted: Thu May 06, 2004 6:41 pm    Post subject: Reply with quote

Which version of ndiswrapper are you using? cause with 0.6, it seems as though it brings it in automatically. I'm not sure what the file really does either, so if I could figure that out it'd be a bit easier to get that working I'm sure.
I'll post here if I get anything working though.
- dpl
_________________
puto risi vidi
Back to top
View user's profile Send private message
AmosMutke
Apprentice
Apprentice


Joined: 24 Dec 2003
Posts: 235
Location: Akita, Japan.

PostPosted: Thu May 06, 2004 7:13 pm    Post subject: Reply with quote

oops.. ignore my last post... I'm stupid.. :x

I just rememberd that I don't load ndiswrapper at boot.. I just do it manually when I feel like wasting time while trying to get it to work... That is why I do not have the file.

sorry..

And for the record... I'm using CVS ndiswrapper... (0.7 is current version)
Back to top
View user's profile Send private message
dpl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 137
Location: Canada

PostPosted: Mon May 10, 2004 5:28 pm    Post subject: Reply with quote

I got my wireless working, although probably not the best of ways.
Here's what I do:
1. Load the ndiswrapper module. This gives me an error that says:
Code:
Usage: /usr/bin/loadndisdriver [-a] [driver]
FATAL: Error running install command for ndiswrapper


2. From there I can type:
Code:
loadndisdriver netadm11


3. And then:
Code:
iwconfig wlan0 essid myessid channel mychannel key mykey


This makes my wireless work. Not sure why there's an error on the modprobe ndiswrapper, but at least I can now get it to work. It would be nice to have a setup that didn't require so much messing around, but for now this is ok. What I think the problem is, is that there's a botched configuration file that I can't find, and this is what's not working properly. When I edit the /etc/modules.d/ndiswrapper file, it doesn't seem to change anything. Also, after doing an update-modules it also has no effect on that.
If anyone has any ideas on why there's an error with the modprobe, it'd be nice to get that fixed up, or if anyone knows where to edit the ndiswrapper config file that'd be great too. I'll be working on this for a bit more to see if I can clear that up, and probably start reading some documentation to boot.
Besides that, it's working like a charm.
- dpl
_________________
puto risi vidi
Back to top
View user's profile Send private message
dpl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 137
Location: Canada

PostPosted: Mon May 10, 2004 8:06 pm    Post subject: Reply with quote

I finally got this working like it should. I had to go back to using ndiswrapper-0.6, and here's what my /etc/modules.d/ndiswrapper looks like:

Code:

alias wlan0 ndiswrapper
ndiswrapper -i /usr/lib/hotplug/drivers/Netadm11.inf
install ndiswrapper /sbin/modprobe --ignore-install ndiswrapper && { loadndisdriver netadm11 ; }


So far (about 4 minutes since the network started) it's been working great. There was probably a problem that I had with the latest version of ndiswrapper, since all I did to install it was edited the ebuild to make it work, and really don't know enough about that to get that working properly.

The problem got a lot better once I upgraded to the 2.6.6 kernel. That could have been just a clean set of modules for ndiswrapper though, so I can't say for sure what the exact problem was.

But finally, I'm glad to say that I have a working wireless network, and there are no errors when I set everything up.

- dpl
_________________
puto risi vidi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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