Jump to content

Orange Pi zero lag over ssh


Recommended Posts

I have certain problem when using ssh on my Orange Pi zero. When I am connected through on-board wifi module the ssh panel have a lot of lag when I am writting commands. However I am not experiencing the same problem when I am connecting through ethernet. I can't understand if that's a case of bad connection as I have the same behaviour even if I put my pi next to my router. I know that the on-board wifi module is not the best but it seems that its unusable. Anyone has any relative problem? Is there any solution or its just hardware based and I need an external wifi dongle?

Link to comment
Share on other sites

Hi,

 

I have found solution for lagging ssh which work for me. It was tested only on the latest available realsese Nightly 4.10.1 (https://www.armbian.com/donate/?f=https://dl.armbian.com/orangepizero/Ubuntu_xenial_dev_nightly.7z). The procedure is following.

1. Set your wifi connection with network manager (nmtui-connect).

 

2. Add following to the rc.local

GATEWAY=`route -n | grep "^0.0.0.0" | tr -s " " | cut -f2 -d" "`
ifconfig wlan0 down
ifconfig wlan0 up
route add default gw $GATEWAY wlan0

 

3. Change in rc.local 

#!/bin/sh -e

to 

#!/bin/bash

 

Make schure that NetworkManager-wait-online.service is enabled

 

systemctl unmask NetworkManager-wait-online.service

 

Best,

Mariusz

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines