You are not logged in.

#1 2016-11-01 16:23:58

Hokken
Member
Registered: 2016-11-01
Posts: 11

[SOLVED] Can't establish wireless connection

Hi guys,

I'm following the wiki to configure my wireless network, and try to manually connect to it with :

wpa_supplicant -D nl80211,wext -i wlp3s0 -c<(wpa_passphrase "mySSID" "myKey")

It never connects and got this "ath: phy0: DMA failed to stop in 10 ms" message, and the output looks like :

Successfully initialized wpa_supplicant
wlp3s0: SME: Trying to authenticate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=2 locally_generated=1
wlp3s0: Trying to associate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlp3s0: Associated with 1a:d2:aa:7b:99:30
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=2 locally_generated=1
wlp3s0: SME: Trying to authenticate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: SME: Authentication request to the driver failed
wlp3s0: SME: Trying to authenticate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: Trying to associate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: Associated with 1a:d2:aa:7b:99:30
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=15
wlp3s0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WiFi_Freebox" auth_failures=1 duration=10 reason=WRONG_KEY
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WiFi_Freebox" auth_failures=2 duration=23 reason=CONN_FAILED
wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=3 locally_generated=1
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=3 locally_generated=1
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlp3s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="WiFi_Freebox"
wlp3s0: SME: Trying to authenticate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: Trying to associate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: Associated with 1a:d2:aa:7b:99:30
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=3 locally_generated=1
wlp3s0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WiFi_Freebox" auth_failures=3 duration=46 reason=WRONG_KEY
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WiFi_Freebox" auth_failures=4 duration=77 reason=CONN_FAILED
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=3 locally_generated=1
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="WiFi_Freebox"
wlp3s0: SME: Trying to authenticate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: Trying to associate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: Associated with 1a:d2:aa:7b:99:30
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=3 locally_generated=1
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WiFi_Freebox" auth_failures=5 duration=75 reason=CONN_FAILED
wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=3 locally_generated=1
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="WiFi_Freebox"
wlp3s0: SME: Trying to authenticate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: Trying to associate with 1a:d2:aa:7b:99:30 (SSID='WiFi_Freebox' freq=2457 MHz)
wlp3s0: Associated with 1a:d2:aa:7b:99:30
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=1a:d2:aa:7b:99:30 reason=3 locally_generated=1
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WiFi_Freebox" auth_failures=6 duration=143 reason=CONN_FAILED
nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
wlp3s0: CTRL-EVENT-TERMINATING 

Here are the outputs of some other commands

lspci -k
03:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
	Subsystem: AzureWave AW-NB037H 802.11bgn Wireless Half-size Mini PCIe Card [AR9002WB-1NGCD]
	Kernel driver in use: ath9k
	Kernel modules: ath9k
dmesg | grep ath9k
[    9.547161] ath9k 0000:03:00.0 wlp3s0: renamed from wlan0
ip link show wlp3s0
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:08:ca:f3:96:b5 brd ff:ff:ff:ff:ff:ff
lsmod | grep ath9k
ath9k                 131072  0
ath9k_common           32768  1 ath9k
ath9k_hw              442368  2 ath9k,ath9k_common
ath                    28672  3 ath9k_hw,ath9k,ath9k_common
mac80211              667648  1 ath9k
cfg80211              495616  4 mac80211,ath9k,ath,ath9k_common
led_class              16384  3 asus_wmi,input_leds,ath9k

Any idea of what I should do to fix this ?

Last edited by Hokken (2016-11-21 14:03:13)

Offline

#2 2016-11-01 17:26:28

robt77
Member
From: Manchester
Registered: 2014-10-26
Posts: 21
Website

Re: [SOLVED] Can't establish wireless connection

It looks like the password has failed when connecting to your wifi network, For a sanity check you have not entered "myKey" but your actual password for your wifi?  Can you connect to your wifi with other devices without problem?

Last edited by robt77 (2016-11-01 17:26:56)

Offline

#3 2016-11-01 18:30:14

Hokken
Member
Registered: 2016-11-01
Posts: 11

Re: [SOLVED] Can't establish wireless connection

Yes, I have entered the correct password and several other devices are connected to this network

Offline

#4 2016-11-01 21:54:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,344

Re: [SOLVED] Can't establish wireless connection

The AP tells you that

wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WiFi_Freebox" auth_failures=1 duration=10 reason=WRONG_KEY

You're providing the wrong key.

This

wpa_supplicant -D nl80211,wext -i wlp3s0 -c<(wpa_passphrase "mySSID" "myKey")

should probably read

wpa_supplicant -D nl80211,wext -i wlp3s0 -c<(wpa_passphrase "WiFi_Freebox" "<myKey>")

Where "<myKey>" would be "supersecret1234".
Did you notice that some passphrases can be troublesome to be input this way (and require a file input)?

Did you btw. have trouble with wifi-menu or why are you trying wpa_supplicant directly?

Online

#5 2016-11-02 01:03:29

Hokken
Member
Registered: 2016-11-01
Posts: 11

Re: [SOLVED] Can't establish wireless connection

I'm 100% sure of my key, it works for other devices. I have tried to put it in a file, it did not work. The wifi-menu approach neither, I also have this "ath: phy0: DMA failed to stop in 10 ms" message.
Anything you'd like me to do to diagnose the problem ?

Offline

#6 2016-11-02 07:26:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,344

Re: [SOLVED] Can't establish wireless connection

Pass nohwcrypt=1 to ath9k and check whether the AP has a MAC filter.
Can you access other WIFI spots with the device?

There's this claim that wpa_passphrase would generate bad keys:
https://bbs.archlinux.org/viewtopic.php?id=76876

The second last comment there suggests to use the unencrypted key...

Online

#7 2016-11-02 14:53:47

morphheus
Member
Registered: 2014-08-01
Posts: 12

Re: [SOLVED] Can't establish wireless connection

Can you connect through other means on that laptop? Dual-boot with another OS, NetworkManager, etc. If you can't connect with other methods, it may be a hardware issue.

Offline

#8 2016-11-03 02:03:28

Hokken
Member
Registered: 2016-11-01
Posts: 11

Re: [SOLVED] Can't establish wireless connection

Yes I think it's an hardware issue as I can't connect via any other mean. I tried with ubuntu and I have the same problem hmm

Last edited by Hokken (2016-11-03 02:04:07)

Offline

#9 2016-11-03 07:43:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,344

Re: [SOLVED] Can't establish wireless connection

Did you try other access points and disabling HW encryption?

Online

#10 2016-11-03 21:20:54

Hokken
Member
Registered: 2016-11-01
Posts: 11

Re: [SOLVED] Can't establish wireless connection

Yes, with the same unsuccessful results hmm

Offline

#11 2016-11-04 08:01:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,344

Re: [SOLVED] Can't establish wireless connection

add "ps_enable=0 btcoex_enable=0 nohwcrypt=1" and cross-check the hardware on windows.

Online

#12 2016-11-04 12:14:41

Hokken
Member
Registered: 2016-11-01
Posts: 11

Re: [SOLVED] Can't establish wireless connection

I have no version of windows installed, so I can't check. No difference with the new options.
Also tried to recompile kernel with what's said here:
https://wireless.wiki.kernel.org/en/users/drivers/ath9k

Not sure I did it correctly as I never compiled kernel before, but it didn't not solve anything.

Offline

#13 2016-11-05 18:11:49

AbaddonOrmuz
Member
Registered: 2014-07-05
Posts: 43
Website

Re: [SOLVED] Can't establish wireless connection

Maybe not related but I had a similar problem (right WPA password, can't connect), but in my case my network card was blocked by kernel (soft blocked):

# rfkill list
# rfkill unblock wifi

https://wiki.archlinux.org/index.php/Wi … ill_caveat

Offline

#14 2016-11-06 15:23:20

Hokken
Member
Registered: 2016-11-01
Posts: 11

Re: [SOLVED] Can't establish wireless connection

Nope it's not blocked

Offline

#15 2016-11-08 22:19:52

noobExtreme
Member
From: South Africa
Registered: 2016-11-08
Posts: 28

Re: [SOLVED] Can't establish wireless connection

Can your PC detect the wireless network? ie

wifi-menu

if you cant see any networks maybe your wireless drivers have been blocked or removed for some reason.

lspci -k

Is your wifi card using the correct module and kernel?

Had an issue a while back where network manager was being stupid and I couldn't connect to any wireless network

Have you tried using netctl instead? i.e.

 cp /etc/netctl/examples/wireless-wpa /etc/netcl

Then manually entering your wifi settings into /etc/netcl/wireless-wpa then:

 netctl start/enable wireless-wpa

Offline

#16 2016-11-10 14:52:46

Hokken
Member
Registered: 2016-11-01
Posts: 11

Re: [SOLVED] Can't establish wireless connection

I can detect the networks, but the connection still fail with both method

Offline

#17 2016-11-10 15:10:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,344

Re: [SOLVED] Can't establish wireless connection

You can probably access the networks unsecured or using WEP?
(if turned off on the AP and using simply wifi-menu)

Online

#18 2016-11-10 23:57:47

Hokken
Member
Registered: 2016-11-01
Posts: 11

Re: [SOLVED] Can't establish wireless connection

It seems that I can't turn the encryption off, so I just tried with WEP, but it's not worthing neither.
I have a temporary solution which is to use a wifi dongle.

Offline

#19 2016-11-11 00:11:46

Texbrew
Member
From: The Lone Star State
Registered: 2016-02-09
Posts: 580

Re: [SOLVED] Can't establish wireless connection

Just a suggestion. I use connman https://wiki.archlinux.org/index.php/Connman fairly simple, can handle bluetooth.

tex

Offline

#20 2016-11-11 07:39:07

noobExtreme
Member
From: South Africa
Registered: 2016-11-08
Posts: 28

Re: [SOLVED] Can't establish wireless connection

When you try connect to a network it should create a profile for you... have a look in

 cd /etc/netctl/ 

And see if a profile exists, if it does make sure that that every thing is correct ie your SSID and key are within (quotes) 'SSID' or 'Key' and the interface is correct.

wlp<something>

I had a problem with automatic networks detail being entered incorrectly a while back.

if not then make a profile and enter your details manually:

cp /etc/netctl/examples/wireless-wpa /etc/netctl/
mv /etc/netctl/wireless-wpa /etc/netctl/Your-Network
nano /etc/netctl/Your-Network

Enter your details according to the template then:

netctl start Your-Network

Offline

#21 2016-11-11 07:41:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,344

Re: [SOLVED] Can't establish wireless connection

It seems that I can't turn the encryption off

What kind of access point is that?? (Router? Model?)

Online

#22 2016-11-17 19:24:13

Hokken
Member
Registered: 2016-11-01
Posts: 11

Re: [SOLVED] Can't establish wireless connection

Good news guys !
I have received a new wlan card : problem solved big_smile
I don't know exactly what wasn't working with the hardware as I could still detect the networks around, but it wasn't able to verify the WPA key.

Offline

#23 2016-11-17 21:12:14

Texbrew
Member
From: The Lone Star State
Registered: 2016-02-09
Posts: 580

Re: [SOLVED] Can't establish wireless connection

Uh, um, admins/mods are going to ask you to mark your thread as [Solved].

Edit: Congratulations.

Last edited by Texbrew (2016-11-17 21:13:05)

Offline

#24 2023-04-21 19:12:21

culturbt
Member
Registered: 2019-02-13
Posts: 2

Re: [SOLVED] Can't establish wireless connection

sometimes changing the channel of the access point helps. it looks like hardware can no longer stably operate at some frequencies.

Offline

#25 2023-04-21 22:20:02

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Can't establish wireless connection

culturbt, please pay attention to the dates on threads. This thread is almost seven years old and marked [SOLVED]. Please do not necrobump.

Closing.

Offline

Board footer

Powered by FluxBB