Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A WiFi modem came with my new TCL TV, model PW-DN9210D. On my Kubuntu box lsusb shows it as an Atheros AR9271. ifconfig shows it, but without an address. Modules loaded include ath9k and associated which are normally loaded for the internal modem.
Initially I was only going to ask what the button on the side of the modem was for (no documentation supplied).
I've checked the HCL and found 2 entries, one of which indicates the button is for encryption. The modem reviewed was from a different maker but the function is probably the same. I won't be using it.
The entry did indicate that the modules I have loaded for the internal modem are sufficient, but mentioned firmware in the kernel(?).
Do I need to update my Kubuntu 12.04 3.2.0-58-generic-pae to something more recent? I've built many kernels when using Gentoo, but have yet to do it the "Ubuntu Way."
Edit - more info
It gets no IP address.
Code:
wlan1 Link encap:Ethernet HWaddr 6c:xx:xx:xx:xx:xx
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)
Code:
562 15:54:35 ~ $ iwconfig
lo no wireless extensions.
eth2 IEEE 802.11abg ESSID:off/any
Mode:Managed Access Point: Not-Associated
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
wlan1 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
eth0 no wireless extensions.
563 15:55:15 ~ $ iwlist scan
lo Interface doesn't support scanning.
eth2 No scan results
wlan1 No scan results
eth0 Interface doesn't support scanning.
564 15:56:22 ~ $ iwlist scan
lo Interface doesn't support scanning.
eth2 No scan results
wlan1 Scan completed :
Cell 01 - Address: D8:xx:yy:zz:yy:xx
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=27/70 Signal level=-83 dBm
Encryption key:on
ESSID:"HomeNet"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s
Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
...
eth0 Interface doesn't support scanning.
564 15:56:56 ~ $ iwlist scan
lo Interface doesn't support scanning.
eth2 No scan results
wlan1 No scan results
eth0 Interface doesn't support scanning.
564 15:58:18 ~ $ iwlist scan
lo Interface doesn't support scanning.
eth2 Scan completed :
Cell 01 - Address: D8:xx:yy:zz:yy:xx
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=70/70 Signal level=-20 dBm
Encryption key:on
ESSID:"HomeNet"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s
Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
...
wlan1 No scan results
eth0 Interface doesn't support scanning.
564 15:58:35 ~ $
I'm confused. Three successive "iwlist scan" give 3 different responses. The USB modem with the AR9271 is not responding. The Address: D8... does not match any HWaddr.
I get the following in /var/log/syslog (slightly modified) when the modem is attached. I don' see any problems...
Code:
Jan 12 16:17:58 HP-JEH kernel: [17415.969641] usb 1-1.2.2: new high-speed USB device number 16 using ehci_hcd
Jan 12 16:17:59 HOME kernel: [17416.385568] usb 1-1.2.2: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
Jan 12 16:17:59 HOME kernel: [17416.620607] ath9k_htc 1-1.2.2:1.0: ath9k_htc: HTC initialized with 33 credits
Jan 12 16:17:59 HOME kernel: [17416.812607] ath9k_htc 1-1.2.2:1.0: ath9k_htc: FW Version: 1.3
Jan 12 16:17:59 HOME kernel: [17416.812614] ath: EEPROM regdomain: 0x809c
Jan 12 16:17:59 HOME kernel: [17416.812617] ath: EEPROM indicates we should expect a country code
Jan 12 16:17:59 HOME kernel: [17416.812620] ath: doing EEPROM country->regdmn map search
Jan 12 16:17:59 HOME kernel: [17416.812623] ath: country maps to regdmn code: 0x52
Jan 12 16:17:59 HOME kernel: [17416.812626] ath: Country alpha2 being used: CN
Jan 12 16:17:59 HOME kernel: [17416.812628] ath: Regpair used: 0x52
Jan 12 16:17:59 HOME kernel: [17416.812633] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
Jan 12 16:17:59 HOME kernel: [17416.812637] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
...
Jan 12 16:17:59 HOME kernel: [17416.812712] cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width channel with regulatory rule:
Jan 12 16:17:59 HOME kernel: [17416.812716] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jan 12 16:17:59 HOME kernel: [17416.812720] cfg80211: Disabling freq 2467 MHz as custom regd has no rule that fits a 20 MHz wide channel
Jan 12 16:17:59 HOME kernel: [17416.812724] cfg80211: Disabling freq 2472 MHz as custom regd has no rule that fits a 20 MHz wide channel
Jan 12 16:17:59 HOME kernel: [17416.812728] cfg80211: Disabling freq 2484 MHz as custom regd has no rule that fits a 20 MHz wide channel
Jan 12 16:17:59 HOME kernel: [17416.814918] cfg80211: Ignoring regulatory request Set by core since the driver requires its own regulatory domain to be set first
Jan 12 16:17:59 HOME kernel: [17416.816227] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
Jan 12 16:17:59 HOME kernel: [17416.816233] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
...
Jan 12 16:17:59 HOME kernel: [17416.816324] cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width channel with regulatory rule:
Jan 12 16:17:59 HOME kernel: [17416.816328] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jan 12 16:17:59 HOME kernel: [17416.816331] cfg80211: Disabling freq 2484 MHz
Jan 12 16:17:59 HOME kernel: [17416.816364] ieee80211 phy6: Atheros AR9271 Rev:1
Jan 12 16:17:59 HOME kernel: [17416.817155] Registered led device: ath9k_htc-phy6
Jan 12 16:17:59 HOME kernel: [17416.817162] usb 1-1.2.2: ath9k_htc: USB layer initialized
Jan 12 16:17:59 HOME NetworkManager[1251]: <info> found WiFi radio killswitch rfkill12 (at /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2:1.0/ieee80211/phy6/rfkill12) (driver (unknown))
Jan 12 16:17:59 HOME NetworkManager[1251]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2:1.0/net/wlan1, iface: wlan1)
Jan 12 16:17:59 HOME NetworkManager[1251]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2:1.0/net/wlan1, iface: wlan1): no ifupdown configuration found.
Jan 12 16:17:59 HOME NetworkManager[1251]: <info> (wlan1): using nl80211 for WiFi device control
Jan 12 16:17:59 HOME NetworkManager[1251]: <warn> (wlan1): driver supports Access Point (AP) mode
Jan 12 16:17:59 HOME NetworkManager[1251]: <info> (wlan1): new 802.11 WiFi device (driver: 'ath9k_htc' ifindex: 9)
Jan 12 16:17:59 HOME NetworkManager[1251]: <info> (wlan1): exported as /org/freedesktop/NetworkManager/Devices/7
Jan 12 16:17:59 HOME NetworkManager[1251]: <info> (wlan1): now managed
Jan 12 16:17:59 HOME NetworkManager[1251]: <info> (wlan1): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jan 12 16:17:59 HOME NetworkManager[1251]: <info> (wlan1): bringing up device.
Jan 12 16:18:00 HOME NetworkManager[1251]: <info> (wlan1): preparing device.
Jan 12 16:18:00 HOME NetworkManager[1251]: <info> (wlan1): deactivating device (reason 'managed') [2]
Jan 12 16:18:00 HOME kernel: [17417.041508] ADDRCONF(NETDEV_UP): wlan1: link is not ready
Jan 12 16:18:00 HOME kernel: [17417.042335] ADDRCONF(NETDEV_UP): wlan1: link is not ready
Jan 12 16:18:00 HOME NetworkManager[1251]: <info> (wlan1): supplicant interface state: starting -> ready
Jan 12 16:18:00 HOME NetworkManager[1251]: <info> (wlan1): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Jan 12 16:18:00 HOME NetworkManager[1251]: <info> (wlan1): supplicant interface state: ready -> inactive
Jan 12 16:18:00 HOME NetworkManager[1251]: <warn> Trying to remove a non-existant call id.
Thanks
Jim
Last edited by CollieJim; 01-12-2014 at 03:00 AM.
Reason: More information
as you suspected this needs firmware altho I don't use your distro in Debian its called
firmware-atheros
snip...Binary firmware for Atheros wireless cards This package contains the binary firmware for USB wireless network and Bluetooth cards supported by the ar5523, ar9170, ath3k, ath6kl_sdio, ath6kl_usb or ath9k_htc drivers.
list culled includes
* Atheros AR9271 firmware (ar9271.fw)
since you are using the internet you should be able to grab it and copy into your distro partition using root powers,
reboot into your distro and run
Code:
sudo dpkg -i firmware-atheros*.deb
this comes from the non-free repo so if your apt sources.list does not have non-free or you don't want to enable it you could try a direct download
YMMV
I downloaded it using your link. I cannot get it to install.
The first time using an emacs shell in Kubuntu the system froze and required cycling the power to recover. The display stopped at
Code:
Reading database (90% ...)
The second time from the command line with no X running:
Code:
(Reading database ... 514921 files and directories currently installed.)
Unpacking firmware-atheros (from firmware-atheros_0.40_all.deb) ...
dpkg: error processing firmware-atheros_0.40_all.deb (--install):
trying to overwrite '/lib/firmware/htc_7010.fw', which is also in package linux-firmware 1.79.9
dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe)
dpkg-deb: error: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
firmware-atheros_0.40_all.deb
537 16:57:34 ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 002: ID 0480:a009 Toshiba America Info. Systems, Inc.
Bus 001 Device 003: ID 138a:0018 Validity Sensors, Inc.
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 005: ID 0bda:58d8 Realtek Semiconductor Corp.
Bus 002 Device 003: ID 0a5c:21e3 Broadcom Corp.
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 007: ID 04d8:900a Microchip Technology, Inc. PICkit3
Bus 001 Device 008: ID 0557:8021 ATEN International Co., Ltd
Bus 001 Device 009: ID 046d:c31d Logitech, Inc.
Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90
Bus 001 Device 011: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Now is this wifi modem what we call a home wireless wifi device connecting to a home wireless device
or do you mean a device, sometimes needs a sim card
that I call a wireless internet device
sorry if that sounds confusing but wicd-gtk is for home wireless normally (or ethernet as well)
I've tried all the encryption possibilities that only want a passphrase but the phrase that works on 3 other machines is not accepted from this one, an HP Pavilion dv6.
Also, while I have its MAC address assigned a fixed IPv4 address in the router, ifconfig only shows an inet6 address for it. The wired connection gets its assigned v4 address.
Also, while I have its MAC address assigned a fixed IPv4 address in the router, ifconfig only shows an inet6 address for it. The wired connection gets its assigned v4 address
I may be reading this wrong so forgive me.
I can do a thing call MAC filtering, that is only specified MACs get to use my network
If your router has same security feature, the first thing you need to do temporarily is turn off MAC FILTERING
then check if your router talks to your hp wireless device.
2) I don't use KDE but I suspect wicd-kde should have same functions as the gtk model
3) now broadcom has a number of links for you to go thru
that last link has a number of commands to try, but to state the bleeding obvious
---we need you to disconnect the usb modem device......as you will notice a number of kernel modules mentioned that "might" need blacklisting
######################################
but I am not sure you have answered the usb modem question
what kind of device is this?.....I am still confused over your use of term wifi and modem as in australia
wifi means wireless for home router
but modem means wireless internet
can you clear this up?
also
is the device a part of the tv or separate?
that is, does the usb lead go into the tv to get access to it,
in which case your tv system menu may need to enable it
No MAC filtering. Any device can connect. I have 14 addresses pre-assigned for NFS control. Any other devices get the first available address outside the controlled range.
Sorry for the modem confusion. I'm trying to use the USB device to access the router's access point.
It came with the TV but appears to be an independent device. I just tried using it with the TV. It was recognised, but a bug in the TV did not allow entry of text for the A/P password. I did get a message saying "invalid password" so it appears that the device works.
Unfortunately now when I plug it into my HP, lsusb shows it but ifconfig does not. The TV did something to it.
If I had any marbles left, I'd be rapidly losing them...
I just tried the HP wireless again and got connected. The differences from previous times that I'm aware of are
- the wired connection was active (It got disconnected when the wireless connected)
- the USB device was not present in the ifconfig output.
Perhaps the USB device was causing the problem?
I'll implement the blacklist if I continue to have the problem, but since I normally use a wired connection it's not really an issue.
I may have to write it off. I'm not interested in "Smart TV"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.