You are not logged in.

#1 2013-05-18 13:10:51

matyilona200
Member
Registered: 2012-06-21
Posts: 77

[SOLVED] Can't activate AR9285 wireless interface (ath9k)

I'v just installd Arhc on my new Lenovo G585. Evrything works fine, excep when I try to activate the wireless interface it doesn't do anything.

[matyilona@lenarch ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether dc:0e:a1:f4:0c:67 brd ff:ff:ff:ff:ff:ff
3: wlp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether 74:e5:43:14:d4:02 brd ff:ff:ff:ff:ff:ff
[matyilona@lenarch ~]$ sudo ip link set wlp7s0 up
[matyilona@lenarch ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether dc:0e:a1:f4:0c:67 brd ff:ff:ff:ff:ff:ff
3: wlp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether 74:e5:43:14:d4:02 brd ff:ff:ff:ff:ff:ff

The wired connection works fine.
Output of lspci | grep -i net

[matyilona@lenarch ~]$ lspci |grep -i net
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
07:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

Output of dmesg | grep ath

[matyilona@lenarch ~]$ dmesg | grep ath
[    4.374294] systemd[1]: Starting Paths.
[    4.374670] systemd[1]: Reached target Paths.
[    6.884560] ath: phy0: ASPM enabled: 0x43
[    6.884571] ath: EEPROM regdomain: 0x65
[    6.884575] ath: EEPROM indicates we should expect a direct regpair map
[    6.884581] ath: Country alpha2 being used: 00
[    6.884584] ath: Regpair used: 0x65
[    6.935750] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'

Output of lsmod | grep ath

[matyilona@lenarch ~]$ lsmod | grep ath
ath9k                 100285  0 
ath9k_common            2096  1 ath9k
ath9k_hw              373150  2 ath9k_common,ath9k
ath                    15489  3 ath9k_common,ath9k,ath9k_hw
mac80211              487534  1 ath9k
cfg80211              452012  3 ath,ath9k,mac80211

Last edited by matyilona200 (2013-05-18 18:36:03)

Offline

#2 2013-05-18 15:51:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

As a sanity check, what happens if you do a sudo iw wlp7s0 scan   ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2013-05-18 16:28:39

matyilona200
Member
Registered: 2012-06-21
Posts: 77

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

The output of sudo iw wlp7s0 scan is

BSS c4:3d:c7:86:38:59(on wlp7s0)
	TSF: 19046831843 usec (0d, 05:17:26)
	freq: 2417
	beacon interval: 100 TUs
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -63.00 dBm
	last seen: 783 ms ago
	Information elements from Probe Response frame:
	SSID: NEteger
	Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
	DS Parameter set: channel 2
	Country: DE	Environment: Indoor/Outdoor
		Channels [1 - 13] @ 20 dBm
	ERP: <no flags>
	Extended supported rates: 24.0 36.0 48.0 54.0 
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
	WPS:	 * Version: 1.0
		 * Wi-Fi Protected Setup State: 2 (Configured)
		 * Response Type: 3 (AP)
		 * UUID: 00000000-0000-1000-0000-c43dc7863859
		 * Manufacturer: NTGR
		 * Model: wnr1000v2
		 * Model Number: n
		 * Serial Number: none
		 * Primary Device Type: 6-0050f204-1
		 * Device name: WNR1000v2(Wireless AP)
		 * Config methods: Ethernet, Label, PBC
		 * RF Bands: 0x3
BSS f4:ec:38:c9:f0:9e(on wlp7s0)
	TSF: 4862582946228 usec (56d, 06:43:02)
	freq: 2462
	beacon interval: 100 TUs
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -67.00 dBm
	last seen: 206 ms ago
	Information elements from Probe Response frame:
	SSID: vladiviki
	Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 12.0 24.0 36.0 
	DS Parameter set: channel 11
	ERP: <no flags>
	Extended supported rates: 9.0 18.0 48.0 54.0 
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: PSK
		 * Capabilities: PreAuth (0x0001)
BSS 00:1c:a2:df:95:2b(on wlp7s0)
	TSF: 3207091098042 usec (37d, 02:51:31)
	freq: 2437
	beacon interval: 100 TUs
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -91.00 dBm
	last seen: 526 ms ago
	Information elements from Probe Response frame:
	SSID: \xc3\x81ld\xc3\xa1s
	Supported rates: 1.0* 2.0* 5.5* 11.0* 22.0 
	DS Parameter set: channel 6
	TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
	ERP: NonERP_Present Use_Protection
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: PSK
		 * Capabilities: PreAuth (0x0001)
	Extended supported rates: 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: PSK
BSS 00:4f:62:05:6e:eb(on wlp7s0)
	TSF: 1360601907611 usec (15d, 17:56:41)
	freq: 2472
	beacon interval: 100 TUs
	capability: ESS Privacy ShortSlotTime (0x0411)
	signal: -89.00 dBm
	last seen: 96 ms ago
	Information elements from Probe Response frame:
	SSID: airlive
	Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
	DS Parameter set: channel 13
	TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x28
	ERP: Barker_Preamble_Mode
	Extended supported rates: 24.0 36.0 48.0 54.0 

Last edited by matyilona200 (2013-05-18 16:29:01)

Offline

#4 2013-05-18 16:40:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

Okay, the good news is that your wireless is working.  I see two access points that are about the same distance from you: NEteger and vladiviki, and then two more that are further away (one has unicode in its name, the other is called airlive)

NEteger looks like an open AP; vladiviki seems to use WEP. 

So, what are we trying to do, and with which network do you want to associate?
Also, how do you plan to manage your wireless? netctl? netcfg? wicd?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2013-05-18 16:48:11

matyilona200
Member
Registered: 2012-06-21
Posts: 77

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

I am trying to connect to NEteger, maybe with netctl, but anything will do as long as it works.

Offline

#6 2013-05-18 16:56:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

You dis not mention whether you had set up netctl for NEteger.  Make sure you have worked through this netctl wiki article.

Either that, or use wicd  in accordance with this wicd wiki article

Last edited by ewaller (2013-05-18 16:56:59)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2013-05-18 17:16:30

matyilona200
Member
Registered: 2012-06-21
Posts: 77

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

Sorry I forgot to metion that I did set up netctl for NEteger. I tried again, /etc/netctl/neteger:

Description='A simple WPA encrypted wireless connection'
Interface=wlp7s0
Connection=wireless
Security=wep

IP=dhcp

ESSID='NEteger'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='**********\"'
# Uncomment this if your ssid is hidden
#Hidden=yes

Output of netctl status neteger

netctl@neteger.service - Networking for netctl profile neteger
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
   Active: failed (Result: exit-code) since Sun 2013-05-19 01:15:38 UTC; 2s ago
     Docs: man:netctl.profile(5)
  Process: 4270 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)

May 19 01:15:38 lenarch systemd[1]: Starting Networking for netctl profile neteger...
May 19 01:15:38 lenarch network[4270]: Starting network profile 'neteger'...
May 19 01:15:38 lenarch systemd[1]: netctl@neteger.service: main process exited, code=exited, status=1/FAILURE
May 19 01:15:38 lenarch systemd[1]: Failed to start Networking for netctl profile neteger.
May 19 01:15:38 lenarch systemd[1]: Unit netctl@neteger.service entered failed state.

Last edited by matyilona200 (2013-05-18 17:18:08)

Offline

#8 2013-05-18 17:31:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

Two questions.  Are you sure NEteger is wep encrypted?  I cannot tell.

If it is, lets take a look at that key.  I assume you redacted the key, because that key is, well, wrong. wink
If it is a clear text key, it should be of the form key='mySecret'
If it is a hexadecimal key, it should only have a leading '"' and should be of the form:  key='\"deadbeaf0102eaff'   Only hex digits, no closing double quote, correct number of digits for your WEP implementation. 

If I may, if that is your router, you should consider changing to wpa2.

Last edited by ewaller (2013-05-18 17:31:52)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2013-05-18 17:44:47

matyilona200
Member
Registered: 2012-06-21
Posts: 77

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

It's not my router, but I'm sure its encrypted. English is not my mother tounge, and prepend is a complicated word, I didn't understand that smile I changed /etc/netctl/neteger, but still the same result.:)

Last edited by matyilona200 (2013-05-18 17:45:14)

Offline

#10 2013-05-18 17:58:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

matyilona200 wrote:

English is not my mother tounge,

I figured as much.  Not because of your English (which is fine, by the way), but because of the regulatory domain in the wireless scan smile

I need to step away for a few hours.  In the mean time, you might consider trying wicd.  Stat wicd, then open the nice wicd-gtk GUI and see if you can connect that way.  If you don't have an X environment, there is a good curses interface, as well.

If you get that working, and still want to use netctl, we can work on that some more.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#11 2013-05-18 18:00:27

matyilona200
Member
Registered: 2012-06-21
Posts: 77

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

Ok I'll definily try wicd. Thanks.

Offline

#12 2013-05-18 18:26:49

matyilona200
Member
Registered: 2012-06-21
Posts: 77

Re: [SOLVED] Can't activate AR9285 wireless interface (ath9k)

wicd could connect to NEteger with WEP, and its working fine. I think I'll stick with wicd. Thanks again.

Offline

Board footer

Powered by FluxBB