2018-11-07, 19:28
(2018-11-07, 19:00)jmerrilljr Wrote:Is this the correct iperf output?:(2018-11-07, 18:39)Milhouse Wrote:I can make the/flash partition writable but nano gives me a new file.(2018-11-07, 18:19)jmerrilljr Wrote: I have no idea how to access my kernel command line. Also iperf can't connect to libreelec via TCP. I must be doing something wrong. Thanks for all your help.
TCP should be the default for iperf - you're telling it to test UDP by using the-u
option. You're also limiting the bandwidth to 100Mb (which you'll probably never see with UDP even without kernel issues).
I'd suggest using the following iperf options on the client:
text:
iperf -c 10.0.1.55 -t 60 -i 10
On the server, you only need:
text:
iperf -s
To access your kernel command line, you need to edit /flash/syslinux.cfg.
To make the /flash partition writeable, you first need to runmount -o remount,rw /flash
.
You can usevi
ornano
to edit/flash/syslinux.cfg
.
Make a backup of your current file with:
text:
cp /flash/syslinux.cfg /flash/syslinux.cfg.bak
The kernel command line is the line that begins withAPPEND
so if your current file looks like:
text:
DEFAULT linux
PROMPT 0
LABEL linux
KERNEL /KERNEL
APPEND boot=LABEL=System disk=LABEL=Storage quiet
then you need to change /flash/sylinux.cfg to be:
text:
DEFAULT linux
PROMPT 0
LABEL linux
KERNEL /KERNEL
APPEND boot=LABEL=System disk=LABEL=Storage quiet log_buf_len=16M
Obviously, if you get this wrong and corrupt the contents of this file you may have a non-booting system which you can recover using LibreELEC booted from a memory stick (you'll need to boot intolive
live mode, enable ssh, login with ssh and your internal HDD/SSD will be available via the /media path - restore syslinux.cfg from your syslinux.cfg.bak backup) then reboot from HDD/SSD.
Only make this change if you are confident about making the change.
Last login: Wed Nov 7 12:15:18 on ttys001
Johns-iMac-2:~ johnmerrill$ iperf -c 10.0.1.55 -t 60 -i 10
connect failed: Connection refused
Johns-iMac-2:~ johnmerrill$ ssh [email protected]
[email protected]'s password:
##############################################
# LibreELEC #
# https://libreelec.tv #
##############################################
LibreELEC (official): 8.2.5 (Generic.x86_64)
LibreELEC:~ # iperf -c 10.0.1.55 -t 60 -i 10
Connecting to host 10.0.1.55, port 5201
[ 4] local 10.0.1.55 port 57746 connected to 10.0.1.55 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-10.00 sec 31.1 GBytes 26.7 Gbits/sec 0 3.25 MBytes
[ 4] 10.00-20.00 sec 31.6 GBytes 27.1 Gbits/sec 0 3.25 MBytes
[ 4] 20.00-30.00 sec 31.5 GBytes 27.0 Gbits/sec 0 3.25 MBytes
[ 4] 30.00-40.00 sec 31.7 GBytes 27.2 Gbits/sec 0 3.25 MBytes
[ 4] 40.00-50.00 sec 31.1 GBytes 26.7 Gbits/sec 0 3.25 MBytes
[ 4] 50.00-60.00 sec 31.2 GBytes 26.8 Gbits/sec 0 3.25 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-60.00 sec 188 GBytes 26.9 Gbits/sec 0 sender
[ 4] 0.00-60.00 sec 188 GBytes 26.9 Gbits/sec receiver
iperf Done.
LibreELEC:~ #