Date: Fri, 29 Mar 2024 06:04:42 +0100 (CET) Message-ID: <1367054003.3529.1711688682755@teamwork> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3528_1134697881.1711688682755" ------=_Part_3528_1134697881.1711688682755 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Valid for: |
N610 |
N670 |
N870 |
N870E |
Embedded Integrator |
Virtual Integrator |
It is possible to enable the CLI access and execute commands for differe= nt purposes.
When enabled you can access:
Open the web-interface and go to: SETTINGS - System - Web config= urator - CLI access via SSH
Connect via SSH using a program like putty.
DHCP options
Set DHCP options (Example remove DHCP option 66)
cli-config set network.lan.reqopts=3D'114 120 125 43 51 54 58'
network.lan.reqopts=3D'114 66 120 125 43 51 54 58'
Set DHCP options (Example remove DHCP option 66)
cli-config set network.lan.reqopts=3D'114 120 125 43 51 54 58'
ifconfig eth0
View the configuration of the network interface
measure-dump
measure-dump [<options>]
-h Show this help
-l Lists all sites of which measur=
ement logs are available, with information about number of files
-r <site(s)> Remove the generated measure-dump.tar file (/tmp/p=
ub/measure-dump. &n=
bsp; tar) and the measurement logs of given site(s) (dflt: all sites)<=
br>
<site(s)> Dump measurement of given site(s), if option =
is not provided, all sites will be dumped
Note: Don't forget to remove your measurement data, if download was succ=
essful.
Otherwise you might leave your data on the measurement device.
set network.lan.release=3D1
Send DHCP release when rebooting= span>
sudo set network.lan.release=3D1 (= Enable the DHCP release)
sudo set network.lan.release=3D0 (= Disable the DHCP release, default setting)
set-power 1
Set DECT Tx power to a specific va= lue for example to force a handover
Set power to the lowest value
sudo set-power 1
Set power to the highest value
sudo set-power 10
Set power to the default value
sudo set-power 0
Setting per DECT base and does not survive a reboot
scheduled-reboot
USAGE: scheduled-reboot --time=3D<HH:MM> --dow=3D<value> --c=
heck_intvl=3D<value>
Creating a reboot scheduling plan
--time=3D<HH:MM>: Time of day to reboot
--dow=3D<value>: Comma separated list of days-of-week starting =
with 0
e.g. "1" only on Mo
"0,1,2,3,4,5,6" daily
"0,2,4,6" Su,Tu,Th,Sa
--check-intvl=3D<value>: 0 Means no check for any active call -=
reboot is executed as planned.
--check-intvl=3D<value>: >0 Means how often an outstanding r=
eboot call is suppressed if an call is active
on that device and adding a delay of 5 min before next check-interval=
.
When reaching the maximum check_intvl iteration while a call is still=
active, the
current reboot job is skipped and shifted to the next reboot-job exec=
ution based
on the scheduling plan. Default value is 0 -> no check.
scheduled-reboot --time=3Dclear
Clearing the reboot scheduling plan
scheduled-reboot --time=3Dnow
reboots now without touching the scheduling plan
scheduled-reboot --show
show current reboot crontab-based entry
sysdump-all
Usage: sysdump-all [<options>]
-h Show this help
-c add core dump
-s add css_ramdump
-x exclude rotated /var/log/messages*.gz
-b add sysdumps from all external bases
-i exclude last incident sysdump
-e exclude database dump
-d define output directory of the generated sysdump-all.tar file (dflt: /tm=
p/pub/sysdump-all.tar)
tcpdump
dump traffic on a network
Example:
Dump all packets (except ssh) and pipe it to wireshark on Linux
bash -c 'ssh -o StrictHostKeyChecking=3Dno cli@192.168.2.183 sudo tcpdum= p -n -i any -U port !22 -w - | wireshark -k -i -'
whereami 10
Flashing the LEDs of the current device for 10s
whoami
Print the user name associated with the current effective user id