You are not logged in.

#1 2019-04-13 11:09:10

SeeLook
Member
Registered: 2012-07-01
Posts: 19

How to debug establishing WIFI connection

Hi there.

I have issues with TP-LINK Archer T9UH (USB wifi ac dongle).
I'm using iwp daemon for wifi/authentication connection (works quite well and better than wpa_supplicant)
and then a few commands to set interface up:

IFACE=wlp12345
ip link set $IFACE up
ip addr add 192.168.1.100/24 brd + dev $IFACE
ip route add default via 192.168.1.1 dev $IFACE

And invoking this takes up to 10 secs.
It is bearable first time, after reboot.
But after resume (from suspend to RAM) to wake up connection it takes from a few secs till about minute or maybe more - but I'm restarting iwp.service and down/up interface again.
I'm using this driver:
https://github.com/aircrack-ng/rtl8812au
(it is in AUR as well) and this is the best I could find among others.

With NetworkManager it behaves the same way or even longer.

So tell me please how to debug what is happening when connection is establishing/re-establishing to find a reason what freezes it or to ask more precise question. Journalctrl says nothing.

Offline

#2 2019-04-14 10:19:20

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: How to debug establishing WIFI connection

SeeLook wrote:

after resume (from suspend to RAM) to wake up connection it takes from a few secs till about minute or maybe more - but I'm restarting iwp.service and down/up interface again.

Have you tried just leaving it alone after resuming?

I use a similar method with my Intel wireless card (but with wpa_supplicant rather than iwd) and my system keeps the addresses and wpa_supplicant doesn't need to be restarted after suspending.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB