Help with the thinkpenguin wireless USB adapter N

4 respostas [Última entrada]
a_slacker_here
Desconectado
Joined: 06/30/2013

Greetings ladies and gentlemen.

I've bought the USB wifi adapter from Thinkpenguin and I can't make it work.

https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb

I have the carl driver installed in the system:

user@debian:/lib/firmware$ ls
av7110 cis isci usbdux_firmware.bin
b43 dsp56k keyspan_pda usbduxsigma_firmware.bin
carl9170-1.fw hp usbduxfast_firmware.bin

I think that the system detects the device in the USB:

root@debian:/lib/firmware# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 008 Device 003: ID 064e:c107 Suyin Corp. HP webcam [dv6-1190en]
Bus 003 Device 002: ID 13ee:0001 MosArt

I'm trying this on Debian 7 but I've used the livecd of Trisquel 6 to test it and I couldn't even list the wireless networks. In Trisquel 6 I could see carl9170.fw in lib/firmware/.

¿What am I doing wrong?

I don't know if this helps but.

root@debian:/lib/firmware# iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11abg ESSID:"MOVISTAR_FRANK"
Mode:Managed Frequency:2.427 GHz Access Point: A4:52:6F:EB:C9:0A
Bit Rate=18 Mb/s Tx-Power=200 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=45/70 Signal level=-65 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

root@debian:/lib/firmware# ifconfig
eth0 Link encap:Ethernet HWaddr 00:23:8b:11:0e:ec
UP BROADCAST 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:48 Base address:0x4000

eth0:avahi Link encap:Ethernet HWaddr 00:23:8b:11:0e:ec
inet addr:169.254.7.65 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:48 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:720 errors:0 dropped:0 overruns:0 frame:0
TX packets:720 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:66590 (65.0 KiB) TX bytes:66590 (65.0 KiB)

wlan0 Link encap:Ethernet HWaddr 00:21:00:71:c9:ec
inet addr:192.168.1.179 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:ff:fe71:c9ec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4006 errors:0 dropped:0 overruns:0 frame:1394424
TX packets:4067 errors:13 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3145250 (2.9 MiB) TX bytes:606723 (592.5 KiB)
Interrupt:16

Michał Masłowski

I am a member!

I am a translator!

Desconectado
Joined: 05/15/2010

It's AR9271 using the ath9k_htc driver; carl9170 is for different
(older) hardware. Get the firmware from
e.g. http://jxself.org/ath9k-htc/. dmesg will show if your kernel loads
the firmware.

a_slacker_here
Desconectado
Joined: 06/30/2013

Thank you, it works like a charm.

Sorry, but is this firmware packaged for Trisquel?

And, can I change the kernel without problems?

mYself
Desconectado
Joined: 01/18/2012

> Sorry, but is this firmware packaged for Trisquel?

Yes, and it comes with the system updates, but that firmware is kind of outdated now (version 1.3 vs 1.4). If you want to test the latest development code, you can download pre-built binaries here. From my testing, this adapter (TPE-N150USB) was causing me frequent network drops, and even _system_crashes_, and after a circa 3/4 year of usage I definitely cannot recommend it. Once I switched the internal wireless card at the end of December 2013, all my troubles regarding wireless disappeared, and to date I've not experienced a single problem. If you want a better solution, take an AR5B22 based card from eBay.

Regarding the firmwares, they are packaged in Trisquel under the following names:

* ath9k_htc is packaged as open-ath9k-htc-firmware
* carl9170 is packaged as firmware-carl9170
* ar9170usb (deprecated, replaced by carl9170) is packaged as atheros-firmware

> And, can I change the kernel without problems?

Yes. From my testing, the kernel driver was whitelisted since these releases (tested on a 64-bit system):

* linux-image-3.2.0-45-generic, and later
* linux-image-3.5.0-34-generic, and later

All later kernels (e.g. linux-image-3.11.0-xx-generic), including vanilla Linux-libre kernels should work too.

megurineturilli
Desconectado
Joined: 01/10/2012

No the firmware is not packed for Trisquel 6.0. Trisquel 6.0.1 comes with a newer version of linux-libre and preinstalled firmware.