[:en]Network Commands Group[:fr]Groupe de commandes réseau[:] | VESTEL B2B Support Portal

[:en]Network Commands Group[:fr]Groupe de commandes réseau[:]

[:en]Network Commands Group[:fr]Groupe de commandes réseau[:]

Network Commands Group allows to control network settings. For example, “get_IP_address” can be executed to learn IP address of TV, or “SETWIFIAPSECURITYPASSWORD Password1234” can be executed to set password of access point as Password1234. ​These commands can be seen below with their definitions, parameters and returns.​

CommandsDefinitionParametersReturn
set_IP_addressSet static IP address of eth0 network interface.str-int n Example: set_IP_address 192.168.0.15#*IP address setting Succesfull
or
#*IP address setting NOK
get_IP_addressGet IP address of eth0 network interface. Usage: get_IP_addressno parameter#*IPaddr: …
SAVEWIFIPROFILESave access point to wifi_profile.str-int ssid, bssid keyProfile saved.
or
Number of profiles exceeds the maximum number to be stored.
Wifichecks if given SSID wifi is found or not and returns Pass or Fail. Works only in portal modestr-int ssid#*Pass
or
#*FAIL
GETWIFIAPSSID

returns the SSID of access point

no parameter

#*Current stored Wifi AP SSID is ()
SETWIFIAPSSIDsets the SSID of access point. SSID must be maximum 32 charactersstring n (example ‘AP-ac:6d:bb:82:a8:ac’ or ‘486dbb82a89ac’ )#*Error! SSID can not be changed when Access Point is active
or
#*Error! SSID parameter is too long. Should be less than 32 characters
or
#*Wifi AP SSID is already ()
or
#*Setting Wifi AP SSID () succeeded
 GETWIFIAPSECURITYTYPE

returns the security type of access point

no parameter

#*Current stored Wifi AP Security type is ()

       SETWIFIAPSECURITYTYPE

sets the security type of access point. The value should be “none” or “WPA2-PSK”

string n (‘none’ or ‘WPA2-PSK’ note: string is case insensitive)

#*Error! Security Type can not be changed when Access Point is active
or
#*Error! Security type parameter should be given
or
#*Error! Security type parameter is invalid
or
#*Security Type is set to () succeeded
GETWIFIAPSECURITYPASSWORDreturns the password of access pointno parameter#*Current stored Wifi AP Password is ()
SETWIFIAPSECURITYPASSWORDsets the password of access point. Password must be maximum 64 charactersstring n (example: ‘Password1234’)

#*Error! Security Password can not be changed when Access Point is active

or
#*Error! Password length should be between 8 and 63 characters
or
#*Setting Wifi AP Password() succeeded

GETWIFIAPSTATEreturns the access point state ‘active’ or ‘not active’no parameter#*Wifi Access Point is ()
SETWIFIAPSTATEsets the access point state. State should be ‘off’ or ‘on’string n ( ‘on’ or ‘off’ note: string is case insensitive)#*Error! Access Point state parameter is invalid
or
#*Access Point state is already ()
or
#*Setting Wifi AP state () succeeded
GETWIFIAPCHANNELreturns the stored channel of the wifi access pointno parameterGETWIFIAPCHANNEL returns the stored channel of the wifi access point no parameter #*Current stored Wifi AP Channel is ()
SETWIFIAPCHANNELsets the channel of the wifi access pointn (integer channel) – (Channel number should be valid for
current country. If invalid channel number is given all valid
channel numbers will be listed.)
#*Setting Wifi AP Channel () succeeded
or
#*Wifi AP Channel is already ()
or
#*Error! Invalid channel. Available channels for your
country () are:
GETWIFIAPTXPOWERreturns TX Power for wifi access pointno parameter#*Current Wifi AP TX Power is
SETWIFIAPTXPOWERsets TX Power for wifi access point.n (integer tx power in dBm) – should be in the range of 0 – 20
dbm (0 for default value)
#*Setting Wifi AP TX Power () is
successful.
or
#*Wifi AP TX Power is already set to ()!
or
#*Error setting Wifi Access Point TX Power
()! TX Power should be in the range of 0 –
20 dbm (0 for default value)
or
#*Error setting Wifi Access Point TX Power
()!
NETCLONEClone from FTP server, example: NETCLONE <ip-of-server/path>
Before this process, please check network configuration (If a static ip address is set, it will also be cloned)
<ip-of-server/path>Cloned
SETNETWORKTYPEset network type (eg. SETNETWORKTYPE value) (value should be ‘wired’, ‘wireless’ or ‘disabled’ as string)string n (‘wired’, ‘wireless’ or ‘disabled’)#*Network type is set to:
GETNETWORKTYPEget network type (eg. GETNETWORKTYPE)no parameter#*the network type is
SETSUBNETMASKset subnet mask (subnet mask value should be of format nnn.nnn.nnn.nnn) (eg. SETSUBNETMASK nnn.nnn.nnn.nnn)string “nnn.nnn.nnn.nnn”#*set subnet mask: nnn.nnn.nnn.nnn
or
#*setting subnet mask is failed
GETSUBNETMASKget subnet mask (eg. GETSUBNETMASK)no parameter#*the subnet mask is nnn.nnn.nnn.nnn
SETDEFAULTGATEWAYset default gateway (default gateway value should be of format nnn.nnn.nnn.nnn) (eg. SETDEFAULTGATEWAY nnn.nnn.nnn.nnn)string “nnn.nnn.nnn.nnn”#*set default gateway: nnn.nnn.nnn.nnn
or
#*setting default gateway is failed
GETDEFAULTGATEWAYget default gateway (eg. GETDEFAULTGATEWAY)no parameter#*the default gateway is nnn.nnn.nnn.nnn
SETDNSCONFIGURATIONset DNS configuration mode (auto,manual) (eg. SETDNSCONFIGURATION mode (auto,manual))string n (‘auto’ or ‘manual’)#*set DNS configuration to:
or
#*setting DNS configuration is failed
GETDNSCONFIGURATIONget DNS configuration mode (auto,manual) (eg. GETDNSCONFIGURATION)no parameter#*the DNS configuration is manual
or
#*the DNS configuration is auto
or on error:
#*the DNS configuration is unknown
SETDNS1 set DNS server 1 (DNS server value should be of format nnn.nnn.nnn.nnn) (eg. SETDNS1 nnn.nnn.nnn.nnn) string “nnn.nnn.nnn.nnn” #*set DNS server 1 to: nnn.nnn.nnn.nnn
or
#*setting DNS server 1 failed
GETDNS1 get DNS server 1 (eg. GETDNS1) no parameter#*DNS server 1 is nnn.nnn.nnn.nnn
SETDNS2 set DNS server 2 (DNS server value should be of format nnn.nnn.nnn.nnn) (eg. SETDNS2 nnn.nnn.nnn.nnn) string “nnn.nnn.nnn.nnn” #*set DNS server 2 to: nnn.nnn.nnn.nnn
or
#*setting DNS server 2 failed
GETDNS2 get DNS server 2 (eg. GETDNS2) no parameter #*DNS server 1 is nnn.nnn.nnn.nnn
INTERNETSPEEDstart internet speed test no parameter Speed test is started.
Prints “No internet connection found” message if fails.
GETINTERNETSPEEDget internet speed no parameter #*The internet speed is … Mbps
SETHOSTNAMECreates the file (if does not exist) “/conf/ip_tuner/hostname.txt” and pastes the string into that filestring ABC(hostname)

#*SUCCESS Hostname ABC is written into the file
or
#*FAILURE Hostname can not be set

GETHOSTNAMEReturns the customisable Hostnameno parameter#*SUCCESS Hostname ABC is written into the file
or
#*FAILURE Hostname can not be set
DELETEHOSTNAMEDeletes the Hostname file from file systemno parameter#*SUCCESS Hostname is ABC
or
#*FAILURE Hostname can not be read
SETPROXYSets proxy configurationstring (nnn.nnn.nnn.nnn:nnnn)#*addr = nnn.nnn.nnn.nnn, port = nnnn
GETPROXYGets proxy configurationno parameter#*Current proxy is nnn.nnn.nnn.nnn:nnnn
or
#*No proxy address
CLEARPROXYClears proxy configurationno parameter#*Proxy was cleaned

Table 1: Network commands