10
Configuring the Device
5.3 Establishing the TELNET connection and logging in
Establish a TELNET connection via the factory-set IP address. A login can be performed after connection
setup.
Login:
Access to the console and Linux commands is granted after you login with
root
and enter the
corresponding password. If you have any questions, please contact your system administrator or the
technical support team of Interflex Datensysteme GmbH.
The
root@
prompt signals readiness to receive commands and data.
5.4 Checking and setting network parameters
The command
netpar
shows you the current network parameters, which you can then change. The
following options are available:
login as: root
root@IF-xxxx:~ netpar
displays or changes network parameters
usage:
netpar -i
show network settings
netpar -x
change IP addr., gateway, netmask and port no
netpar -s
reboot system
netpar -y
enable DHCP
netpar -y
print this screen
5.4.1 Setting network parameters (netpar -x)
The command
netpar-x
shows you the current network parameters (e.g. the IP address and port), which
you can then change.
login as: root
root@IF-xxxx:~ netpar -x
IP address
[172.18.20.110]
:
Gateway
[172.18.70.1]
:
Netmask
[255.255.0.0]
:
Port number [2001]
:
hostname
[IF-xxxx]
:
Confirm other settings (e.g. Gateway, Netmask, etc.) that are not to be changed by pressing the "Enter"
key.
Please note:
A TELNET connection is immediately terminated after network parameters have been
changed.
With the
oc
–o
command, you can prevent a TELNET connection.
5.5 Setting serial/SSH connection
With the command
oc -o
, you can set the following connections:
Serial to host. The TCP/IP process is not started.
SSH. The startup of a TELNET process is disabled.
root@IF-xxxx:~ oc -o
Start TCP/IP
: y
Start TELNETD
: y
Start TCP/IP (y/n) ?
: y ==>
Start telnet deamon (y/n) ?
: y ==>
Enter
TCP/IP: n
for a serial host connection when starting.
For an SSH connection upon startup, enter
TELNET deamon: n
.