You are not logged in.

#1 2018-10-03 16:26:11

Aerrynn
Member
Registered: 2018-10-03
Posts: 7

Wifi pseudo-disconects

Hi,
I just moved from mint to arch a few days ago and I started noticing a bunch of wifi related issues (it wouldn't happen when i had my computer plugged on Ethernet).
Using ping google.com during one of these cuts returns :

ping google.com
ping: google.com: Temporary failure in name resolution

I tried to find related post but I'm pretty much a beginner so i didn't want to mess everything up, and if I could understand what i'm doing, that'd be great.

lspci | grep -i network
06:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)


Thanks in advance.

Offline

#2 2018-10-03 16:51:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wifi pseudo-disconects

How did you set up wifi? Please post exact steps.

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-10-03 17:06:03

Aerrynn
Member
Registered: 2018-10-03
Posts: 7

Re: Wifi pseudo-disconects

I installed NetworkManager via
pacman -S networkmanager
systemctl enable NetworkManager.service

And connected myself using cinnamon UI.
I ran a dhcpcd as it seemed to have corrected similar issues with no succes.

Offline

#4 2018-10-03 17:09:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wifi pseudo-disconects

Disable NM (and any other network services) and connect manually: https://wiki.archlinux.org/index.php/Wi … figuration

Post exact commands and error messages.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-10-03 17:29:26

Aerrynn
Member
Registered: 2018-10-03
Posts: 7

Re: Wifi pseudo-disconects

Thanks for the help.


 iw dev
phy#0
	Unnamed/non-netdev interface
		wdev 0x2
		addr 94:e9:79:68:5f:fd
		type P2P-device
		txpower 0.00 dBm
	Interface wlp6s0
		ifindex 3
		wdev 0x1
		addr 94:e9:79:68:5f:fd
		ssid SFR_1970
		type managed
		channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz
		txpower 20.00 dBm
$ iw dev wlp6s0 link
    Connected to e4:5d:51:ca:19:76 (on wlp6s0)
    	SSID: SFR_1970
    	freq: 2462
    	RX: 2240117485 bytes (1577849 packets)
    	TX: 38350589 bytes (373989 packets)
    	signal: -50 dBm
    	tx bitrate: 1.0 MBit/s

    	bss flags:	short-preamble short-slot-time
    	dtim period:	3
    	beacon int:	100
$ sudo ip link set wlp6s0 up

      $ ip link show wlp6s0 
      3: wlp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
          link/ether 94:e9:79:68:5f:fd brd ff:ff:ff:ff:ff:ff
$ iw dev wlp6s0 connect SFR_1970
      command failed: Operation already in progress (-114)

After a reboot i coudn't get any connections even through cable :

sudo iw dev wlp6s0 connect SFR_1970_5G
command failed: Network is down (-100)

Last edited by Aerrynn (2018-10-03 18:09:39)

Offline

#6 2018-10-03 17:57:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wifi pseudo-disconects

1. Please use code tags when pasting here: https://wiki.archlinux.org/index.php/Co … s_and_code

2. You were already connected.

3. Paste the output of `systemctl list-unit-files --state=enabled`

4. Repeat the manual connection process with all networking disabled.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2018-10-03 18:29:57

Aerrynn
Member
Registered: 2018-10-03
Posts: 7

Re: Wifi pseudo-disconects

Thanks for your help and sorry for the code thingy.

$ iw dev
phy#0
	Interface wlp6s0
		ifindex 3
		wdev 0x1
		addr 94:e9:79:68:5f:fd
		type managed
		txpower 0.00 dBm

$ ip link set wlp6s0 up

$ ip link show wlp6s0 
3: wlp6s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 94:e9:79:68:5f:fd brd ff:ff:ff:ff:ff:ff

$ sudo iw dev wlp6s0 connect SFR_1970 key d: 
key must be [d:]index:data where
  'd:'     means default (transmit) key
  'index:' is a single digit (0-3)
  'data'   must be 5 or 13 ascii chars
           or 10 or 26 hex digits
for example: d:2:6162636465 is the same as d:2:abcde
or psk:data <AKM Suite> <pairwise CIPHER> <groupwise CIPHER> where
  'data' is the PSK (output of wpa_passphrase and the CIPHER can be CCMP or GCMP
for example: psk:0123456789abcdef PSK CCMP CCMP
The allowed AKM suites are PSK, FT/PSK, PSK/SHA-256
The allowed Cipher suites are TKIP, CCMP, GCMP, GCMP-256, CCMP-256

I couldn't get connected that way, so i had to start Network Manager to post this.
I'm wondering if i'm doing the right thing there, i tried the different tags for the key but none worked. my network key contains 20 characters both letters and numbers.

$ systemctl list-unit-files --state=enabled
UNIT FILE               STATE  
autovt@.service         enabled
bluetooth.service       enabled
dbus-org.bluez.service  enabled
display-manager.service enabled
gdm.service             enabled
getty@.service          enabled
remote-fs.target        enabled

Last edited by Aerrynn (2018-10-03 18:41:07)

Offline

#8 2018-10-04 16:17:20

Aerrynn
Member
Registered: 2018-10-03
Posts: 7

Re: Wifi pseudo-disconects

Since yesterday, i've tried using wpa_supplicant as my wpa key is using TKIP protocol.
That's what saved in wpa_supplicant.conf :

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=2
ap_scan=1
fast_reauth=1
network={
  ssid="SFR_1970"
  scan_ssid=1
  psk="<>"
  key_mgmt=WPA-PSK
  proto=WPA
  pairwise=TKIP
  group=TKIP
}

Finally got it to work

$ sudo wpa_supplicant -i wlp6s0 -c /home/etc/wpa_supplicant/wpa_supplicant.conf
wlp6s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
wlp6s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
wlp6s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
wlp6s0: SME: Trying to authenticate with e4:5d:51:ca:19:76 (SSID='SFR_1970' freq=2462 MHz)
wlp6s0: Trying to associate with e4:5d:51:ca:19:76 (SSID='SFR_1970' freq=2462 MHz)
wlp6s0: Associated with e4:5d:51:ca:19:76
wlp6s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp6s0: WPA: Key negotiation completed with e4:5d:51:ca:19:76 [PTK=TKIP GTK=TKIP]
wlp6s0: CTRL-EVENT-CONNECTED - Connection to e4:5d:51:ca:19:76 completed [id=0 id_str=]

followed by a DHCP wlp6s0

Just wondering if its gonna last or start disconecting again in the near future so i'm gonna wait&see

Edit : it seems it works fine now
Thanks a lot for you guidance.

Last edited by Aerrynn (2018-10-04 17:48:35)

Offline

#9 2018-10-04 21:23:25

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

Re: Wifi pseudo-disconects

Please post a journal after you get the next assumed disconnects.
Also, when you feelt to be disconnected, try to ping 8.8.8.8 (googles DNS server), to ensure that it's not a resolver issue.

Offline

#10 2018-10-04 21:45:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: Wifi pseudo-disconects

Aerrynn wrote:

... /home/etc/wpa_supplicant/wpa_supplicant.conf

Eh ... what?  Was that a typo entering that on the forum, or is that actually in the command you used?  If the latter, why on earth is all that under /home?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2018-10-05 14:27:13

Aerrynn
Member
Registered: 2018-10-03
Posts: 7

Re: Wifi pseudo-disconects

Trilby wrote:
Aerrynn wrote:

... /home/etc/wpa_supplicant/wpa_supplicant.conf

Eh ... what?  Was that a typo entering that on the forum, or is that actually in the command you used?  If the latter, why on earth is all that under /home?

After checking, i actually have it in /home/etc/wpa_supplicant, while the /etc/wpa_supplicant folder is empty.


After running netctl for a day now, i was wondering if my dc could be linked to the fact that i have a TKIP wpa key.
Is there any special syntax / line that i should use in my custom profile ?

Description='A simple WPA encrypted wireless connection'
Interface=wlp6s0
Connection=wireless
Security=wpa
IP=dhcp
ESSID='SFR_1970'
Key = '<>'
Priority=10

Last edited by Aerrynn (2018-10-05 14:27:38)

Offline

#12 2018-10-06 11:37:42

Aerrynn
Member
Registered: 2018-10-03
Posts: 7

Re: Wifi pseudo-disconects

After looking into the fact i had so much files in my home folder, i made a clean install. I had no problems until I started to use wifi & bluetooth at the same time.
From there i tried to use bluetoothctl instead of blueberry but it didn't change anything.

There i found a post about this kind of interferences : https://bbs.archlinux.org/viewtopic.php?id=228477

So i just set up a _5Gb channel for my wifi,
Time will tell if it resolved the issue.

Offline

Board footer

Powered by FluxBB