 |
Linux Format forums Help, discussion, magazine feedback and more
|
| View previous topic :: View next topic |
| Author |
Message |
Philosophicles
Joined: Wed Jul 06, 2005 5:10 pm Posts: 9 Location: Devon!
|
Posted: Wed Jul 06, 2005 11:10 pm Post subject: Netgear Wireless Cards + Linux? |
|
|
Does anyone have any experience making Netgear wireless cards work with linux? Specifically, I have a WG311 v2, the relevant support page for which does not mention linux at all (or any non-microsoft OSes for that matter). The fact that it's an internal rather than USB wireless solution does make me think it could be harder to get up and running on linux, perhaps impossible if Netgear don't produce correct drivers, but I'm very much a newb, and would appreciate anybody's experience with similar cards. _________________ He who asks is a fool for 5 minutes, but he who does not ask remains a fool forever... |
|
| Back to top |
|
 |
A-Wing LXF regular

Joined: Tue Jul 05, 2005 8:25 pm Posts: 460 Location: Wellingborough
|
Posted: Wed Jul 06, 2005 11:32 pm Post subject: RE: Netgear Wireless Cards + Linux? |
|
|
I have one of those on a machine at work and use Ndiswrapper on it with the Windows driver. Ndiswrapper can be found at: http://ndiswrapper.sourceforge.net/
Quite a few distros have a deb, rpm or whatever package format is used for it. _________________ Andrew Hutchings, Linux Jedi
www.a-wing.co.uk |
|
| Back to top |
|
 |
Philosophicles
Joined: Wed Jul 06, 2005 5:10 pm Posts: 9 Location: Devon!
|
Posted: Thu Jul 07, 2005 12:08 am Post subject: |
|
|
hmm, getting ndiswrapper itself seemed fairly painless. I now just have to figure out the guy's very long and complicated explanation of how to make the relevant Netgear drivers work right, and how to get ndiswrapper to do the right things with 'em
Perhaps I'll leave this a few days, ethernet is working fine and I don't *really* mind wires all over my bedroom floor  _________________ He who asks is a fool for 5 minutes, but he who does not ask remains a fool forever... |
|
| Back to top |
|
 |
graham Site admin

Joined: Tue Apr 12, 2005 10:31 am Posts: 37
|
Posted: Thu Jul 07, 2005 10:22 am Post subject: |
|
|
Another option: I've got one of these, and I managed to get it to work using the Madwifi drivers.
http://sourceforge.net/projects/madwifi/
You may be lucky and find a package for your distribution.
Otherwise, if you're familiar with Linux, it's fairly straightforward to install. The only requirement is the pre-installed source code for your kernel. You basically download the madwifi tar file from SourceForge, untar it, change into the directory, make and make install as root.
The only problem I had (using Mandriva 10.2) was that the modules were installed into:
/lib/modules/2.6.11-6mdkcustom/net
(the installation had assumed I was using a custom kernel). They needed to be moved from there to:
/lib/modules/2.6.11-6mdk/kernel/net
I also added alias ath0 ath_pci to /etc/modprobe.conf, and finally executed depmod -a as root to build the module dependencies.
(you can load the module manually using modprobe ath_pci).
Hope this helps. Let me know if you need some help configuring the card. |
|
| Back to top |
|
 |
Philosophicles
Joined: Wed Jul 06, 2005 5:10 pm Posts: 9 Location: Devon!
|
Posted: Thu Jul 07, 2005 12:38 pm Post subject: |
|
|
Lets just say for example that I'm not that familiar with linux yet. For the sake of argument, I've got less than a week's experience with it . Where is the correct place to untar something like this to, and thus install from?
Also, what do you mean by
| Quote: |
The only requirement is the pre-installed source code for your kernel.
| ?
I'm using mandrake 10.1, as it happens, so I guess it's pretty likely I might get the same problem you had... but I'll cross that bridge when I get to it. _________________ He who asks is a fool for 5 minutes, but he who does not ask remains a fool forever... |
|
| Back to top |
|
 |
graham Site admin

Joined: Tue Apr 12, 2005 10:31 am Posts: 37
|
Posted: Thu Jul 07, 2005 2:45 pm Post subject: |
|
|
Right. Well this is going to be a baptism of fire! You should really treat this as a last resort in cases where there's no easier way. You could easily mess up your system.
You basically need to install the kernel-source, download the drivers, compile then install them.
I'll try and break it down into small steps, but, if you run into any problems it could get messy.
Firstly, you need to install the kernel source. Without wanting to state the obvious, your kernel is the heart of your Linux system, and Mandriva/Mandrake's kernel is pre-compiled from this source code, including drivers. The Madwifi driver is a module that connects to the kernel, which is why it needs the kernel source code when we compile it.
From a console, switch to root, and enter the following to install the kernel source, the compiler and the cvs client:
urpmi kernel-source gcc cvs
You can also accomplish the same thing from Mandrake's control center. It's fairly large...
Next step is to download the Madwifi drivers. There isn't a package to download, so we need to get them from the development repository. Back at the console, cut and paste the following (ignore my itallics!):
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi login
Just press return when asked for a password
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co -P madwifi
This will then download the source code for the driver. I really hope this isn't putting you off Linux for life... Change to the new madwifi directory, build the package and install by typing the following:
cd madwifi
make
sudo make install
As mentioned in my first message, this has placed the drivers in /lib/modules/2.6[VERSION]mdkcustom/net. VERSION should look something like '11-6'. We need to move the files to /lib/modules/2.6[VERSION]mdk/. For me, I would use:
cp -rf /lib/modules/2.6.11-6mdkcustom/net/* /lib/modules/2.6.11-6mdk/kernel/net/
But you may need to change the version number to match your installed kernel. The final step is to make sure the driver is automatically loaded. The following command appends the right line to the module configurating script:
cp /etc/modprobe.conf /etc/modprobe.conf_backup
echo "alias ath0 ath_pci" >>/etc/modprobe.conf
depmod -a
Finally, load the driver:
modprobe ath_pci
You should then be able to configure your wireless card from Mandrake's control center. Good Luck!!! |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|