5
Initial operation
© 2021 Interflex Datensysteme GmbH
IF-4076-0 Access Manager
20
5.2 Checking and setting network parameters
The
netpar -?
command lists the call parameters of the
netpar
command:
fieldservice@IF‑xxx:~ netpar -?
Display or change network parameters (legacy)
Please consider using nmtui or nmcli instead.
Usage: /opt/interflex/bin/netpar [OPTION]
-i show network settings
-x change IP addr., gateway, netmask and port no
-d use default network configuration
-y use DHCP network configuration
-r restart network interface
-h show DHCP configuration
-m change 'SNMPD' options parameters
-w Connecting Wifi profile netpar-wifi
-? print this help screen
Input syntax for commands
Observe the following input syntax for commands:
n
Commands are written in lowercase.
n
Options are separated from the command by a blank and the minus sign.
n
-?
lists all possible command options.
n
Press the
Enter
key to confirm command lines and data.
n
To save new data, you must confirm the
Write to EEPROM (y/n)?
prompt by entering
y
for yes.
n
Modified data only becomes effective after a restart, e.g. after a cold boot.
n
SSH connections must be properly terminated after configuration.
Setting the network parameters
Via the
netpar -x
command, you can retrieve a list of the current network parameters (e.g. the IP
address and port), which you can then change.
Confirm values (e.g. Gateway, Netmask, etc.) that you do not wish to change by pressing the
Enter
key.
When your changes are complete, a list of the current network parameters is displayed after a few
seconds and then the connection to the controller is terminated.