Arexx – BS-1000 via Telnet uitlezen of instellen
Hieronder vind je een Engelstalige versie van de BS-1000 telnet handleiding
Telnet interface BS1000
The BS1000 has telnet support since firmware 18.104.22.168
The telnet interface allows you to configure some basic settings of the BS1000. In fact the possibilities are a subset of the web interface, but there are circumstances where the telnet interface is convenient. The BS1000 responds to tcp/ip port 23, no encryption. The port can be disabled in the network page of the admin section of the web interface.
The commands are:
V: give current version of the firmware (n.n.n.n)
clearAllSessions: clears the currently open admin web session.
Date and time functions:
tl: show date-time, tl : set date-time (local time)
tu: show date-time, tu : set date-time (UTC) format is: yyyy-mm-dd hh:mm:ss.
ti: sync with current ntp server, ti : set ntp address and sync, is ip number of network address (for example ntp.ubuntu.com)
tz: time-zone offset, tz : set time-zone offset in +/-minutes
mac: show mac address
The following commands can be given to retrieve or change the network settings. In order to change, we make use of parameter settings. It contains the temporary settings that can be manipulated by the commands. When these settings are correct, they can be effected by the command . The command will disconnect the current connection and initialize the BS1000 network interface with the new parameter settings. The parameter settings are copied from the current settings by the command.
ic: show current settings
ip: show parameter settings
ih: set to dhcp
ia: set to static ip address
im: set to static ip network mask
ig: set to static ip gateway
id: set to static ip dns
in: set network name
iz: install parameter settings Telnet interface
d: set debug options flags:
l: set log stream on: the result of executed rules is shown in this stream
m: set measurement stream on: the current incoming measurements are shown in this stream
e: set error stream on: errors on parsing the condition of a rule are shown in this stream
example: dml sets log and measurement stream on
the command d (so without flags) will stop the telnet output streaming.
All streams are disabled when a file is uploaded to the bs1000. Note that streaming will be sent to one telnet connection only. Furthermore, streaming output is suppressed when other telnet output is generated.
Voorbeeld instellen netwerk
Voorbeeld “dml” commando
M: 9707 9707 1 2015-06-17 08:43:23 26.1 -80
M: 57432counts 57432 11 2015-06-17 08:43:33 23.0 -51
M: 19168RH 19168 3 2015-06-17 08:44:02 47.5 -52
M: 19168 19168 1 2015-06-17 08:44:23 25.0 -51
M: 57432counts 57432 11 2015-06-17 08:44:33 31.0 -51
M: 9707 9707 1 2015-06-17 08:44:40 26.2 -81
M: 19168RH 19168 3 2015-06-17 08:44:46 53.3 -51
M: 19168 19168 1 2015-06-17 08:45:42 25.3 -51
M: 57432counts 57432 11 2015-06-17 08:45:43 31.0 -51
M: 9707 9707 1 2015-06-17 08:45:49 26.2 -82