Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Getting Atheros AR9565 wireless to work

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
debian_forums
Posts: 11
Joined: 2013-09-08 20:33

[SOLVED] Getting Atheros AR9565 wireless to work

#1 Post by debian_forums »

Hey dear forum :D

I'm installing Debian. My problem is: I can't get wireless to work.

So far, I've tested the following two iso images:

+ debian-7.1.0-amd64-kde-CD-1.iso
+ debian-7.1.0-amd64-netinst.iso

With KDE, I can't click on the tab at System settings > Network settings > Network connections > Wireless

With default GNOME of netinst iso, I can't find anything related to wireless at System settings > Network

For both GNOME and KDE, lshw -C network says UNCLAIMED about this wireless card...

This is the transcript of some Arch forum commandline sequence with default GNOME of netinst iso:

Code: Select all

basico@debian:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether e0:db:55:a4:1e:45 brd ff:ff:ff:ff:ff:ff
basico@debian:~$ lspci | grep -i net
06:00.0 Network controller: Atheros Communications Inc. AR9565 Wireless Network Adapter (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
basico@debian:~$ dmesg | grep ath
[    8.485540] ath3k: probe of 1-1.4:1.0 failed with error -2
[    8.485609] usbcore: registered new interface driver ath3k
basico@debian:~$ lsmod | grep ath
ath3k                  12671  0 
bluetooth             119455  12 btusb,ath3k,rfcomm,bnep
usbcore               128741  8 ehci_hcd,xhci_hcd,usbhid,btusb,ath3k,rts5139,uvcvideo
As a sanity check, I tested some Ubuntu Live CD. I did have wireless with the Ubuntu Live CD...

Among other things, lspci was saying the following with the Ubuntu Live CD...

Code: Select all

06:00.0 Network controller: Atheros Communications Inc. Device 0036 (rev 01)
Subsystem: Dell Device 020c
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at f7c00000 (64-bit, non-prefetchable) [size=512K]
Expansion ROM at f7c80000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k
Kernel modules: ath9k
Thanks in advance!!!!
Last edited by debian_forums on 2013-09-21 20:57, edited 1 time in total.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Getting Atheros AR9565 wireless to work

#2 Post by 4D696B65 »

You will need a newer kernel for that chip to work. The kernel in backports will support it.

debian_forums
Posts: 11
Joined: 2013-09-08 20:33

Re: Getting Atheros AR9565 wireless to work

#3 Post by debian_forums »

Thanks 4D696B65!!!
4D696B65 wrote:You will need a newer kernel for that chip to work. The kernel in backports will support it.
It's taking me a while to process this.

At the moment, I'm thinking that the kernel in backports could be installed with something like the following...

Code: Select all

su
print "deb http://nl.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
aptitude update
aptitude -t wheezy-backports install linux-image-amd64
Does this make sense?

debian_forums
Posts: 11
Joined: 2013-09-08 20:33

Re: Getting Atheros AR9565 wireless to work

#4 Post by debian_forums »

Hey dear forum :D

I've done the following:

Code: Select all

su
echo "deb http://ftp.nl.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
exit
sudo apt-get update
Now I try to install linux-image-3.10-0.bpo.2-amd64, but get the following conflict...

Code: Select all

~% sudo aptitude -s install linux-image-3.10-0.bpo.2-amd64
The following NEW packages will be installed:
  firmware-linux-free{a} linux-image-3.10-0.bpo.2-amd64{b}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.0 MB of archives. After unpacking 116 MB will be used.
The following packages have unmet dependencies:
 linux-image-3.10-0.bpo.2-amd64 : Breaks: initramfs-tools (< 0.110~) but 0.109.1 is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     linux-image-3.10-0.bpo.2-amd64 [Not Installed]



Accept this solution? [Y/n/q/?]
The following NEW packages will be installed:
  firmware-linux-free{a}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.7 kB of archives. After unpacking 90.1 kB will be used.
Do you want to continue? [Y/n/?]
Would download/install/remove packages.
How to resolve this unmet dependency?

Thanks in advance!!!

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Getting Atheros AR9565 wireless to work

#5 Post by 4D696B65 »

Aptitude will give you many choices to satisfy the dependencies..
Press "n" if you don't like the scenario and you will be offered another choice. Keep pressing "n" until you get one you like then press "y" to use that choice.

debian_forums
Posts: 11
Joined: 2013-09-08 20:33

Re: Getting Atheros AR9565 wireless to work

#6 Post by debian_forums »

Thanks :D

Perhaps I would go for this...

Code: Select all

~% sudo aptitude -s install linux-image-3.10-0.bpo.2-amd64                      The following NEW packages will be installed:
  firmware-linux-free{a} linux-image-3.10-0.bpo.2-amd64{b}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.0 MB of archives. After unpacking 116 MB will be used.
The following packages have unmet dependencies:
 linux-image-3.10-0.bpo.2-amd64 : Breaks: initramfs-tools (< 0.110~) but 0.109.1 is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     linux-image-3.10-0.bpo.2-amd64 [Not Installed]



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Remove the following packages:
1)     initramfs-tools

     Install the following packages:
2)     cryptsetup [2:1.4.3-4 (stable)]
3)     dmraid [1.0.0.rc16-4.2 (stable)]
4)     dracut [020-2 (stable)]
5)     kpartx [0.4.9+git0.4dfdaf2b-6 (stable)]
6)     libdmraid1.0.0.rc16 [1.0.0.rc16-4.2 (stable)]
7)     lvm2 [2.02.95-7 (stable)]
8)     mdadm [3.2.5-5 (stable)]



Accept this solution? [Y/n/q/?]
The following NEW packages will be installed:
  cryptsetup{a} dmraid{a} dracut{a} firmware-linux-free{a} kpartx{a}
  libdmraid1.0.0.rc16{a} linux-image-3.10-0.bpo.2-amd64 lvm2{a} mdadm{a}
The following packages will be REMOVED:
  initramfs-tools{a}
0 packages upgraded, 9 newly installed, 1 to remove and 0 not upgraded.
Need to get 26.6 MB of archives. After unpacking 119 MB will be used.
Do you want to continue? [Y/n/?]
Would download/install/remove packages.
I notice that there's an initramfs-tools in Wheezy backports http://packages.debian.org/wheezy-backp ... amfs-tools

After installing linux-image-3.10-0.bpo.2-amd64 and its dependencies, shall install the initramfs-tools from Wheezy backports as well?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Getting Atheros AR9565 wireless to work

#7 Post by 4D696B65 »

I would install the kernel and initramfs-tools from backports at the same time or keep pressing "n" till it offers to install both.

debian_forums
Posts: 11
Joined: 2013-09-08 20:33

Re: Getting Atheros AR9565 wireless to work

#8 Post by debian_forums »

yeah! This works...

Code: Select all

06:00.0 Network controller: Atheros Communications Inc. AR9565 Wireless Network Adapter (rev 01)
	Subsystem: Dell Device 020c
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at f7c00000 (64-bit, non-prefetchable) [size=512K]
	Expansion ROM at f7c80000 [disabled] [size=64K]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
		Address: 0000000000000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [70] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis+
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
	Capabilities: [140 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Capabilities: [160 v1] Device Serial Number 00-00-00-00-00-00-00-00
	Kernel driver in use: ath9k
Super thanks...

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Getting Atheros AR9565 wireless to work

#9 Post by 4D696B65 »

Glad you got it working. :D
Please edit the title of your first post and mark it [SOLVED]

Post Reply