aminos Posted July 16, 2017 Posted July 16, 2017 Hi,I have a problem with the ssh wifi connection with the nanopi neo air it has every faith that I connect it is too slowI have disabled the NetworkManager with the following commandsSystemctl stop NetworkManager.serviceSystemctl disable NetworkManager.serviceAnd configured my network connection with the / etc / network / interfaces fileAnd also i have disabled iwconfigIwconfig wlan0 power offalways remains the problem of SSH slowthenks for your help
Igor Posted July 16, 2017 Posted July 16, 2017 We are not clairvoyant or mind readers Please describe your setup as best as possible so we know what your operating environment is like. 1. Logs, when you can boot the board: armbianmonitor -u (paste URL to your forum post) 2. Did you attach antenna? Without it works very bad. 3. What is slow? Connecting? Transfer? Can you do iperf3 test to your server / other wired machine?
aminos Posted July 18, 2017 Author Posted July 18, 2017 sorry for my late response, I changed the developpement board from nanopi neo air to orange pi zero plus2 but I still have the same problem (it is the ssh transfer which is so slow) there is the url given armbianmonitor -u http://sprunge.us/YJXS thanks for your help.
Igor Posted July 18, 2017 Posted July 18, 2017 System wise and if you start from a clean image, there should be nothing wrong. First, check this post, to see what transfer rates are possible to get out from this chip in some real world scenario. When you are using ssh, a connection is encrypted and CPU power is used, which can only slower this transfer speed. AFAIK hardware assisted encryption is n/a in this kernel/chip. More info: http://linux-sunxi.org/Sunxi_devices_as_NAS#cite_note-3
aminos Posted July 18, 2017 Author Posted July 18, 2017 I already download the latest image version available in the web site armbian https://www.armbian.com/orange-pi-zero-2-h3/
Igor Posted July 18, 2017 Posted July 18, 2017 58 minutes ago, aminos said: I already download the latest image version available in the web site armbian https://www.armbian.com/orange-pi-zero-2-h3/ That's all fine. I am only wondering if you understand hardware limits of those boards. Wireless - encryption speed? SSH transfer will be much slower than with some (wired) Intel based desktop. And another example - faster version of this Opi Zero2 with H5 might show better results by using the same wireless chip. Can you provide iperf3 measurements between your Opi Zero2 and some wired server / router? To see if your wireless speed operates at a normal rate.
aminos Posted July 18, 2017 Author Posted July 18, 2017 I can't receive anything after a typing the following command : root@orangepizeroplus2:~# iperf3 -c 192.168.1.1 iperf3: error - unable to connect to server: Connection refused
Igor Posted July 18, 2017 Posted July 18, 2017 1 hour ago, aminos said: iperf3: error - unable to connect to server: Connection refused On that or some other wired server you need to run iperf3 server with the command: iperf -s
aminos Posted July 18, 2017 Author Posted July 18, 2017 I do this Croot@orangepizeroplus2:~# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ and i have also this error root@nanopiair:~# iperf3 -c 192.168.42.1 iperf3: error - unable to connect to server: Connection refused
Igor Posted July 19, 2017 Posted July 19, 2017 You need to use iperf3 in both cases. It seems that I also made a typo.
aminos Posted July 19, 2017 Author Posted July 19, 2017 Hi, I have just done the test with the command iperf3 and I get this : -------------------------------------------------------------------------------------------- root@nanopiair:~# iperf3 -c 192.168.42.1 Connecting to host 192.168.42.1, port 5201 [ 4] local 192.168.42.113 port 44649 connected to 192.168.42.1 port 5201 [ ID] Interval Transfer Bandwidth Retr Cwnd [ 4] 0.00-1.00 sec 1.94 MBytes 16.3 Mbits/sec 0 112 KBytes [ 4] 1.00-2.00 sec 1.88 MBytes 15.8 Mbits/sec 0 194 KBytes [ 4] 2.00-3.00 sec 1.94 MBytes 16.3 Mbits/sec 0 276 KBytes [ 4] 3.00-4.00 sec 1.84 MBytes 15.4 Mbits/sec 0 359 KBytes [ 4] 4.00-5.00 sec 1.80 MBytes 15.1 Mbits/sec 0 448 KBytes [ 4] 5.00-6.00 sec 1.94 MBytes 16.3 Mbits/sec 0 532 KBytes [ 4] 6.00-7.00 sec 1.88 MBytes 15.8 Mbits/sec 0 626 KBytes [ 4] 7.00-8.00 sec 2.00 MBytes 16.8 Mbits/sec 0 706 KBytes [ 4] 8.00-9.00 sec 2.01 MBytes 16.9 Mbits/sec 0 796 KBytes [ 4] 9.00-10.00 sec 1.88 MBytes 15.8 Mbits/sec 0 880 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 19.1 MBytes 16.0 Mbits/sec 0 sender [ 4] 0.00-10.00 sec 18.8 MBytes 15.8 Mbits/sec receiver iperf Done. ------------------------------------------------------------------------------------------ thanks for your help
Igor Posted July 19, 2017 Posted July 19, 2017 15 Mbits/sec is a bit low ... raw speed highly depends on circumstances: distance, antennas, router, interference with other stations, ... I can achieve around 45Mbit/sec with exactly the same chip, but with a normal antenna on both sides, 15-20m distance, one concrete wall and zero radio smog (rural area). It's not a problem of the chip, board or software, but your setup. Small chances are also that there are some bad contacts on the connector, bad antenna cable, ...
aminos Posted July 19, 2017 Author Posted July 19, 2017 I used the antennas of my wifi router and I got that ---------------------------------------------------------------------------------------------------------------- root@nanopiair:~# iperf3 -c 192.168.42.1 Connecting to host 192.168.42.1, port 5201 [ 4] local 192.168.42.113 port 56232 connected to 192.168.42.1 port 5201 [ ID] Interval Transfer Bandwidth Retr Cwnd [ 4] 0.00-1.00 sec 4.31 MBytes 36.2 Mbits/sec 0 215 KBytes [ 4] 1.00-2.00 sec 4.45 MBytes 37.3 Mbits/sec 0 420 KBytes [ 4] 2.00-3.00 sec 4.01 MBytes 33.6 Mbits/sec 0 591 KBytes [ 4] 3.00-4.00 sec 4.22 MBytes 35.4 Mbits/sec 0 790 KBytes [ 4] 4.00-5.00 sec 4.46 MBytes 37.4 Mbits/sec 0 991 KBytes [ 4] 5.00-6.00 sec 4.78 MBytes 40.1 Mbits/sec 0 1.16 MBytes [ 4] 6.00-7.00 sec 3.55 MBytes 29.8 Mbits/sec 0 1.36 MBytes [ 4] 7.00-8.00 sec 4.79 MBytes 40.2 Mbits/sec 16 1.35 MBytes [ 4] 8.00-9.00 sec 4.01 MBytes 33.6 Mbits/sec 35 1.13 MBytes [ 4] 9.00-10.00 sec 4.45 MBytes 37.3 Mbits/sec 0 1.24 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 43.0 MBytes 36.1 Mbits/sec 51 sender [ 4] 0.00-10.00 sec 42.2 MBytes 35.4 Mbits/sec receiver iperf Done. ---------------------------------------------------------------------------------------------------- What you recommend me the best wifi antenna thanks .
aminos Posted July 19, 2017 Author Posted July 19, 2017 Sorry I thought it works but just when I get distance of 1 meter between the two board the speed of wifi Becomes as before I do not know what to do.
aminos Posted July 20, 2017 Author Posted July 20, 2017 I got that With a distance of 6 meters and large antenna ------------------------------------------------------------------------------------------------ root@nanopiair:~# iperf3 -c 192.168.42.1 Connecting to host 192.168.42.1, port 5201 [ 4] local 192.168.42.113 port 32819 connected to 192.168.42.1 port 5201 [ ID] Interval Transfer Bandwidth Retr Cwnd [ 4] 0.00-1.00 sec 102 KBytes 834 Kbits/sec 1 22.6 KBytes [ 4] 1.00-2.00 sec 65.0 KBytes 533 Kbits/sec 0 28.3 KBytes [ 4] 2.00-3.00 sec 102 KBytes 834 Kbits/sec 3 25.5 KBytes [ 4] 3.00-4.00 sec 180 KBytes 1.47 Mbits/sec 0 28.3 KBytes [ 4] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 1 28.3 KBytes [ 4] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 1 28.3 KBytes [ 4] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 0 28.3 KBytes [ 4] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 1 28.3 KBytes [ 4] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0 28.3 KBytes [ 4] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0 28.3 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 448 KBytes 367 Kbits/sec 7 sender [ 4] 0.00-10.00 sec 393 KBytes 322 Kbits/sec receiver iperf Done. --------------------------------------------------------------------------------------------------------
Igor Posted July 20, 2017 Posted July 20, 2017 If I assume your router is O.K. and all other devices perform normally than this indicates some failure, like a bad antenna, cold soldering ... not a problem which we could fix or assist. Do close inspection, change power supply - make sure it gives you enough current, check voltage drops, ... this kind of troubles can manifest in a strange manner.
Recommended Posts