You are not logged in.

#1 2021-07-18 18:02:04

anabasis
Member
Registered: 2020-06-09
Posts: 22

Network manager/Netctl: Regular wifi disconnects

hi,
i have a problem with network manager and wifi connection: often network disconnected.

For example when i try to download something with wget, after 30 seconds wifi disconnected and reconnected

$ sudo journalctl -b | curl -F 'f:1=<-' ix.io
http://ix.io/7tmI
$ sudo cat /etc/NetworkManager/system-connections/pippo.nmconnection
[connection]
id=pippo
uuid=censured
type=wifi
interface-name=wlan0
permissions=

[wifi]
mac-address-blacklist=
mode=infrastructure
ssid=Netgear

[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=censured

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto

[proxy]

Last edited by anabasis (2021-07-22 18:34:49)

Offline

#2 2021-07-18 20:22:59

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Network manager/Netctl: Regular wifi disconnects

Does curl not suffer this problem?  I don't quite understand why you say wget suffers many reconnection events but then show an example using curl.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2021-07-19 04:56:23

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: Network manager/Netctl: Regular wifi disconnects

Does it only happen under load or does it disconnect after ~30 seconds anyways? In the latter case, I had similar issues, when my ipv4 dhcpd was unstable - then you get a valid ipv6 address and can surf the net until the net client decides, the ipv4-retrieval times out and takes the whole connection offline. OTOH, I'm using netctl and not networkmanager.

regards,
deep42thought

Offline

#4 2021-07-19 06:12:37

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Network manager/Netctl: Regular wifi disconnects

Yeah, I'm also using netctl and in the past month or two my USB wifi stick has become less stable.  I assumed it was a dry joint in the stick myself, as it usually works for a few hours before becoming unresponsive, or if it dies intermediately after I start it, a restart mostly works.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#5 2021-07-19 09:11:31

anabasis
Member
Registered: 2020-06-09
Posts: 22

Re: Network manager/Netctl: Regular wifi disconnects

Yes, it seems to happen only when i download something. When i surf on web connection seems stable.

Me too use a usb wifi stick. If i use it on another pc with Archlinux64 it works perfectly.
The router is near on both pc.

Last edited by anabasis (2021-07-19 09:12:32)

Offline

#6 2021-07-19 11:36:03

anabasis
Member
Registered: 2020-06-09
Posts: 22

Re: Network manager/Netctl: Regular wifi disconnects

i have tried to use netctl instead of networkmanager. same problem xD

i have tried to add "TimeoutUp=300" and "TimeoutCarrier=300" on netctl profile but it didn't solved.

Last edited by anabasis (2021-07-19 11:39:02)

Offline

#7 2021-07-19 16:41:32

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Network manager/Netctl: Regular wifi disconnects

Mine works to download stuff unless it's been on too long, in which case it just overheats and stops working entirely, so I just unplug it every few hours and rely on stuff I've already downloaded to keep myself entertained.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#8 2021-10-03 11:41:48

anabasis
Member
Registered: 2020-06-09
Posts: 22

Re: Network manager/Netctl: Regular wifi disconnects

i still doesn't solved. i have tried all network manager but the connection is very unstable.

if i connect this usb wifi stick in another pc with Archlinux 64 it works perfectly, i can't understand why.
maybe is an USB problem?

Last edited by anabasis (2021-10-03 11:46:34)

Offline

#9 2021-10-03 15:49:26

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Network manager/Netctl: Regular wifi disconnects

Hmm, yes I've experienced my USB controller going titsup on a recent but not current kernel.  You can see that in your 'sudo dmesg'.

How unstable are you finding it?  Mine generally runs for a few hours, although there are occasions where it craps out after a few moments and I need to netctl restart it.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#10 2021-10-03 17:40:21

anabasis
Member
Registered: 2020-06-09
Posts: 22

Re: Network manager/Netctl: Regular wifi disconnects

levi wrote:

Hmm, yes I've experienced my USB controller going titsup on a recent but not current kernel.  You can see that in your 'sudo dmesg'.

How unstable are you finding it?  Mine generally runs for a few hours, although there are occasions where it craps out after a few moments and I need to netctl restart it.

dmesg:
https://pastebin.com/JC3mQd06

the connection is very unstable, after a few minutes drops.

Offline

#11 2021-10-03 17:47:13

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Network manager/Netctl: Regular wifi disconnects

I can see no errors in that dmesg.  If the network has disconnected by then, that suggests it's not the same usb crash that I experience at least.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#12 2021-10-05 10:53:08

anabasis
Member
Registered: 2020-06-09
Posts: 22

Re: Network manager/Netctl: Regular wifi disconnects

levi wrote:

I can see no errors in that dmesg.  If the network has disconnected by then, that suggests it's not the same usb crash that I experience at least.

sorry, it was wrong dmesg.
this is dmesg after disconnection and reconnection:
https://pastebin.com/eebrCPjn

there doesn't seem to be any errors :-|

Offline

#13 2021-10-05 15:30:07

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Network manager/Netctl: Regular wifi disconnects

Yes, I can only see two connection events there and nothing significant inbetween.  Certainly no crash and not even an apparent disconnection, perhaps the wifi device silently drops off and doesn't even notify the kernel, and just needs prompting.  When it's in the disconnected state does 'ip a' show the device to be DOWN or UP?


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#14 2021-10-05 17:12:23

anabasis
Member
Registered: 2020-06-09
Posts: 22

Re: Network manager/Netctl: Regular wifi disconnects

levi wrote:

Yes, I can only see two connection events there and nothing significant inbetween.  Certainly no crash and not even an apparent disconnection, perhaps the wifi device silently drops off and doesn't even notify the kernel, and just needs prompting.  When it's in the disconnected state does 'ip a' show the device to be DOWN or UP?

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:15:58:be:48:9e brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 00:11:50:b1:63:74 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::211:50ff:feb1:6374/64 scope link 
       valid_lft forever preferred_lft forever

Offline

#15 2021-10-05 19:44:40

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Network manager/Netctl: Regular wifi disconnects

Yeah, that looks to me like a more controlled disconnect than mine does when it overheats or whatever it's doing wrong.  Mine tends to think it's still connected (it's still UP) but the lights on the USB device are dark and no network access is provided.  I'll have to check my dmesg myself, maybe it doesn't report disconnects,


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB