Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

iperf3 läuft nicht...

491 views
Skip to first unread message

Thomas Heier

unread,
Jan 22, 2017, 1:05:11 PM1/22/17
to
Hallo,

ich habe auf einen Tip von hier vor einigen Tagen das Porgramm iperf
gesaugt. Der Rechner hat die Datei iperf3-3.1.3-amd64-freebsd10.txz
automatisch ausgeapckt und ein "Unix executable" draus gemacht. Wenn ich
nun im Terminal per cd Downloads in das Verzeichnis springe, wo das
Programm liegt kann ich es starten - allerdings bekomme ich

Mac-Mini:Downloads th$ ls i*
iperf3 iperf3-3.1.3-amd64-freebsd10.txz
Mac-Mini:Downloads th$ sudo iperf3 -c 192.168.2.100
Password:
sudo: iperf3: command not found
Mac-Mini:Downloads th$

Warum???

Wenn ich im Finder das Programm doppelklicke bekomme ich in eimen neuem
Fenster folgernde Ausgabe:

Last login: Sun Jan 22 18:56:23 on ttys001
Mac-Mini:~ th$ /Users/th/Downloads/iperf3 ; exit;
iperf3: parameter error - must either be a client (-c) or server (-s)

Usage: iperf [-s|-c host] [options]
iperf [-h|--help] [-v|--version]

Server or Client:
-p, --port # server port to listen on/connect to
-f, --format [kmgKMG] format to report: Kbits, Mbits, KBytes,
MBytes
-i, --interval # seconds between periodic bandwidth reports
-F, --file name xmit/recv the specified file
-B, --bind <host> bind to a specific interface
-V, --verbose more detailed output
-J, --json output in JSON format
--logfile f send output to a log file
-d, --debug emit debugging output
-v, --version show version information and quit
-h, --help show this message and quit
Server specific:
-s, --server run in server mode
-D, --daemon run the server as a daemon
-I, --pidfile file write PID file
-1, --one-off handle one client connection then exit
Client specific:
-c, --client <host> run in client mode, connecting to <host>
-u, --udp use UDP rather than TCP
-b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for
unlimited)
(default 1 Mbit/sec for UDP, unlimited for
TCP)
(optional slash and packet count for burst
mode)
-t, --time # time in seconds to transmit for (default 10
secs)
-n, --bytes #[KMG] number of bytes to transmit (instead of -t)
-k, --blockcount #[KMG] number of blocks (packets) to transmit
(instead of -t or -n)
-l, --len #[KMG] length of buffer to read or write
(default 128 KB for TCP, 8 KB for UDP)
--cport <port> bind to a specific client port (TCP and UDP,
default: ephemeral port)
-P, --parallel # number of parallel client streams to run
-R, --reverse run in reverse mode (server sends, client
receives)
-w, --window #[KMG] set window size / socket buffer size
-M, --set-mss # set TCP/SCTP maximum segment size (MTU - 40
bytes)
-N, --no-delay set TCP/SCTP no delay, disabling Nagle's
Algorithm
-4, --version4 only use IPv4
-6, --version6 only use IPv6
-S, --tos N set the IP 'type of service'
-Z, --zerocopy use a 'zero copy' method of sending data
-O, --omit N omit the first n seconds
-T, --title str prefix every output line with this string
--get-server-output get results from server
--udp-counters-64bit use 64-bit counters in UDP test packets

[KMG] indicates options that support a K/M/G suffix for kilo-, mega-, or
giga-

iperf3 homepage at: http://software.es.net/iperf/
Report bugs to: https://github.com/esnet/iperf
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Prozess beendet]



Also muß das Programm irgendwie lauffähig sein. Nur wie bekomme ich es
mit Parameterübergabe gestartet?


--
Kennst du groops.de, die Freizeitgemeinschaft im deutschsprachigem
Raum? Reinschauen kostet nichts...
Urlaubsbilder: http://www.thomas-heier.de
Filme: http://www.youtube.com/user/thshDE?feature=mhum#g/u

Frank Reutter

unread,
Jan 22, 2017, 1:17:43 PM1/22/17
to
Thomas Heier <Th...@thomas-heier.de> wrote:

> Mac-Mini:Downloads th$ sudo iperf3 -c 192.168.2.100
> Password:
> sudo: iperf3: command not found

Versuch mal: sudo ./iperf3 -c 192.......

hth
f

--
...ausserdem halte ich verdunkelte Heckscheiben für antisozial und dumm.

Thomas Heier

unread,
Jan 22, 2017, 4:07:48 PM1/22/17
to
Frank Reutter <FrankR...@gmx.de> wrote:

>
> Versuch mal: sudo ./iperf3 -c 192.......

Hab ich. Jetzt lautet die Fehlermeldung

> Thomas-Mini:Downloads th$ sudo ./iperf3 -c 192.168.2.100
> iperf3: error - unable to connect to server: Connection refused


Dabei sehe ich in einem anderem Fenster, das auf dem Server iperf läuft:

> [root@G8 ~]# iperf -s
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size: 128 KByte (default)
> ------------------------------------------------------------
>

Und die Adresse sollte stimmen:


> Thomas-Mini:Downloads th$ ping 192.168.2.100
> PING 192.168.2.100 (192.168.2.100): 56 data bytes
> 64 bytes from 192.168.2.100: icmp_seq=0 ttl=64 time=0.315 ms
> 64 bytes from 192.168.2.100: icmp_seq=1 ttl=64 time=0.277 ms

Ein Schritt in die Richtung, aber immer noch nicht in Sichtweite des
Zieles...

Frank Reutter

unread,
Jan 22, 2017, 4:28:32 PM1/22/17
to
Thomas Heier <Th...@thomas-heier.de> wrote:

> Hab ich. Jetzt lautet die Fehlermeldung
>
> > Thomas-Mini:Downloads th$ sudo ./iperf3 -c 192.168.2.100
> > iperf3: error - unable to connect to server: Connection refused

Das mag jetzt eine dumme Frage sein, aber
läuft iperf auf 192.168.2.100?

cu

Heinz Bastenhorst

unread,
Jan 22, 2017, 5:47:04 PM1/22/17
to
Thomas Heier <Th...@thomas-heier.de> wrote:

>
> > Thomas-Mini:Downloads th$ sudo ./iperf3 -c 192.168.2.100
> > iperf3: error - unable to connect to server: Connection refused

Vielleicht den Port mit angeben?

Gruß
h1

Gerald E:scher

unread,
Jan 22, 2017, 5:59:10 PM1/22/17
to
Thomas Heier schrieb am 22/1/2017 22:07:

> Frank Reutter <FrankR...@gmx.de> wrote:
>
>>
>> Versuch mal: sudo ./iperf3 -c 192.......
>
> Hab ich. Jetzt lautet die Fehlermeldung
>
>> Thomas-Mini:Downloads th$ sudo ./iperf3 -c 192.168.2.100
>> iperf3: error - unable to connect to server: Connection refused
>
>
> Dabei sehe ich in einem anderem Fenster, das auf dem Server iperf läuft:

Wie wär's mit Doku lesen oder einfach
https://iperf.fr/ 1. Absatz?

--
Gerald

Thomas Heier

unread,
Jan 23, 2017, 1:19:48 PM1/23/17
to
Frank Reutter <FrankR...@gmx.de> wrote:

> Das mag jetzt eine dumme Frage sein, aber
> läuft iperf auf 192.168.2.100?

Ja, das hatte ich doch in dem von dir zitiertem Posting geschrieben: G8
= 192.168.2.100.

Thomas Heier

unread,
Jan 23, 2017, 1:19:48 PM1/23/17
to
Gerald E:scher <Spa...@fahr-zur-Hoelle.org> wrote:

> Wie wär's mit Doku lesen oder einfach
> https://iperf.fr/ 1. Absatz?

Wirklich?

> What is iPerf / iPerf3 ?
> iPerf3 is a tool for active measurements of the maximum achievable
bandwidth on IP networks. It supports tuning of various parameters
related to timing, buffers and protocols (TCP, UDP, SCTP with IPv4 and
IPv6). For each test it reports the bandwidth, loss, and other
parameters. This is a new implementation that shares no code with the
original iPerf and also is not backwards compatible. iPerf was orginally
developed by NLANR/DAST. iPerf3 is principally developed by ESnet /
Lawrence Berkeley National Laboratory. It is released under a
three-clause BSD license.


> Was ist iPerf / iPerf3?
>
> IPerf3 ist ein Tool für die aktive Messung der maximal erreichbaren
Bandbreite in IP-Netzwerken. Es unterstützt die Abstimmung verschiedener
Parameter in Bezug auf Timing, Puffer und Protokolle (TCP, UDP, SCTP mit
IPv4 und IPv6). Für jeden Test meldet er die Bandbreite, den Verlust und
andere Parameter. Dies ist eine neue Implementierung, die keinen Code
mit dem ursprünglichen iPerf teilt und auch nicht rückwärtskompatibel
ist. IPerf wurde ursprünglich von NLANR / DAST entwickelt. IPerf3 wird
hauptsächlich von ESnet / Lawrence Berkeley National Laboratory
entwickelt. Es ist veröffentlicht unter einer drei-Klausel BSD-Lizenz.

Selbst mit der (recht guten) Übersetzung stehe ich auf dem Schlauch -
was meinst du?

Gerald E:scher

unread,
Jan 24, 2017, 3:14:20 PM1/24/17
to
Thomas Heier schrieb am 23/1/2017 19:19:

> Gerald E:scher <Spa...@fahr-zur-Hoelle.org> wrote:
>
>> Wie wär's mit Doku lesen oder einfach
>> https://iperf.fr/ 1. Absatz?
>
> Wirklich?

Wirklich!

> iPerf3 is a tool[...]
> This is a new implementation that shares no code with the
> original iPerf and also is not backwards compatible.

Ist doch eindeutig.
Anders formuliert: iperf3 als Client und iperf als
Server, wie du es versucht hast, kann nicht funktionieren.

--
Gerald
0 new messages