Rock Pi 4, below-par Wifi connectivity, latency & openSSH

Hi,

Just a quick entry to check if others are observing the same (will add troubleshooting data later)
I’m running a Rock Pi 4 (1.3 hw) with the latest Ubuntu Server image, and I’m planning to use
it headless. The board is connected via WiFi, the router is located on the same floor (i.e. well within an acceptable distance, i.e. more or less optimal conditions)
In AC mode, the connection is not stable at all …a ping to the gw will show highly variable RT-delays, and the connection drops.
in 11n mode, the connection remains up, but an active SSH session to the board (openssh-server) shows very bad “reactivity” … characters entered will not be echo’d for several seconds (especially after some idle time) etc, something which is typical for frameloss & retransmissions … …I never observe this on a Raspberry Pi, connected over the same Wifi network & located even further away.
Does anyone observe the same ?

Hi, PDM

try

sudo iwconfig wlan0 power off

You can edit the following file to permanently disable wifi power management.

/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Just change it to a value of 2.

Ok, many thanks Setq, I’ll give it a try !

Br

Patrick

I’ve spend quite some time on this, but I’m afraid the persistent-approach doesn’t seem to work in Ubuntu 18.04 … disabling power-save via CLI (after full boot) always works, but setting the value in the .conf file doesn’t have any effect after reboot … I’ve also tried to put the cli cmd in rc.local (after a sleep of 10s) … no luck either. I’m out of ideas on this one.

Radxa team, any comments ?

Create a file named wifi-powersave-off.conf and put it under /etc/NetworkManager/conf.d/, and the file contents are as follows,

[connection]
#Values are 0 (use default), 1 (ignore/don’t touch), 2 (disable) or 3 (enable).
wifi.powersave = 2

reboot.

Thanks setq, I tried several approaches/solutions I found on the web, including this one I think, without result … I will try again & let you know.

Br

Patrick