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 :/ anyone who knows a solution for my problem?


NETGEAR WNA1100
(11 posts) (3 voices)-
Posted 12 years ago #
-
- I need the usbiids of the Netgear WNA1100 wifi chipset to determine the correct kernel driver and firmware.
- Identify your kernel so if I have to compile a driver from source it's compatible.
Boot into slitaz with wifi adapter inserted in USB port.
Open the terminal.
Type
lsusb
Hit Enter
Post the output.Type
uname -a
Hit Enter
Post the output.Posted 12 years ago # -
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"
Posted 12 years ago # -
- ath9k_htc is the match for 0846:9030
- Stop networking
- List loaded kernel modules
- Unload ath9k_htc if listed
- Install firmware
- List network devices
- Load ath9k_htc
- Verify wifi device registered (wlan0,ra0,eth1)
- Start networking
- Configure network
root@slitaz:~# grep v0846p9030 /lib/modules/2.6.37-slitaz/modules.alias
alias usb:v0846p9030d*dc*dsc*dp*ic*isc*ip* ath9k_htcOpen terminal,su,password: root
# /etc/init.d/network.sh stop
# lsmod
# modprobe -r ath9k_htc
# tazpkg install firmware-atheros-20120625.tazpkg
# ls /sys/class/net
# modprobe ath9k_htc
# ls /sys/class/net
# /etc/init.d/network.sh start
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.confPosted 12 years ago # -
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 deviceroot@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.tazpkgUnable 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:0x8800lo 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#Posted 12 years ago # -
- The wifi adapter is not initializing:
- Install firmware:
- Open 2 terminals.
- Terminal 1 will monitor kernel messages:
- Terminal 2 is for commands:
- Unload ath9k_htc :
- Verify ath9k_htc is not loaded:
- Load ath9k_htc:
- Do you see a device other than dummy0 eth0 lo ?
ls /sys/class/net
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.# tazpkg install firmware-atheros-20120625.tazpkg
tail -f /var/log/messages
Hit Enter key
Go to the other terminalsu password: root
# modprobe -r ath9k_htc
# lsmod
# modprobe ath9k_htc
# ls /sys/class/net
No new wifi device:
Copy/paste kernel messages from Terminal 1 triggered when you loaded ath9k_htc related to wifi adapter,firmwarePosted 12 years ago # -
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 usePosted 12 years ago # -
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:
# tazpkg install firmware-atheros-20120625.tazpkg
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.Posted 12 years ago # -
You sir, are a hero. My wifi is now working, thank you very much :)
Posted 12 years ago # -
Thank you, the gratitude is appreciated. \^-^/
Posted 12 years ago # -
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! ))))Posted 12 years ago #
Topic Closed
This topic has been closed to new replies.