Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ndiswrapper module problem
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
Ariem
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 296
Location: reykjavik

PostPosted: Fri Apr 21, 2006 10:44 am    Post subject: ndiswrapper module problem Reply with quote

Hi,

sorry if I'm repeating a topic, but I searched the forum without finding a solution to my problem.
I upgraded my kernel (to 2.6.15-r8) and the ndiswrapper (to 1.13) and after that I haven't been able to use the ndiswrapper module.
I found somewhere that there was a problem with the latest version of ndiswrapper, so I downgrade it (to 1.11 and then to 1.9), still without solving the problem.

Basically, when emerging it I get:
Code:
 * Attempting to automatically reinstall any Windows drivers
 * you might already have.
 * Driver: lsbcmnds
mv: cannot overwrite directory `/tmp/lsbcmnds'
lsbcmnds is already installed. Use -e to remove it
 * Driver: modules.ndiswrapper
Installing modules.ndiswrapper
couldn't copy /tmp/modules.ndiswrapper/modules.ndiswrapper.inf at /usr/sbin/ndiswrapper line 135.

And what is causing the it is:
Code:
# ndiswrapper -l
Installed drivers:
lsbcmnds      driver installed, hardware present
modules.ndiswrapper   invalid driver!

So, is something going on with modules.ndiswrapper. I tried to remove it manually and emerge it again...

Any other idea??

Thanks.
Back to top
View user's profile Send private message
kabage
Guru
Guru


Joined: 31 Jan 2005
Posts: 340

PostPosted: Sat Apr 22, 2006 2:13 am    Post subject: I believe Reply with quote

It is trying to tell you to remove the old module driver and then reinstall it so the new module can take
effect on the old driver.

Make sure the new module is installed

Code:

rmmod ndiswrapper
modprobe ndiswrapper


Then maybe check the state
Code:

ndiswrapper -l


If it is still a whiney hiney then unload the driver
Code:

ndiswrapper -e driverName


Then reload the driver
Code:

ndiswrapper -i {inf name}


Code:

ndiswrapper -h

Will give you a list of options
I'm using ndiswrapper 1.7 if that makes any difference.
_________________
The solutions are easy. Its finding them that is hard.
Back to top
View user's profile Send private message
Ariem
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 296
Location: reykjavik

PostPosted: Sat Apr 22, 2006 9:38 pm    Post subject: Re: I believe Reply with quote

kabage wrote:
Make sure the new module is installed

Code:

rmmod ndiswrapper
modprobe ndiswrapper

Well, rmmod didn't work, but modprobe did.
Code:
# rmmod ndiswrapper
ERROR: Module ndiswrapper does not exist in /proc/modules
# modprobe ndiswrapper

dmesg reported:
Code:
ndiswrapper: using irq 11
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:12:17:10:42:d0 using driver lsbcmnds, 14E4:4320:1737:4320.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK

No error so far (as previously).
But,
Code:
# ndiswrapper -l
Installed drivers:
lsbcmnds      driver installed, hardware present
modules.ndiswrapper   invalid driver!


So, we're still in the same spot.
However, the wireless card is working. I can use it to connect to a network..
So what is this problem?

I was using 1.9 before without problems.. I can't belive I have to go down to 1.7 to make it work again...
Back to top
View user's profile Send private message
kabage
Guru
Guru


Joined: 31 Jan 2005
Posts: 340

PostPosted: Sat Apr 22, 2006 10:11 pm    Post subject: Dont know, but would guess Reply with quote

That maybe you have a configuration file ndiswrapper does not need.
Other than /etc/init.d/net.wlan0 and /etc/conf.d/wireless nothing else should be required to set up config.

Ndiswrapper does make some aliases at /etc/modules.d/ndiswrapper , maybe something there.

I guess what I am trying to say is if you have made another config file or the newer version of ndiswrapper put a new config file somewhere like /etc/modules.ndiswrapper than it may be trying to install some driver you do not need.

I don't have such a file so, if you do find such a file you probably just need to put in your correct driver , possibly booting will fix it since, ndiswrapper seems to load the last working driver. (It stores that info somewhere, I thought it was under /var directory )

Certain versions, (this is why I don't upgrade very often ) seem to like my /etc/conf.d/wireless while certain versions don't so maybe something there.
_________________
The solutions are easy. Its finding them that is hard.
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