LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2013, 11:32 PM   #1
evolver
Member
 
Registered: Sep 2012
Distribution: Manjaro KDE... It's awesome...
Posts: 36

Rep: Reputation: Disabled
ndiswrapper on Linux Mint


Hi there...

Have been having moderate to severe problems with Wifi connections (slow rates, and even just will not connect to a Base Station), Atheros 9485 Network Card, ath9k driver, kernel version 3.5.0-17. Linux Mint 14 64bit KDE, + apt-get upgrade

Would like to do anything to fix it (update existing Ath9k drivers, find better ones) but keep coming up against problems.

I'm thinking that Ndiswrapper would solve my problems but seem to be having problems trying to get it working.

Tried to follow the instructions here but only got as far as uninstalling ndiswrapper files on my machine already, and installing module-assistant.

However, compiling ndiswrapper then returned:

Code:
make
make -C utils
make[1]: Entering directory `/home/adam/Desktop/ndiswrapper-1.58rc1/utils'
gcc -g -Wall -I../driver  -o loadndisdriver loadndisdriver.c
loadndisdriver.c:15:20: fatal error: stdlib.h: No such file or directory
compilation terminated.
make[1]: *** [loadndisdriver] Error 1
make[1]: Leaving directory `/home/adam/Desktop/ndiswrapper-1.58rc1/utils'
make: *** [utils] Error 2
Don't know what to make of this and would appreciate some help...

Thanks,

Adam
 
Old 07-05-2013, 12:01 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi Adam,

now I know why you were installing module-assistant :-)

Have you tested your wireless with another OS to ensure it is not a hardware issue? Eg try a live CD/DVD of another distro? If this works, instead of using ndiswrapper have you considered upgrading to Mint 15 which AFAIK is based on Ubuntu 13.04 and has a 3.8 kernel?

Cheers,

Evo2.
 
Old 07-05-2013, 01:13 AM   #3
evolver
Member
 
Registered: Sep 2012
Distribution: Manjaro KDE... It's awesome...
Posts: 36

Original Poster
Rep: Reputation: Disabled
Hehe... Yep, I should maybe have explained it all at once, though it did seem like it was too much to ask for so I broke it down...

I'm afraid I don't have another OS handy - I'm currently travelling in the Amazon region and my laptop is all I have, it has no CD drive and the download speeds are pretty terrible here, even if I could get my network card to work properly

I suppose I would consider trying to download Mint 15 and installing that if it was nailed on to work, but thought I'd give Ndiswrapper a go first, as I had already noticed that when I first bought the machine and swapped windoze for mint, the wifi was much more patchy with mint. So I figured Ndiswrapper was the way to go... but hey, as you know, I'm no expert...
 
Old 07-05-2013, 01:46 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

oh out in the jungle - maybe not such a good place to be doing full system upgrades. I've not had experience with ndiswrapper: it was ditched by most as soon as actual linux drivers became available. I had a quick look at the youtube video you linked to but couldn't make out a single thing that was written in the terminal, so I really have no idea what you are actually doing.

I generally find the Debian wiki to be a good source for information related to kernel modules and drivers. Have you had a look at the following: http://wiki.debian.org/NdisWrapper

Just incase you didn't know, Mint is essentially the same as Ubuntu but with some extra packages (infact Mint uses Ubuntu binaries), and Ubuntu is just a derivative of Debian. As such the underlying nuts and bolts are pertty much the same and many things in the Debian wiki should mostly apply to a Mint system.

Cheers,

Evo2.
 
Old 07-05-2013, 02:19 AM   #5
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Install ndiswrapper from the repositories then try this set of commands

Code:
##### Make sure drivers are visible on the Desktop and in a terminal type or copy and past (modify when required) these commands 1 by 1

cd Desktop

sudo ndiswrapper -i xxxxXXX.inf #####(where xxxx.XXX.inf is the name of the driver file)

ndiswrapper -l

sudo depmod -a

sudo modprobe ndiswrapper

sudo ndiswrapper -m

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

sudo shutdown -r now
Try that and let us know how you go.

Last edited by k3lt01; 07-05-2013 at 02:20 AM.
 
Old 07-05-2013, 02:04 PM   #6
evolver
Member
 
Registered: Sep 2012
Distribution: Manjaro KDE... It's awesome...
Posts: 36

Original Poster
Rep: Reputation: Disabled
Right... OK.. well everything went fairly smoothly, the only slight hiccup being after

Code:
sudo ndiswapper -m
\

Which returned

Code:
module configuration already contains alias directive
However, don't know if I'm missing something here (obviously I am).. but on reboot the ndiswrapper driver fails to load (or the ath9k driver) and no wireless networking is available.

Checking the Windows Wireless Drivers GUI utility, shows Driver is installed and Hardware is present... but as mentioned, not loaded on startup.

Sure it's something straightforward, but a few pointers would be much appreciated...

Adam
 
Old 07-05-2013, 02:09 PM   #7
evolver
Member
 
Registered: Sep 2012
Distribution: Manjaro KDE... It's awesome...
Posts: 36

Original Poster
Rep: Reputation: Disabled
I should add that 'Additional Drivers' Utility states 'No proprietary drivers are in use on this system' which seems correct as if they were I'd likely have Wifi...

Thanks...
 
Old 07-05-2013, 02:39 PM   #8
evolver
Member
 
Registered: Sep 2012
Distribution: Manjaro KDE... It's awesome...
Posts: 36

Original Poster
Rep: Reputation: Disabled
Searching around for likely solutions, I tried:

Code:
modprobe ndiswrapper
Which didnt return any error, but didn't load any wifi drivers.

Code:
modprobe ath9k
..however, did get the Wifi working again, temporarily...
 
Old 07-05-2013, 03:20 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Just a note. I did try ndiswapper on some distro's a while back. Many have already put part of ndiswrapper in their distro and all you have to do is finish the install. What that last step was I don't remember but it was on some web pages.
 
Old 07-05-2013, 07:31 PM   #10
evolver
Member
 
Registered: Sep 2012
Distribution: Manjaro KDE... It's awesome...
Posts: 36

Original Poster
Rep: Reputation: Disabled
OK - resolved... follow the instructions I linked to in my first post, and on the page they link to in the video... just remember to find the right version of your Windoze driver... although I found the right driver for my hardware, Ndiswrapper was not able to deal with the W7 driver, it needed to be XP... simples...

Thanks for all your help...........................
 
  


Reply



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
Is there a substantial difference between Linux Mint Ubuntu and Linux Mint Debian? schachwizard Linux Mint 9 07-29-2015 02:24 AM
[SOLVED] New to linux, no wlan0 after ndiswrapper? (Broadcom 4323; Linux Mint) misce Linux - Wireless Networking 1 10-14-2012 11:15 PM
Installing NDISWrapper In Mint? Novatian Linux - Software 1 12-04-2008 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:55 AM.

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
Open Source Consulting | Domain Registration