Netgear WN111v2 Atheros Chipset

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Netgear WN111v2 Atheros Chipset

Postby buzzard333 » Sun Jul 10, 2011 17:12

How do I get my wifi USB dongle working in Sabayon. Its an Atheros chipset and have tried using ndiswrapper but cant seem to add the 'ndiswrapper' line to /etc/modules.autoload.d/kernel-2.6 I read this is where you want to add 'ndiswrapper' so it loads at boot but can't seem to figure it out. Please help and thanks in advace!
buzzard333
Baby Hen
 
Posts: 3
Joined: Fri Jul 08, 2011 16:57

Re: Netgear WN111v2 Atheros Chipset

Postby micia » Sun Jul 10, 2011 18:33

Hi, welcome to the Sabayon Forums and to the Sabayon Community :mrgreen:

You mean that you are able to get the card to work if you manually load the ndiswrapper module, for example if you run:
(as root)
Code: Select all
modprobe ndiswrapper


but you are unable to load that module at boot?
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Netgear WN111v2 Atheros Chipset

Postby Fitzcarraldo » Sun Jul 10, 2011 19:24

buzzard333 wrote:have tried using ndiswrapper but cant seem to add the 'ndiswrapper' line to /etc/modules.autoload.d/kernel-2.6 I read this is where you want to add 'ndiswrapper' so it loads at boot but can't seem to figure it out.

Unfortunately that instruction is out of date, as SL uses Baselayout2/OpenGL, and that instruction is for Gentoo/SL using Baselayout1.

The correct file to edit in order to automatically load a module at start-up is /etc/conf.d/modules

For example, in my case I want the three modules vboxdrv vboxnetflt and vboxnetadp to be loaded automatically at start-up, so my /etc/conf.d/modules looks like this:

Code: Select all
# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="ieee1394 ohci1394"
#module_ieee1394_args_2_6_23="tun ieee1394"
#module_ieee1394_args_2_6="tun"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules="vboxdrv vboxnetflt vboxnetadp"

In your case you would have modules="ndiswrapper"
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7998
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Netgear WN111v2 Atheros Chipset

Postby buzzard333 » Sun Jul 10, 2011 21:38

thx for the info all, will try this and report back....
buzzard333
Baby Hen
 
Posts: 3
Joined: Fri Jul 08, 2011 16:57

Re: Netgear WN111v2 Atheros Chipset

Postby buzzard333 » Mon Jul 11, 2011 17:09

hmm okay so I tried all that and got the modules edited to load "ndiswrapper" @ boot but still can't seem to get the usb wifi working. Perhaps I have a wrong driver. even upon modprob ndiswrapper I have no results....I do know, with "ArtistX (ubuntu)" the wifi usb is instantly detected and in working order. I wonder if I can pull the drivers from that release and use it within Sabayon to get this working. Any suggestions and thx

P.S.
I shouldn't have to do:
Code: Select all
su
equo install ndiswrapper


do I? I'm able to do all the
Code: Select all
ndiswrapper -i blah_blah.inf    ndiswrapper -l

etc etc. Perhaps that was an older release to where you have to install ndiswrapper
buzzard333
Baby Hen
 
Posts: 3
Joined: Fri Jul 08, 2011 16:57

Re: Netgear WN111v2 Atheros Chipset

Postby Thev00d00 » Mon Jul 11, 2011 20:29

Can you post the output of the
Code: Select all
lsusb
command run as root? Thanks!

NDISWrapper is horrific hack so we dont want to use that, make sure the module is unloaded and things before proceeding.

Your chip is actually supported by a "proper" linux module ar9170. This driver is (afaik) in the sabayon kernel, so you should be able to (as root)
Code: Select all
modprobe ar9170usb


and your adapter should appear in :
Code: Select all
iwconfig


Then networkmanger should do the rest for you....
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
Thev00d00
Generally Awesome (tm)
 
Posts: 1472
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest