I have a problem with my wi-fi connection.
I use the TP-Link TL-WN823N wifi adapter, which connects to Alcatel Link Zone MW40V wifi router. OS is Ubuntu Xenial.
It works fine for a while, and for some reason, I stops, then it gets back to working. It may work for hours, but sometimes only like 10 minutes.
The usb device isn't "lost" or something, the "strength signal" is still like 90/100
Someone suggested me looking at /var/log/syslog and I think I have at least two problems, to begin with. I do have a lot of these:
Sep 24 11:41:19 konrad kernel: [131012.924347] RTL871X: rtw_set_ps_mode(enxd46e0e147875) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
Sep 24 11:41:19 konrad kernel: [131012.924359] RTL871X: rtl8192e_set_FwPwrMode_cmd: Mode=2 SmartPS=2 UAPSD=0
Sep 24 11:41:19 konrad NetworkManager[822]: <warn> [1506246079.6088] (wlan0): error getting signal strength: No such device
Sep 24 11:41:21 konrad kernel: [131014.928441] RTL871X: rtw_set_ps_mode(enxd46e0e147875) Leave 802.11 power save - WIFI-TRAFFIC_BUSY
Sep 24 11:41:21 konrad kernel: [131014.928451] RTL871X: rtl8192e_set_FwPwrMode_cmd: Mode=0 SmartPS=2 UAPSD=0
Sep 24 11:41:23 konrad kernel: [131016.932286] RTL871X: rtw_set_ps_mode(enxd46e0e147875) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
Sep 24 11:41:23 konrad kernel: [131016.932297] RTL871X: rtl8192e_set_FwPwrMode_cmd: Mode=2 SmartPS=2 UAPSD=0
Sep 24 11:41:25 konrad NetworkManager[822]: <warn> [1506246085.6072] (wlan0): error getting signal strength: No such device
Sep 24 11:41:31 konrad NetworkManager[822]: <warn> [1506246091.6080] (wlan0): error getting signal strength: No such device
Sep 24 11:41:37 konrad NetworkManager[822]: <warn> [1506246097.6046] (wlan0): error getting signal strength: No such device
Sep 24 11:41:43 konrad NetworkManager[822]: <warn> [1506246103.6078] (wlan0): error getting signal strength: No such device
Sep 24 11:41:49 konrad NetworkManager[822]: <warn> [1506246109.6042] (wlan0): error getting signal strength: No such device
Sep 24 11:41:51 konrad kernel: [131044.988390] RTL871X: rtw_set_ps_mode(enxd46e0e147875) Leave 802.11 power save - WIFI-TRAFFIC_BUSY
Sep 24 11:41:51 konrad kernel: [131044.988402] RTL871X: rtl8192e_set_FwPwrMode_cmd: Mode=0 SmartPS=2 UAPSD=0
Sep 24 11:41:53 konrad kernel: [131046.992232] RTL871X: rtw_set_ps_mode(enxd46e0e147875) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
Side note: the "error getting signal strength" appeared recently afaik, before it wasn't there, yet problems existed as well.
Regarding the 'power save...' things, someone adviced me to set
[connection]
wifi.powersave = 2
In file /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf (It used to be 3 before). I did it, and rebooted the entire machine. But it didn't changed anything.
So, how to get rid of these messages? I think this is how I should start solving the main issue?
p.s. This is the result of the Wireless Info Script ( My wireless/WiFi connection does not work. What information is needed to diagnose the issue? ), created when the connection was OK: