LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-08-2016, 10:47 AM   #1
Ascor
LQ Newbie
 
Registered: Jun 2016
Posts: 6

Rep: Reputation: Disabled
DWL-G520 and Debian 8


Hello everyone,

I've freshly installed debian 8 jessie on my machine. The problem is I cannot get a wireless connection after all. The network card is a D-Link DWL-G520 (rev. b3).

lspci -vv shows

Code:
04:00.0 Ethernet controller: Qualcomm Atheros AR5212/AR5213 Wireless Network Adapter (rev 01)
	Subsystem: D-Link System Inc AirPlus DWL-G520 Wireless PCI Adapter (rev. B)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
	Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 20
	Region 0: Memory at de500000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [44] 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=2 PME-
	Kernel driver in use: ath5k
and ifconfig shows

Code:
wlan0     Link encap:Ethernet  Hardware Adresse 00:11:95:bb:38:3a  
          UP BROADCAST MULTICAST  MTU:1500  Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Nevertheless the interface doesn't show any network I could connect to.
I'd be very thankful for any assistance!

best regards
Ascor
 
Old 06-08-2016, 02:01 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 8,615
Blog Entries: 14

Rep: Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056
Hi & Welcome to LQ.

I'm not good with the wireless stuff except I recall when I did run Debian I had to install the driver for my chipset (Realtek) and wireless-tools in order for my wifi to work. Post the output of lspci so someone can have a look at the info. about the chipset.

-::-Best to wait for a member that is good with the wireless.-::-
In the meantime here are some helpful links to learn from.

https://wiki.debian.org/WiFi
https://packages.debian.org/search?k...wireless-tools
 
Old 06-08-2016, 02:13 PM   #3
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora, Arch, & KDE Neon
Posts: 2,760

Rep: Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788
According to the Debian Wiki for Ath5k, your device is specifically unsupported by the Ath5k driver, and may require you to use the windows driver via ndiswrapper. I've never used one of this chipset to say for certain this is still accurate.
 
Old 06-08-2016, 02:51 PM   #4
Ascor
LQ Newbie
 
Registered: Jun 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
When I run "lspci -nn" it shows

Code:
04:00.0 Ethernet controller [0200]: Qualcomm Atheros AR5212/AR5213 Wireless Network Adapter [168c:0013] (rev 01)
maybe I'm missing something but [168c:0013] is listed as supported device on the wiki page:

Quote:
PCI: 168C:0013 Qualcomm Atheros AR5212/AR5213 Wireless Network Adapter
 
Old 06-08-2016, 03:03 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 8,615
Blog Entries: 14

Rep: Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056
Quote:
Originally Posted by Ascor View Post
When I run "lspci -nn" it shows

Code:
04:00.0 Ethernet controller [0200]: Qualcomm Atheros AR5212/AR5213 Wireless Network Adapter [168c:0013] (rev 01)
maybe I'm missing something but [168c:0013] is listed as supported device on the wiki page:
Quote:

ath5k

Atheros Communications chipsets (AR5210, AR5211, AR5212, AR5213, AR5414, AR2413, AR242x)
Your right its on the Debian wiki under "PCI devices".
The module/driver for that is already in use by the kernel for your wired connection; if I'm not mistaken.

Code:
Kernel driver in use: ath5k
The wired connection may work if you have a ethernet cable handy?
 
Old 06-08-2016, 03:40 PM   #6
Ascor
LQ Newbie
 
Registered: Jun 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
Your right its on the Debian wiki under "PCI devices".
The module/driver for that is already in use by the kernel for your wired connection; if I'm not mistaken.

Code:
Kernel driver in use: ath5k
The wired connection may work if you have a ethernet cable handy?

Wired connection is working just fine, but it uses the igb driver:

Code:
05:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
	Subsystem: ASUSTeK Computer Inc. Device 8557
	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
	Interrupt: pin A routed to IRQ 20
	Region 0: Memory at de400000 (32-bit, non-prefetchable) [size=512K]
	Region 2: I/O ports at d000 [size=32]
	Region 3: Memory at de480000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
		Address: 0000000000000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
		Vector table: BAR=3 offset=00000000
		PBA: BAR=3 offset=00002000
	Capabilities: [a0] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 512 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
		DevCtl:	Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
			MaxPayload 256 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <16us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [100 v2] 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] Device Serial Number 9c-5c-8e-ff-ff-4e-ed-75
	Capabilities: [1a0 v1] Transaction Processing Hints
		Device specific mode supported
		Steering table in TPH capability structure
	Kernel driver in use: igb
 
Old 06-08-2016, 04:20 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 8,615
Blog Entries: 14

Rep: Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056
I'm looking through this Google search to see if I can make sense of how to get your wireless card working.
https://www.google.com/#q=how+to+get...g+under+debian

REMEMBER I'm not the best with the wireless stuff. However I'm giving it my best. (trying)

Maybe Timothy Miller will know:-
 
Old 06-08-2016, 04:47 PM   #8
Ascor
LQ Newbie
 
Registered: Jun 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
I'm looking through this Google search to see if I can make sense of how to get your wireless card working.
https://www.google.com/#q=how+to+get...g+under+debian

REMEMBER I'm not the best with the wireless stuff. However I'm giving it my best. (trying)

Maybe Timothy Miller will know:-
Thanks for that, I've been working on this for a few days now, had the same issue on ubuntu 16.04.. Few years ago on ubuntu 13.10 the card worked like a charm (as descripted everywhere in the web)
 
Old 06-08-2016, 05:11 PM   #9
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora, Arch, & KDE Neon
Posts: 2,760

Rep: Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788
One question, what are you using to configure wireless? Are you using a network manager (network-mangager, wicd), or are you using the standard network files?
 
Old 06-08-2016, 05:34 PM   #10
Ascor
LQ Newbie
 
Registered: Jun 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Timothy Miller View Post
One question, what are you using to configure wireless? Are you using a network manager (network-mangager, wicd), or are you using the standard network files?
It's the very standard debian system, I didn't install anything except for build-essential. Though I've noticed "network-manager-gnome" is preinstalled but not sure how to use that.
 
Old 06-08-2016, 05:45 PM   #11
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora, Arch, & KDE Neon
Posts: 2,760

Rep: Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788
OK...so you're trying to use the /etc/network/interfaces, wpasupplicant, iwlist?

I really don't know what a "standard" debian install is, since I've only done netinstalls in the last 6 or so years, so it's been a LONG time since I've seen whats in a default install.

Have you brought your interface up before scanning for ssid's?

Alternatively, if you have network-manager installed (which you do, if you have the gui installed), it's probably taking management of the wireless for itself, you could try running nmtui to configure it using network-manager. Or the network-manager frontend in the gui (which is network-manager-gnome).

Last edited by Timothy Miller; 06-08-2016 at 05:49 PM.
 
Old 06-08-2016, 06:07 PM   #12
Ascor
LQ Newbie
 
Registered: Jun 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
It's only the packages from the first dvd-iso of version 8.4.0.
I use the gnome manager in the gui like you said and I've attached two pngs of what they show me. 1. is when I go to Settings > Network and 2. is when I click on "Choose wireless network" in the bar of my desktop.
Attached Thumbnails
Click image for larger version

Name:	»2016-06-09 00:51:29«.png
Views:	8
Size:	152.9 KB
ID:	22052   Click image for larger version

Name:	»2016-06-09 01:00:43«.png
Views:	6
Size:	22.1 KB
ID:	22053  
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DWL-G520 or DWL-G520+, which should I choose? lagu2653 Linux - Wireless Networking 2 12-17-2005 07:05 PM
DWL-520+ DWL-G520+ Ubuntu UbuDio Linux - Wireless Networking 3 12-08-2005 03:07 PM
D-link DWL-G520 Debian LinAck Linux - Wireless Networking 1 08-12-2005 03:51 PM
Getting DWL G650+ talking to DWL G520+ Matt Beard Linux - Wireless Networking 3 05-02-2004 05:50 AM
D-Link DWL-G520 on Debian - "unable to attach hardware; HAL status 13" dooberwah Linux - Wireless Networking 3 01-25-2004 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration