Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Netgear WNA1100 (N150 Wireless USB Adapter)

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
43 posts
  • Previous
  • 1
  • 2
Author
Message
Loko123
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Sat Feb 05, 2011 7:05 pm

  • Quote

Post by Loko123 » Sat Oct 29, 2011 6:41 am

I´ve got the same problem on my fresh ~amd64 install... :-(

The strange thing is, that the USB Adapter is working like a charm on SystemRescueCd-x86-2.3.1. As SystemRescueCd is also Gentoo based, I am sure that it is also working with the default Gentoo build. I think we forgot an USB driver module.

Loko123
Top
Loko123
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Sat Feb 05, 2011 7:05 pm

  • Quote

Post by Loko123 » Sat Oct 29, 2011 7:13 am

I compiled every USB driver in my kernel (* prefix) - But it is still not working...

The stick is going to be initialized before mounting the root fs. After that, the system don't recognize the stick anymore. :(
Top
Gusar
Advocate
Advocate
Posts: 2665
Joined: Sat Apr 09, 2005 10:19 pm
Location: Slovenia

  • Quote

Post by Gusar » Sat Oct 29, 2011 7:36 am

ath9k_htc devices require firmware. So install linux-firmware. Also, compile the driver as a module.
Top
Loko123
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Sat Feb 05, 2011 7:05 pm

  • Quote

Post by Loko123 » Sat Oct 29, 2011 11:03 am

Thanks Gusar! Now it works like a charm! :-)
Top
gentooP4
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Mon Sep 20, 2010 3:54 pm
Location: NZ

  • Quote

Post by gentooP4 » Sat Oct 29, 2011 5:54 pm

Gusar wrote:
gentooP4 wrote:Gusar, yes I am.
But of course you are. Which makes it very, very obvious what the issue is.
Well please enlighten me then
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Top
gentooP4
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Mon Sep 20, 2010 3:54 pm
Location: NZ

  • Quote

Post by gentooP4 » Sat Oct 29, 2011 5:57 pm

DONAHUE wrote:everything except ifconfig says it works
modprobe ath9k_htc returns, FATAL module not found
does not fit with the lsmod result. modprobe for an already installed module should just return with no printed output.

reboot and as soon as up

Code: Select all

dmesg | wgetpaste
and post url
when convenient boot mint and compare dmesg

time for the drill or blow $20 on a not netgear not atheros not broadcom dongle. I'd send you my broadcom chip netgear packaged dongle ... but ... it has no linux driver ... not even one that doesn't work ...
Please see below DONAHUE, thanks for you continued assistance!
http://paste.pocoo.org/show/500089/
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sat Oct 29, 2011 6:37 pm

@ Loko123 could you

Code: Select all

 dmesg | wgetpaste
lsmod | wgetpaste
wgetpaste /usr/src/linux/.config
and post url's so gentooP4 could compare?

@ P4 the dmesg looks good also but ..
Defund the FCC.
Top
Loko123
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Sat Feb 05, 2011 7:05 pm

  • Quote

Post by Loko123 » Sat Oct 29, 2011 10:23 pm

DONAHUE wrote:@ Loko123 could you

Code: Select all

 dmesg | wgetpaste
lsmod | wgetpaste
wgetpaste /usr/src/linux/.config
and post url's so gentooP4 could compare?

@ P4 the dmesg looks good also but ..
Sorry... :$ I forgot to mention, that it is also necessary to compile some modules. I'll attach it as code. :)

Code: Select all

[*] Networking support --->
  -*- Wireless
    <*> cfg80211 - wireless configuration API
    [*] enable powersave by default
    [*] cfg80211 wireless extensions compatibility
    [*] Wireless extensions sysfs files
    <M> Common routines for IEEE802.11 drivers
    <M> Generic IEEE 802.11 Networking Stack (mac80211)
    [*] Minstrel
    [*]   Minstrel 802.11n support

Device Drivers --->
    Generic Driver Options --->
    [*] Prevent firmware from being built
    -*- Userspace firmware loading support
    [*] Include in-kernel firmware blobs in kernel binary
  [*] Network device support --->
    [*] Wireless LAN --->
      <M> Atheros Wireless Cards --->
      <M> Atheros HTC based wireless cards support
After that I have emerged linux-firmware, made a reboot and suddenly the stick has worked like a charm. :)

Loko123
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun Oct 30, 2011 7:33 am

@ Loko123

Code: Select all

emerge wgetpaste
dmesg | wgetpaste 
lsmod | wgetpaste 
wgetpaste /usr/src/linux/.config
and post the url's still might be helpful

@gusar
But of course you are. Which makes it very, very obvious what the issue is.
Not that obvious. What is the issue you see?
[*] Minstrel
[*] Minstrel 802.11n support
could be the magic bullet
[*] Include in-kernel firmware blobs in kernel binary
should not matter unless you told the kernel to build in some ath9k firmware in the line
( ) External firmware blobs to build into the kernel binary
which would expose the line
(firmware) Firmware blobs root directory (NEW)
Defund the FCC.
Top
gentooP4
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Mon Sep 20, 2010 3:54 pm
Location: NZ

  • Quote

Post by gentooP4 » Thu Nov 03, 2011 9:12 pm

Still no luck with this. I don't appear to have this option

Code: Select all

[*] Minstrel 802.11n support
it's more like

Code: Select all

-*- Minstrel
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Thu Nov 03, 2011 11:45 pm

-*- Minstrel means other choices have automatically enabled it.
Defund the FCC.
Top
gentooP4
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Mon Sep 20, 2010 3:54 pm
Location: NZ

  • Quote

Post by gentooP4 » Mon Nov 07, 2011 11:23 pm

Getting closer! (I think?)

I think I'm getting the wpa_supplicant application to recognise my USB dongle, these are the instructions I followed ....
Linux Sea wrote:Using wpa_supplicant for WPA Encrypted Networks
The wpa_supplicant tool is a software component which controls the wireless connection between
your system and an access point. A major advantage of wpa_supplicant over the previously described
wireless tools is its support for WPA/WPA2.
Before you can use wpa_supplicant, you first need to install it:

Code: Select all

# emerge -a wpa_supplicant
Accessing a Wireless Network
You need to configure your wpa_supplicant to support the wireless network(s) you want to access.
Suppose that your home network is called "home" and is a secured (WPA) environment with key
"myHomeKey" and at your work there is a wireless network called "CompanyGuests", secured (WPA)
environment with key "myCompanyKey" and a third network at your local computer club called
"hobby", not secured, then the following wpa_supplicant.conf configuration could work:

Code: Select all

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="home" ***I updated this of course***
psk="myHomeKey" ***and this one**
}
You can copy/paste the resulting information in wpa_supplicant.conf and remove the
(commented) plain-text key information.
If your wireless card is found by Linux (and its powered on), then running the following command
will activate the wpa_supplicant on top of it (assume the wireless interface is called wlan0):

Code: Select all

# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
One interesting option is the -D option: with this you select the wireless driver to use. With -Dwext,
we use the Linux wireless extensions (which is quite generic). In certain cases you might need to use a
different driver - the Internet has many resources on how to configure your specific wireless network
card with Linux if the Linux wireless extensions don't work.
Of course, once the configuration file is finished, you can use Gentoo's networking scripts as well.

First, edit /etc/conf.d/net to use wpa_supplicant:

Code: Select all

modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"
To have the wireless support active when you boot up your system, enable the net.wlan0 init script.
If /etc/init.d/net.wlan0 doesn't exist yet, first create it:

Code: Select all

# cd /etc/init.d
# ln -s net.lo net.wlan0
Next, add the net.wlan0 init script to the default runlevel:

Code: Select all

# rc-update add net.wlan0 default
The light is now flashing intermittently but the application doesn't manage to connect.
It did find other wireless networks (neighbours) which I thought was a good sign!

Also during boot I get a message along the lines of "wlan0 found but not active" or words to that effect.

Many thanks
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Mon Nov 07, 2011 11:46 pm

that should mean that running ifconfig -a and ifconfig shows wlan0, major progress if so.

if you have USE="qt4" in /etc/make.conf or net-wireless/wpa_supplicant qt4 in /etc/portage/package.use and you

Code: Select all

emerge wpa_supplicant
you will have a GUI interface, wpa_gui, to manage network connections with.

hide passphrase but post results of

Code: Select all

cat /etc/conf.d/net
ls /etc/init.d/net*
rc-update show
cat /etc/wpa_supplicant/wpa_supplicant.conf 
Defund the FCC.
Top
gentooP4
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Mon Sep 20, 2010 3:54 pm
Location: NZ

  • Quote

Post by gentooP4 » Fri Nov 11, 2011 1:04 pm

Hello DONAHUE,

Please see below outputs:

Code: Select all

hayden@sidcup ~ $ cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "dhcp" )
modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"

Code: Select all

hayden@sidcup ~ $ ls /etc/init.d/net*
/etc/init.d/net.eth0  /etc/init.d/net.wlan0  /etc/init.d/network
/etc/init.d/net.lo    /etc/init.d/netmount

Code: Select all

hayden@sidcup ~ $ sudo rc-update show
            alsasound | boot                                          
             bootmisc | boot                                          
          consolefont | boot                                          
           consolekit |      default                                  
                 dbus |      default                                  
                devfs |                                        sysinit
        device-mapper | boot                                          
                dmesg |                                        sysinit
                 fsck | boot                                          
             hostname | boot                                          
              hwclock | boot                                          
              keymaps | boot                                          
            killprocs |                        shutdown               
                local |      default nonetwork                        
           localmount | boot                                          
              modules | boot                                          
             mount-ro |                        shutdown               
                 mtab | boot                                          
             net.eth0 |      default                                  
               net.lo | boot                                          
            net.wlan0 |      default                                  
             netmount |      default                                  
               procfs | boot                                          
                 root | boot                                          
            savecache |                        shutdown               
                 swap | boot                                          
               sysctl | boot                                          
            syslog-ng |      default                                  
         termencoding | boot                                          
                 udev |                                        sysinit
       udev-postmount |      default                                  
              urandom | boot                                          
           vixie-cron |      default                                  
                  xdm |      default 
No quite in the same directory, does this matter?

Code: Select all

hayden@sidcup ~ $ cat /etc/wpa_supplicant.conf 
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
ssid="BThub3-4RGK"
proto=WPA2
psk="my password goes here"
}

#network={
#ssid="CompanyGuests"
#psk="myCompanyKey"
#}

#network={
#ssid="hobby"
#key_mgmt=NONE
#}
Many thanks!
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Fri Nov 11, 2011 2:13 pm

Not quite in the same directory, does this matter?
It is the wrong place.

Code: Select all

mv /etc/wpa_supplicant.conf  /etc/wpa_supplicant/wpa_supplicant.conf
nano /etc/wpa_supplicant/wpa_supplicant.conf
edit to add
update_config=1
ap_scan=1
after ctrl_interface_group=wheel
then

Code: Select all

/etc/init.d/net.wlan0 restart
my current network entry fabricated by wpa_gui is:
network={
ssid="myssid"
psk="my psk"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}
You might try matching it or using wpa_gui if your performance is still problematic.

Were you able to tell what finally caused the driver to start driving your interface?
Defund the FCC.
Top
gentooP4
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Mon Sep 20, 2010 3:54 pm
Location: NZ

  • Quote

Post by gentooP4 » Fri Nov 11, 2011 8:08 pm

It's working!! 8) 8)

Thanks a million for your assistance again DONAHUE! 8)

And no, I didn't quite figure out the kernel config exactly. It was mostly trial and error around the settings you suggested until a reboot eventually lighted up the stick.

Very happy!
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Fri Nov 11, 2011 8:11 pm

god speed
Defund the FCC.
Top
rg.viza
n00b
n00b
User avatar
Posts: 11
Joined: Fri Mar 23, 2012 5:15 pm

  • Quote

Post by rg.viza » Fri Mar 30, 2012 12:35 am

+1 to this thread. It helped me get my driver working. From there it was easy :)
Top
Post Reply

43 posts
  • Previous
  • 1
  • 2

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic