1

There are obviously a number of similar questions here, e.g.:

and a plethora of suggested solutions. I tried a number of these fixes but they didn't work. So I thought I'd try and understand the problem more. Running sudo journalctl -fu NetworkManager will give me the message

Aug 21 17:48:41 timhome NetworkManager[864]: <warn>  [1598003321.0959] sup-iface[0x560c59b0b0b0,wlp1s0]: connection disconnected (reason -4)

whenever the wifi disconnects. In particular, I'm interested in the meaning of (reason -4). I just couldn't find any reference for these codes. Can anyone help me?

Tim Mak
  • 119

1 Answers1

0

According to this post, you can find the reason codes here. According to this you look up the code by going through the list in order. I suppose reason -4 means the 4th reason from the bottom, which corresponds to:

    /* Device disconnected by user or client */
    NM_DEVICE_STATE_REASON_USER_REQUESTED,

This suggests it is my computer which is disconnecting from the router, rather than say due to signal loss.

Tim Mak
  • 119