LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2006, 11:38 AM   #16
deroB
Member
 
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Rep: Reputation: 30

I think you may need the linux-headers??

try
Code:
sudo apt-get install linux-headers-2.6.10 (enter your version of linux headers or usr the synaptic package manager)
then retry

EDIT.
even better, install ndiswrapper as such
Code:
sudo apt-get install ndiswrapper-utils

Last edited by deroB; 12-18-2006 at 11:44 AM.
 
Old 12-18-2006, 12:51 PM   #17
niwhsa
LQ Newbie
 
Registered: Dec 2006
Posts: 13

Original Poster
Rep: Reputation: 0
from where do i install the headers as mentioned above..and cud u please explain me the meaning of this
Quote:
enter your version of linux headers or usr the synaptic package manager
and what will the second {edited} part do???
and do u mean i have to open the terminal and copy paste the code ?? if yes then in which directory???
 
Old 12-18-2006, 01:51 PM   #18
deroB
Member
 
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Rep: Reputation: 30
Sorry, I should have been a bit clearer.

Ubuntu already has ndiswrapper in its repositories, so you don't need to install it from source.

just run (in any folder, it doesn't matter)
Code:
sudo apt-get install ndiswrapper-utils

Now you can continue with "Install Windows driver", from the link I posted earlier.
 
Old 12-19-2006, 01:04 AM   #19
niwhsa
LQ Newbie
 
Registered: Dec 2006
Posts: 13

Original Poster
Rep: Reputation: 0
my system got messed up .. {i tried to do some things which in hindsight i shud not have done ;-) }

so i have now completely reinstalled UBUNTU EDGY...

after the complete reinstall,i have done only these ..

1> installed the ndiswrapper using the command
Code:
sudo apt-get install ndiswrapper-utils
2> after installing it, i typed in the command
Code:
ndiswrapper -i netslnt.inf
as mentioned in this link

3> now this
Code:
ndiswrapper -l
which displayed
Code:
Installed ndis drivers:
netslnt driver present
4> then i typed in the command
Code:
modprobe ndiswrapper
which gave me this error
Code:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17-10-generic/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Invalid argument
now what shud i do???
 
Old 12-19-2006, 01:08 AM   #20
niwhsa
LQ Newbie
 
Registered: Dec 2006
Posts: 13

Original Poster
Rep: Reputation: 0
please note that i have not even touched the drivers given by the manufacturer ...
and to be slightly more clear, here is the complete log of what transpired on my terminal... { just a copy paste work }

Code:
ashwin@ashwin:~$ sudo apt-get install ndiswrapper-utils
Password:
Reading package lists.. Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  ndiswrapper-common ndiswrapper-utils-1.1
Suggested packages:
  ndiswrapper-source
The following NEW packages will be installed:
  ndiswrapper-common ndiswrapper-utils ndiswrapper-utils-1.1
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/47.4kB of archives.
After unpacking 250kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Media change: please insert the disc labeled
 'Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025.1)'
in the drive '/cdrom/' and press enter

Selecting previously deselected package ndiswrapper-common.
(Reading database ... 88029 files and directories currently installed.)
Unpacking ndiswrapper-common (from .../ndiswrapper-common_1.18-1ubuntu2_all.deb) ...
Selecting previously deselected package ndiswrapper-utils-1.1.
Unpacking ndiswrapper-utils-1.1 (from .../ndiswrapper-utils-1.1_1.1-5_i386.deb) ...
Selecting previously deselected package ndiswrapper-utils.
Unpacking ndiswrapper-utils (from .../ndiswrapper-utils_1.1-5_all.deb) ...
Setting up ndiswrapper-common (1.18-1ubuntu2) ...
Setting up ndiswrapper-utils-1.1 (1.1-5) ...

Setting up ndiswrapper-utils (1.1-5) ...
ashwin@ashwin:~$ sudo ndiswrapper -i netslnt.inf
Installing netslnt
ashwin@ashwin:~$ sudo ndiswrapper -l
Installed ndis drivers:
netslnt driver present 
ashwin@ashwin:~$ sudo modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17-10-generic/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Invalid argument
ashwin@ashwin:~$

Last edited by niwhsa; 12-19-2006 at 10:34 PM.
 
Old 12-19-2006, 01:59 AM   #21
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 31
I'm going to take a stab here and say that the version of ndiswrapper wasn't compiled against the kernel that you have. I don't use Ubuntu but there must be some way to investigate whether that version of ndiswrapper is compiled against the same kernel source for the kernel you're running. Damn dependencies... Once that's straightened out then you shouldn't have any problems.

Also, ndiswrapper -m should take care of adding the alias to /etc/modprobe.conf for you. You shouldn't have to edit that unless ndiswrapper -m fails.

EDIT: I did a little poking around and I found this at ubuntuguide.org. Check that out a little bit. I guess there's some bug with Edgy that was fixed with ndiswrapper-utils-1.8 so you have to specify the 1.8 when you apt-get so you get the right one. Good luck!

Last edited by zetabill; 12-19-2006 at 02:08 AM.
 
  


Reply


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
GMail invites galore Nargile General 2 11-05-2005 06:30 AM
VNC Errors Galore Corporal Linux - Networking 3 10-10-2005 01:42 PM
Open ports galore rjkfsm Linux - Security 5 04-05-2005 01:17 PM
Bittorrent problems galore QCompson Linux - Software 10 03-28-2005 01:15 AM
headaches galore with binaries corbis_demon Linux - Newbie 1 07-10-2004 05:26 AM


All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration