Yes, I installed the firmware for the atheros according to the instructions from thinkpenguin. I have now removed firmware-ath9k-htc and wlan1 is again showing up. I didn’t install networkmanager or any other desktop-related package. And I am not bound to wicd.
I think the first step would be to get iw recognize the wireless extensions.
What to you mean with the interfaces file? /etc/network/interfaces contained
Code: Select all
auto lo
iface lo inet loopback
auto eth0.1
iface eth0.1 inet static
address 192.168.1.1
netmask 255.255.255.0
auto eth0.2
iface eth0.2 inet dhcp
from the beginning. I added:
Code: Select all
auto wlan1
iface wlan1 inet dhcp
wireless-essid <...>
but this didn’t change anything.
Here the output of dmesg. For the Realtek removed and reattached:
Code: Select all
[ 734.280000] usb 1-1: USB disconnect, device number 2
[ 740.396000] usb 1-1: new high-speed USB device number 5 using xhci-hcd
[ 740.428000] add_ep parameters, dev_speed 3, is_in 1, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x9be46e80, ep_ctx 0xbbd32080, sch_ep 0x9bd37c80
[ 740.456000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[ 740.456000] [DBG] BOFFSET: 0, BREPEAT: 0
[ 740.456000] add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x9be46eac, ep_ctx 0xbbd320a0, sch_ep 0x9bdeb680
[ 740.488000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[ 740.488000] [DBG] BOFFSET: 0, BREPEAT: 0
[ 740.488000] add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x9be46ed8, ep_ctx 0xbbd320e0, sch_ep 0x9bd25f00
[ 740.516000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[ 740.516000] [DBG] BOFFSET: 0, BREPEAT: 0
[ 740.644000] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[ 740.644000] ieee80211 phy2: hwaddr 00:c0:ca:82:8d:0e, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
[ 740.676000] rtl8187: Customer ID is 0xFF
[ 740.684000] rtl8187: wireless switch is on
And for the atheros:
Code: Select all
[ 834.240000] usb 1-2.1: USB disconnect, device number 4
[ 834.376000] usb 1-2.1: ath9k_htc: USB layer deinitialized
[ 838.024000] usb 1-2.1: new high-speed USB device number 6 using xhci-hcd
[ 838.060000] add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x9b196c00, ep_ctx 0xbb4e2060, sch_ep 0x9b4f6f00
[ 838.088000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[ 838.088000] [DBG] BOFFSET: 0, BREPEAT: 0
[ 838.088000] add_ep parameters, dev_speed 3, is_in 1, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x9b196c2c, ep_ctx 0xbb4e20c0, sch_ep 0x9b4e5180
[ 838.116000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[ 838.116000] [DBG] BOFFSET: 0, BREPEAT: 0
[ 838.116000] add_ep parameters, dev_speed 3, is_in 1, isTT 0, ep_type 3, maxp 64, interval 1, burst 0, mult 0, ep 0x9b196c58, ep_ctx 0xbb4e2100, sch_ep 0x9b4e5b80
[ 838.144000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[ 838.144000] [DBG] BOFFSET: 0, BREPEAT: 0
[ 838.144000] add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 3, maxp 64, interval 1, burst 0, mult 0, ep 0x9b196c84, ep_ctx 0xbb4e2120, sch_ep 0x9b24ee80
[ 838.176000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[ 838.176000] [DBG] BOFFSET: 0, BREPEAT: 0
[ 838.176000] add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x9b196cb0, ep_ctx 0xbb4e2160, sch_ep 0x9b2f9680
[ 838.204000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[ 838.204000] [DBG] BOFFSET: 0, BREPEAT: 0
[ 838.204000] add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x9b196cdc, ep_ctx 0xbb4e21a0, sch_ep 0x9b2f9100
[ 838.232000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[ 838.232000] [DBG] BOFFSET: 0, BREPEAT: 0
[ 838.232000] usb 1-2.1: ath9k_htc: Firmware htc_9271.fw requested
[ 838.524000] usb 1-2.1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51000
[ 838.764000] ath9k_htc 1-2.1:1.0: ath9k_htc: HTC initialized with 33 credits
[ 839.004000] ath9k_htc 1-2.1:1.0: ath9k_htc: FW Version: 1.4
[ 839.016000] ath: EEPROM regdomain: 0x65
[ 839.016000] ath: EEPROM indicates we should expect a direct regpair map
[ 839.016000] ath: Country alpha2 being used: 00
[ 839.016000] ath: Regpair used: 0x65
[ 839.024000] ieee80211 phy3: Atheros AR9271 Rev:1
I should mention that I get
Code: Select all
[ 23.084000] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 49.772000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
after boot. But I read that this can be ignored.