LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 11-04-2006, 08:20 AM   #1
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Rep: Reputation: 30
Ndiswrapper error on ubuntu edgy amd64


Ndiswrapper instalation ok.
Ndiswrapper driver installation ok, hardaware present.
When i do a modprobe this comes out
Quote:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17-10-generic/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Invalid argument
 
Old 11-19-2006, 07:28 PM   #2
happygiraffe98
LQ Newbie
 
Registered: Nov 2005
Location: Ohio
Distribution: Ubuntu Edgy
Posts: 14

Rep: Reputation: 0
Fix...

I stumbled upon the same problem, and after some Googling, found this page: https://launchpad.net/distros/ubuntu...per/+bug/59983

From the bits and pieces gathered from the discussion, I fixed the problem in the following steps:

Code:
1. $ sudo apt-get install ndiswrapper-utils-1.8 [Install older version free of a bug (I think :D ) ]

2. $ sudo mv /usr/sbin/ndiswrapper /usr/sbin/ndiswrapper_blah [To make a backup, the name reflects my frustration ;) )

3. $ sudo cp /usr/sbin/ndiswrapper-1.8 /usr/sbin/ndiswrapper [Replace the broken bin with the older, stable version]

4. $ sudo modprobe ndiswrapper [Test it out]
...and wlan0 was configured properly. I unhooked my temporary ethernet cable, added ndiswrapper to /etc/modules, rebooted, and everything came up fine .

Last edited by happygiraffe98; 11-19-2006 at 07:30 PM.
 
Old 11-20-2006, 07:37 AM   #3
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Original Poster
Rep: Reputation: 30
Thanks a lot, It worked perfectly. how do i set it so the module starts at startup?

alex
 
Old 11-20-2006, 11:08 AM   #4
happygiraffe98
LQ Newbie
 
Registered: Nov 2005
Location: Ohio
Distribution: Ubuntu Edgy
Posts: 14

Rep: Reputation: 0
/etc/modules..

First, open up /etc/modules:

Code:
$ sudo vi /etc/modules
and add "ndiswrapper" so that the file looks something like:

Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
psmouse
ndiswrapper
 
Old 11-20-2006, 12:08 PM   #5
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Original Poster
Rep: Reputation: 30
Thanks, It worked just fine. i see the wlan0 interface, but I cant connect to any ap I detect... i dont know why.
 
Old 11-22-2006, 07:04 PM   #6
nosrednaekim
LQ Newbie
 
Registered: Nov 2006
Distribution: Ubuntu Edgy 64 on a turion X2
Posts: 22

Rep: Reputation: 15
thanks... this worked for me...
 
Old 11-27-2006, 08:35 PM   #7
happygiraffe98
LQ Newbie
 
Registered: Nov 2005
Location: Ohio
Distribution: Ubuntu Edgy
Posts: 14

Rep: Reputation: 0
nosrednaekim: Glad I was of some help

Quote:
Originally Posted by alek66
Thanks, It worked just fine. i see the wlan0 interface, but I cant connect to any ap I detect... i dont know why.
This is probably going to get beyond me fast. However, if you post some particulars (router brand/model, wireless card brand/model, router security setup, any errors you receive) maybe some of the gurus around here will be able to help . You might want to create a new topic with these details.

Last edited by happygiraffe98; 11-27-2006 at 08:36 PM.
 
Old 12-09-2006, 12:19 PM   #8
poppo
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
I had a similar problem so I am using ndiswrapper-utils-1.8

with that I can load my driver, although to be exact it says
"driver installed, hardware present"
and not
"driver present, hardware present"

anyway when I do 'sudo modprobe ndiswrapper" nothing happens

what am I missing ?

Thanx in advance
 
Old 12-09-2006, 12:21 PM   #9
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Original Poster
Rep: Reputation: 30
post the system logs
I solved everything by downloading ndiswrapper 2.9.... and voila!
post everything and lets take it from there.
 
Old 12-10-2006, 07:01 AM   #10
poppo
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
here are the details

OK, I'm a newbie and I have just installed ubuntu 6.10 on AMD 64
The kernel is 2.6.17-10.

In Network Administration the wireless card does not show at all.
Note: on another disk on the same PC there's WindowsXP and the wi-fi works perfectly.

Anyway I found the following:

1) Using lshw I see:
--------------------------------------------------------------
*-network:0 UNCLAIMED
description: Ethernet controller
product: 88w8335 [Libertas] 802.11b/g Wireless
vendor: Marvell Technology Group Ltd.
physical id: c
bus info: pci@00:0c.0
version: 03
width: 32 bits
clock: 66MHz
capabilities: bus_master cap_list
resources: iomemory:fae00000-fae0ffff iomemory:fad00000-fad0ffff irq:10
--------------------------------------------------------------

2) with 'lspci |grep 00:0c.0' I get :
00:0c.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)

2b) I don't remember how I found it, but I found that the the pccid is 11ab:1faa (rev 03)

3) My wi-fi card is a low-cost Skintek card. The card is not listed in the ndiswrapper list page, but there's some others in the list which apparently are using the same chipset.
Note: I'm not sure which driver is best - the one given with my card's CD, or the ones used by other cards with same chipset listed on ndiswrapper page ? Anyway I tried one of them with same results.

4) with 'iwconfig' I see :

lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.


5) Using ndiswrapper I got exactly the same error as on top of this thread. So I moved to ndiswrapper-utils-1.8 and that problem was solved. With 'sudo ndiswrapper -i ~/Desktop/mrv8000c.inf' I see :

Installing mrv8000c
Forcing parameter AdhocGMode|1 to AdhocGMode|0
Forcing parameter AdhocGMode|1 to AdhocGMode|0

And then with 'ndiswrapper -l' I see:

Installed drivers:
mrv8000c driver installed, hardware present

Note: the help page says it should be "driver present, hardware present".

6) 'sudo depmod -a' takes about 2-3 seconds and does not print anything

7) 'sudo modprobe ndiswrapper' returns instantly and does not print anything

My main concerns are :

a) not sure which driver is best (see 3 above)
b) I feel I am missing something else other than the driver to activate the wireless card!

Thanks a lot for your help
 
Old 12-10-2006, 12:08 PM   #11
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Original Poster
Rep: Reputation: 30
1) can you post a ndiswrapper -v I had problem qith 1.8 and i updated.
2) can you post your system.log???
Alex
 
Old 12-10-2006, 04:13 PM   #12
poppo
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
sorry... where can I find the system.log ?
 
Old 12-10-2006, 06:05 PM   #13
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Original Poster
Rep: Reputation: 30
Assuming you are running under ubuntu go to top bar
System->administration->system log
Identify the message you got after you did the modprobe.
If you are no using ubuntu /var/log/messages

Good hunting
 
Old 12-16-2006, 04:59 PM   #14
poppo
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
There is nothing in the system log after I try to remove/reinstall the driver with ndiswrapper + depmod + modprobe

The version is :

$ 'ndiswrapper -v'
utils Error: no version specified!
driver version: 1.22
vermagic: 2.6.17-10-generic SM mod_unload gcc-4.1
 
Old 12-16-2006, 07:14 PM   #15
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Original Poster
Rep: Reputation: 30
erase everything and start from scratch...
download latest version, and we ll take it from there.
 
  


Reply

Tags
edgy, ndiswrapper, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merom + Ubuntu Edgy = No CPU Scaling tetao Ubuntu 14 02-25-2007 07:01 PM
ndiswrapper error in ubuntu 6.0.6 geeke Linux - Wireless Networking 1 07-06-2006 10:26 PM
LXer: Planning for Ubuntu Edgy: A mid-week report from the Ubuntu developer's conference LXer Syndicated Linux News 0 06-23-2006 12:12 AM
ndiswrapper ubuntu amd64 thewfool Linux - Hardware 5 03-27-2006 01:34 AM


All times are GMT -5. The time now is 02:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration