IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


Command shell: TCP/IP commands


CLOSETELNET: Close current Telnet session
Close current telnet session. This command will finish the current Telnet session.
Example:
closetelnet
Since
V0.84


CLOSESSH: Close all SSH sessions
Close all SSH sessions. This command will finish all established SSH sessions.
Example:
closessh
Since
V1.05


DHCP 0/1: Enable/Disable DHCP
Enables (1) or disables (0) the use of DHCP for the internal Ethernet interface to obtain an IP configuration. DHCP is an abbreviation for "Dynamic Host Configuration Protocol". Using a DHCP Server, the network administrator can define the IP configuration of the network, without manually configuring each device on the network. Network servers and some ISDN routers offer a DHCP server.
Example:
dhcp 1
Since
V0.84


FTP 0/1: Enable/Disable FTP
Enables (1) or disables (0) the FTP server. Additionally a resp. entry is added to the CHIP.INI configuration file to preserve the FTP server's running status after a reboot.
Example:
ftp 1
Since
V0.84


GATEWAY address: Sets the IPv4 address of the default gateway to use
Sets the IPv4 address of the default gateway to use. This command modifies the information stored in A:\CHIP.INI. The DHCP option is also switched off. The new gateway address is not used until after a IPETH command or a restart of the system.
Example:
gateway 172.30.0.125
Since
V0.84
See also
CHIP.INI IP section


IP address: Sets the IPv4 address of the Ethernet interface
Sets the IPv4 address of the Ethernet interface. This command modifies the information stored in A:\CHIP.INI. The DHCP option is also switched off. The new address is not used until after a IPETH command or a restart of the system.
Example:
ip 172.30.8.36
Since
V0.84
See also
CHIP.INI IP section


IPV6 AddressIndex Address : Set an IPv6 address entry for the internal Ethernet interface.
It is possible to configure up to 5 IPv6 addresses (index 0 through 4). This command modifies the IPv6 settings stored in A:\CHIP.INI. The new address is not used until after a ipeth command is issued or after rebooting the system. The prefix length is always required (e.g. the "/64" in examples below). The ipv6cfg command can be used to verify your entry before restarting the system.
Example:
IPv6 0 3ffe:ffff:0:f101::1/64
IPv6 1 4ffe:ffff:0:f101::1/64
IPv6 4 2ffe:ffff:0:f101::1/64
Since
V1.05


IPCFG: Display current IPv4 configuration
This command displays the current IPv4 configuration of all installed TCP/IP device interfaces. The fields shown for each installed TCP/IP device interface are:

         Device: Interface name
         Type: ETH(Ethernet), LPK(Internal loopback), PPP or Unknown
         Idx: Internal index number of the device interface
         IP address
         Network mask
         MAC address: (If Ethernet type)
         Gateway: Default gateway, if one is set
The current link state and operating mode of the Ethernet controller are displayed with the IPv4 address configuration of the internal Ethernet device.
Example:
ipcfg
Since
V0.84


IPV6CFG: Display current IPv6 address configuration
This command displays the current IPv6 configuration of all installed TCP/IP device interfaces. The fields shown for each installed TCP/IP device interface are:

         Device: Interface name
         Type: ETH(Ethernet), LPK(Internal loopback), PPP or Unknown
         Idx: Internal index number of the device interface
         IPv6 address
         MAC address: (If Ethernet type)
Example:
IPV6CFG
Since
V1.05


IPETH: Restart/Reconfigure the internal Ethernet interface,
e.g. after changing the IP configuration, without rebooting the system.
If the restart command prints an error message, check your IP parameters.
In most cases an invalid gateway IP address is the reason why the restart failed.

Please note: If the specified number of DHCP_TRIALS is larger than default 3, the command will not wait for completion of the DHCP process.
Example:
ipeth
Since
V0.84


NETMASK mask: Set the network mask for IPv4 addressing of the Ethernet interface
Sets the subnet mask for IPv4 addressing of the internal Ethernet interface. This command modifies the information stored in A:\CHIP.INI. The DHCP option is also switched off. The new subnet mask is not used until after a IPETH command or a restart of the system.
Example:
netmask 255.255.240.0
Since
V0.84
See also
CHIP.INI IP section


PING address: The ICMP echo request (ping)
Test the network connection with the ICMP command ping. This command sends 4 ICMP echo requests (64 Bytes) to the remote host, with an interval of 1 second and shows the results. DNS names are supported.
Example:
ping 192.168.200.10
ping www.beck-ipc.com
Since
V0.84


CGISTAT: List Installed CGI handlers
This function will list all installed CGI handlers.
Example:
cgistat
Since
V0.82
See also
CGI_Install()


WEBSTAT: Show the current settings of the Web server
This function will show the current settings of the Web server: e.g. root directory, root drive, default start page etc. See CHIP.INI WEB configuration.
Example:
webstat
Since
V0.82


SNIFF DirPath [Interface]/0: Enable/disable network tracing

This command starts and stops internal network tracing. Due to the CAP file format used to store the data, the trace files are readable by network analyzer tools such as Wireshark.

If network tracing is enabled, the network traffic will be written into trace files at the specified path (e.g. B:\Sniff, C:, ...). A trace file will be created for each network interface which sends or receives data. The names of the trace files are derived from the device name with the .CAP extension appended, e.g. eth0.cap. Any SNIFF files left over from a previous power up session for a particular device will be overwritten when that device starts to record network data.

Typing SNIFF 0 stops the tracing. If trace is later re-enabled during the same power up period, the existing trace files will be appended.

If no interface name is given the traffic of all interface will be captured. If an interface name is specified the traffic of this single interface is captured. Note: The interface name is case sensitive.

Due to the limited write cycles of the internal flash device it is recommended to specify a path located on an external disk or on the internal C: ram drive.

Please note that network tracing can place a significant load on the CPU and will slow down the speed of the network communication.
Example:
Sniff B:\Sniff
Sniff C:
Sniff C: eth0
Sniff 0
Since
V0.84


SSHKEYGEN key-type filename [key-size]: Generate a SSH key
This command will generate a new SSH key.
The "key-type" must be either "rsa", "dsa" or "ecdsa".
The "key-size" in bits can be given as an optional parameter.
Example:
sshkeygen rsa ssh_rsakey 1024
sshkeygen dsa ssh_dsakey
sshkeygen ecdsa ssh_esdsakey 256
Since
V1.05





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Dec 12 2017 09:23:36 by Doxygen 1.8.13