LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems galore :( (https://www.linuxquestions.org/questions/linux-newbie-8/problems-galore-511365/)

deroB 12-18-2006 10:38 AM

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

niwhsa 12-18-2006 11:51 AM

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???

deroB 12-18-2006 12:51 PM

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.

niwhsa 12-19-2006 12:04 AM

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???

niwhsa 12-19-2006 12:08 AM

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:~$


zetabill 12-19-2006 12:59 AM

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!


All times are GMT -5. The time now is 07:26 PM.