wireless on mint

Associate
Joined
4 Mar 2011
Posts
41
Ok, so I've just installed mint 10 on a pen drive to try it out... now as I'm totally new to all this... when it was finishing off installing it flashed up that it could see the wireless here.

Now its finished and I've logged in, it cant see hide nor hare of it... I've had a look on the tutorials on the mint website but can't see anything on it.

does anyone know where to look or what to do.

In the mean time, I'll keep on searching :) Time to learn!!
 
Tis a start thanks.
Ive done the 'sudo make uninstall' - this worked.

the 'make' and 'make install' commandds get this error though...
make -C driver
make[1]: Entering directory `/home/tom/Downloads/ndiswrapper-1.51/driver'
Makefile:64: *** No .config found in /lib/modules/build, please set KBUILD to configured kernel. Stop.
make[1]: Leaving directory `/home/tom/Downloads/ndiswrapper-1.51/driver'
make: *** [all] Error 2

any clues? Have looked on google quickly but not had much luck :(
 
Have you run 'sudo apt-get install linux-headers-$(uname -r) build-essential' yet? Need to make sure you've got everything you need to build it first.

Run: ls /lib/modules/`uname -r`/build

Make sure you have an includes directory and .config there
 
right, not done that yet. will look into that. where you have 'uname' is that what you type, or does that mean to put my linux user name?

if I dont have an includes and/or .config how do I go about getting them there?

In the mean time if a get a minute I'll have a play myself and see what we can find
 
Run: ls /lib/modules/`uname -r`/build

Make sure you have an includes directory and .config there

Ok, ran the first part, it did its thing fine, ran the ls bit above and it said:

ls: cannot access /lib/modules/`uname -r`/build: no such directory"

should i be substituting some of that for system specific info?

in the /lib/modules folder I have another folder called: 2.6.35-22-generic.

I have tired substituting 'build' for the name of the folder but that returns the same error...

Thanks :)
 
uname -r will just dump your kernel version into that command you're running, i.e. the output on mine parses as such:

Code:
[matt@defecator ~]$ uname -r
2.6.38-ARCH
[matt@defecator ~]$ ls /lib/modules/`uname -r`/build
arch           drivers  Kconfig   mm              scripts   virt
block          fs       kernel    Module.symvers  security  vmlinux
crypto         include  lib       net             sound
Documentation  init     Makefile  samples         usr
[matt@defecator ~]$

Are you running this from the shell? Have you tried building ndiswrapper again since you grabbed your kernel headers and build-essential?
 
Ok, got the 'ls' command to work and return the results you posted. turns out I was mistaking ' for ` ... school boy error it seems.

now, when I run the make command I still get the "no .config found..." error.

I'm not sure what the shell is. So far i have just run everything from the terminal as it is when you open it...
 
Should probably have checked if there was an ndiswrapper package in mint before deciding to build from source

Run sudo apt-get update && sudo apt-cache search ndiswrapper

If you see ndiswrapper sudo apt-get install it then grab the driver from http://forums.linuxmint.com/download/file.php?id=4511 and save it to your home directory

Once it's downloaded, open up a terminal and do:
cd ~
tar xvf ar5007eg-*.tar.gz
cd ar5007eg
sudo ndiswrapper -i net5211.inf
sudo modprobe ndiswrapper

If you don't have any errors so far then do:

echo "ndiswrapper" | sudo tee -a /etc/modules

If that doesn't work check http://wiki.debian.org/NdisWrapper (mint is debian based right?)
 
Last edited:
ok, this is as far as I got and the error it gave me:

tom@tom-laptop ~ $ cd ~/Downloads/ar5007eg
bash: cd: /home/tom/Downloads/ar5007eg: No such file or directory
tom@tom-laptop ~ $ cd ~/Downloads/ar5007eg*
tom@tom-laptop ~/Downloads/ar5007eg-32-0.2 $ sudo ndiswrapper -i net5211.inf
driver net5211 is already installed
tom@tom-laptop ~/Downloads/ar5007eg-32-0.2 $ sudo modprobe ndiswrapper
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
FATAL: Could not read '/lib/modules/2.6.35-22-generic/kernel/ubuntu/ndiswrapper/ndiswrapper.ko': No such file or directory
 
Back
Top Bottom