SliTaz SliTaz Forum

You are not logged in.

#1 2013-02-22 16:08:33

am53n8
Member
Registered: 2013-02-22
Posts: 5

NETGEAR WNA1100

I installed SliTaz, but my wireless doesn't work. I couldn't find a solution anywhere, and thought maybe it's a kernel issue, so I wanted to compile a new kernel, but that's a bit to difficult I guess hmm anyone who knows a solution for my problem?

Offline

#2 2013-02-22 18:25:50

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: NETGEAR WNA1100

[*]I need the usbiids of the Netgear WNA1100 wifi chipset to determine the correct kernel driver and firmware.

Boot into slitaz with wifi adapter inserted in USB port.

Open the terminal.

Type

[c]lsusb[/c]

Hit Enter

Post the output.
[*]Identify your kernel so if I have to compile a driver from source it's compatible.

Type

[c]uname -a[/c]

Hit Enter

Post the output.

Online

#3 2013-02-22 19:34:53

am53n8
Member
Registered: 2013-02-22
Posts: 5

Re: NETGEAR WNA1100

I uplugged it, ran the lsusb command, plugged it in again, ran the lsusb command again and found it: "Bus 003 Device 005: ID 0846:9030"

the uname -a command shows "Linux slitaz 2.6.37-slitaz #2 SMP Wed Mar 1 10:36:39 CET 2012 i686 GNU/Linux"

Offline

#4 2013-02-22 23:43:22

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: NETGEAR WNA1100

ath9k_htc is the match for 0846:9030

root@slitaz:~# grep v0846p9030 /lib/modules/2.6.37-slitaz/modules.alias

alias usb:v0846p9030d*dc*dsc*dp*ic*isc*ip* ath9k_htc

Open terminal,su,password: root
[*]Stop networking

[c]# /etc/init.d/network.sh stop[/c]
[*]List loaded kernel modules

[c]# lsmod[/c]
[*]Unload ath9k_htc if listed

[c]# modprobe -r ath9k_htc[/c]
[*]Install firmware

[c]# tazpkg install firmware-atheros-20120625.tazpkg[/c]
[*]List network devices

[c]# ls /sys/class/net[/c]
[*]Load ath9k_htc

[c]# modprobe ath9k_htc[/c]
[*]Verify wifi device registered (wlan0,ra0,eth1)

[c]# ls /sys/class/net[/c]
[*]Start networking

[c]# /etc/init.d/network.sh start[/c]
[*]Configure network

Applications / System Tools / Wifi configuration

Important info:

Slitaz can't associate to hidden networks,the wifi router must broadcast it's name (ESSID).

The network script can only manage one network adapter at a time.

If you fail to configure wifi you will have to reconfigure ethernet before you can use it.

If you can't connect post output:

ls /sys/class/net

iwlist scan

iwconfig

ifconfig

cat /etc/network.conf

Online

#5 2013-02-25 11:36:17

am53n8
Member
Registered: 2013-02-22
Posts: 5

Re: NETGEAR WNA1100

So, here I am again. I did what you told me to do, but at step 7 there was still nothing... I also tried the 3.2.14 linux kernel, but that one gave me a kernel panic, and the rolling release live cd also gives me a kernel panic... But here is the output of the terminal:

tux@slitaz:~$ su

Password:

root@slitaz:/home/tux#  /etc/init.d/network.sh stop

Stopping all interfaces

ifconfig: SIOCGIFFLAGS: No such device

Killing all daemons

wlan0     No such device

root@slitaz:/home/tux# lsmod

Module                  Size  Used by    Not tainted

snd_cs4236             20908  0

snd_wavefront          24296  0

snd_wss_lib            15007  2 snd_cs4236,snd_wavefront

snd_opl3_lib            5798  2 snd_cs4236,snd_wavefront

snd_hwdep               3808  2 snd_wavefront,snd_opl3_lib

snd_mpu401              3548  0

snd_mpu401_uart         3975  3 snd_cs4236,snd_wavefront,snd_mpu401

snd_rawmidi            12384  2 snd_wavefront,snd_mpu401_uart

floppy                 41138  0

snd_seq_device          3757  2 snd_opl3_lib,snd_rawmidi

parport_pc             16061  0

parport                20983  1 parport_pc

button                  3602  0

snd_intel8x0           19786  1

snd_ac97_codec         77963  1 snd_intel8x0

ac97_bus                 718  1 snd_ac97_codec

snd_pcm                43737  4 snd_cs4236,snd_wss_lib,snd_intel8x0,snd_ac97_codec

snd_timer              12515  3 snd_wss_lib,snd_opl3_lib,snd_pcm

snd                    33394 15 snd_cs4236,snd_wavefront,snd_wss_lib,snd_opl3_lib,snd_hwdep,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer

soundcore               3357  1 snd

snd_page_alloc          4853  3 snd_wss_lib,snd_intel8x0,snd_pcm

sis_agp                 2997  1

agpgart                18221  1 sis_agp

ath9k_htc              30263  0

mac80211              145388  1 ath9k_htc

ath9k_common            1281  1 ath9k_htc

ath9k_hw              226122  2 ath9k_htc,ath9k_common

ath                     9811  2 ath9k_htc,ath9k_hw

cfg80211               99896  3 ath9k_htc,mac80211,ath

rfkill                 10682  1 cfg80211

root@slitaz:/home/tux# modprobe -r ath9k_htc

root@slitaz:/home/tux# tazpkg install firmware-ath9k_htc-20120625.tazpkg

Unable to find: /home/tux/firmware-ath9k_htc-20120625.tazpkg

root@slitaz:/home/tux# tazpkg install firmware-ath9k_htc-20120625.tazpkg

Installation of : firmware-ath9k_htc

================================================================================

Copying firmware-ath9k_htc...                                        [ OK ]

Extracting firmware-ath9k_htc...                                     [ OK ]

Extracting the pseudo fs... (lzma)                                   [ OK ]

Installing firmware-ath9k_htc...                                     [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

firmware-ath9k_htc (20120625) is installed.

root@slitaz:/home/tux# ls /sys/class/net

dummy0  eth0    lo

root@slitaz:/home/tux# modprobe ath9k_htc

root@slitaz:/home/tux# ls /sys/class/net

dummy0  eth0    lo

root@slitaz:/home/tux# /etc/init.d/network.sh start

Starting udhcpc client on: eth0...

udhcpc (v1.18.4) started

Sending discover...

Sending discover...

Sending discover...

No lease, forking to background

root@slitaz:/home/tux# ls /sys/class/net

dummy0  eth0    lo

root@slitaz:/home/tux# iwlist scan

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

dummy0    Interface doesn't support scanning.

root@slitaz:/home/tux# iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

dummy0    no wireless extensions.

root@slitaz:/home/tux# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:E0:18:D3:66:6D

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Interrupt:19 Base address:0x8800

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:807 errors:0 dropped:0 overruns:0 frame:0

          TX packets:807 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:167318 (163.3 KiB)  TX bytes:167318 (163.3 KiB)

root@slitaz:/home/tux# cat /etc/network.conf

# /etc/network.conf: SliTaz system wide networking configuration.

# Config file used by: /etc/init.d/network.sh

#

# Set default interface.

INTERFACE="eth0"

# Dynamic IP address.

# Enable/disable DHCP client at boot time.

DHCP="yes"

# Static IP address.

# Enable/disable static IP at boot time.

STATIC="no"

# Set IP address and netmask for a static IP.

IP="192.168.0.6"

NETMASK="255.255.255.0"

# Set route gateway for a static IP.

GATEWAY="192.168.0.1"

# Set DNS server for a static IP.

DNS_SERVER="192.168.0.1"

# Wifi connection.

# Enable/disable wireless connection at boot time.

WIFI="no"

# Wifi interface (iwconfig) and ESSID.

WIFI_INTERFACE="wlan0"

WIFI_ESSID="any"

WIFI_MODE="managed"

WIFI_KEY=""

WIFI_KEY_TYPE="none"

WPA_DRIVER=""

WIFI_CHANNEL=""

WIFI_IWCONFIG_ARGS=""

root@slitaz:/home/tux#

Offline

#6 2013-02-25 15:05:41

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: NETGEAR WNA1100

The wifi adapter is not initializing:

[c]ls /sys/class/net[/c] shows the same devices dummy0 eth0 lo before and after loading ath9k_htc.

If ath9k_htc kernel module is loaded without the firmware installed, ath9k_htc  must be unloaded, the firmware installed,then ath9k_htc loaded.
[*]Install firmware:

[c]# tazpkg install firmware-atheros-20120625.tazpkg[/c]
[*]Open 2 terminals.

[*]Terminal 1 will monitor kernel messages:

[c]tail -f /var/log/messages[/c]

Hit Enter key

Go to the other terminal
[*]Terminal 2 is for commands:

su password: root
[*]Unload ath9k_htc :

[c]# modprobe -r ath9k_htc[/c]
[*]Verify ath9k_htc is not loaded:

[c]# lsmod[/c]
[*]Load ath9k_htc:

[c]# modprobe ath9k_htc[/c]
[*]Do you see a device other than dummy0 eth0 lo ?

[c]# ls /sys/class/net[/c]

No new wifi device:

Copy/paste kernel messages from Terminal 1 triggered when you loaded ath9k_htc related to wifi adapter,firmware

Online

#7 2013-02-25 16:39:26

am53n8
Member
Registered: 2013-02-22
Posts: 5

Re: NETGEAR WNA1100

And again no other device... One thing I noticed is the "Feb 25 15:27:31 (none) user.warn kernel: ath9k_hif_usb: probe of 3-1.1:1.0 failed with error -22" message when starting the tail command, any idea what that is? Anyway, here is the output:

root@slitaz:~# tail -f /var/log/messages

Feb 25 15:27:31 (none) user.err kernel: usb 3-1.1: ath9k_htc: Firmware - ar9271.fw not found

Feb 25 15:27:31 (none) user.warn kernel: ath9k_hif_usb: probe of 3-1.1:1.0 failed with error -22

Feb 25 15:27:31 (none) user.info kernel: usbcore: registered new interface driver ath9k_hif_usb

Feb 25 15:27:32 (none) daemon.err udevd[2217]: bind failed: Address already in use

Feb 25 15:27:32 (none) user.notice error binding udev control socket

Feb 25 15:27:32 (none) daemon.err udevd[2217]: error binding udev control socket

Feb 25 15:27:32 (none) daemon.err udevd[2218]: bind failed: Address already in use

Feb 25 15:27:32 (none) user.notice error binding udev control socket

Feb 25 15:27:32 (none) daemon.err udevd[2218]: error binding udev control socket

Feb 25 15:28:58 (none) user.debug kernel: mtrr: no MTRR for f0000000,3ff0000 found

>>>> modprobe -r ath9k_htc >> Feb 25 15:35:24 (none) user.info kernel: usbcore: deregistering interface driver ath9k_hif_usb

Feb 25 15:35:24 (none) user.info kernel: ath9k_htc: Driver unloaded

Feb 25 15:35:24 (none) daemon.err udevd[2505]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2505]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2506]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2506]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2507]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2507]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2508]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2508]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2509]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2509]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2510]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2512]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2512]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2514]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2514]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2513]: bind failed: Address already in use

>>> modprobe ath9k_htc>>>> Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2513]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2510]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2511]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2511]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2515]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2515]: error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2516]: bind failed: Address already in use

Feb 25 15:35:24 (none) user.notice error binding udev control socket

Feb 25 15:35:24 (none) daemon.err udevd[2516]: error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2534]: bind failed: Address already in use

Feb 25 15:35:43 (none) user.notice error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2534]: error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2535]: bind failed: Address already in use

Feb 25 15:35:43 (none) user.notice error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2535]: error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2536]: bind failed: Address already in use

Feb 25 15:35:43 (none) user.notice error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2536]: error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2538]: bind failed: Address already in use

Feb 25 15:35:43 (none) user.notice error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2538]: error binding udev control socket

Feb 25 15:35:43 (none) user.info kernel: cfg80211: Calling CRDA to update world regulatory domain

Feb 25 15:35:43 (none) daemon.err udevd[2539]: bind failed: Address already in use

Feb 25 15:35:43 (none) user.notice error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2539]: error binding udev control socket

Feb 25 15:35:43 (none) daemon.err udevd[2540]: bind failed: Address already in use

Offline

#8 2013-02-25 18:31:53

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: NETGEAR WNA1100

I'm not familiar with the error you point out but this is significant:

Feb 25 15:27:31 (none) user.err kernel: usb 3-1.1: ath9k_htc: Firmware - ar9271.fw not found

Your wifi chipset requires ath9k_htc driver and not htc firmware.

Install new firmware tazpkg which includes ar9271.fw:

[c]# tazpkg install firmware-atheros-20120625.tazpkg[/c]

Redo instructions from Step 2. in my previous reply.

The new firmware-atheros-20120625.tazpkg includes:

Installed files with: firmware-atheros

================================================================================

/lib/firmware/ar7010_1_1.fw

/lib/firmware/ar7010.fw

/lib/firmware/ar9170-1.fw

/lib/firmware/ar9170-2.fw

/lib/firmware/ar9271.fw

/lib/firmware/htc_7010.fw

/lib/firmware/htc_9271.fw

/usr/share/licenses/LICENCE.atheros_firmware

================================================================================

8 files installed with firmware-atheros.

Online

#9 2013-02-25 21:06:15

am53n8
Member
Registered: 2013-02-22
Posts: 5

Re: NETGEAR WNA1100

You sir, are a hero. My wifi is now working, thank you very much smile

Offline

#10 2013-02-25 21:18:23

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: NETGEAR WNA1100

Thank you, the gratitude is appreciated. \^-^/

Online

#11 2013-03-01 07:02:07

sorry_one
Member
Registered: 2013-03-01
Posts: 25

Re: NETGEAR WNA1100

Thank you! This help's me with my TP-Link TL-WN821N.

There was an "error loading ar7010_1_1.fw" in /var/log/messages

All work's fine after installing your firmware! ))))

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]