Achilleas Pappas Posted April 2, 2017 Posted April 2, 2017 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?
borombo Posted April 2, 2017 Posted April 2, 2017 Was the same problem on 3.xx kernel. after upgrade to 4.9.4 - wifi runs a little bit faster and smoother. except one thing - now it freezes for 5 seconds exactly every minute.
Achilleas Pappas Posted April 2, 2017 Author Posted April 2, 2017 Newbie question. I cannot completly understand what kernel is, how can I update. Is it a OS relative issue? Any documendation that can help me understand?
mariusz Posted April 2, 2017 Posted April 2, 2017 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 1
Recommended Posts