Network Commands | VESTEL B2B Support Portal
Network Commands

Network Commands

Network Commands

Command

Description

Parameter

Return

set_IP_address

Set 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_address

Get IP address of eth0 network interface. Usage: get_IP_address

no parameter

#*IPaddr: …

SAVEWIFIPROFILE

Save access point to wifi_profile.

str-int ssid, bssid key

Profile saved.

or

Number of profiles exceeds the maximum number to be stored.

Wifi

checks if given SSID wifi is found or not and returns Pass or Fail.

str-int ssid

#*Pass

or

#*FAIL

GETNETWORKTYPE

get network type (eg. GETNETWORKTYPE)

no parameter

#*the network type is <network-type>

SETSUBNETMASK

set 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

GETSUBNETMASK

get subnet mask (eg. GETSUBNETMASK)

no parameter

#*the subnet mask is nnn.nnn.nnn.nnn

SETDEFAULTGATEWAY

set 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

GETDEFAULTGATEWAY

get default gateway (eg. GETDEFAULTGATEWAY)

no parameter

#*the default gateway is nnn.nnn.nnn.nnn

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 2 is nnn.nnn.nnn.nnn

GETINTERNETSPEED

get internet speed

 no parameter

  #*The internet speed is … Mbps

SETPROXY

Sets proxy configuration

string (nnn.nnn.nnn.nnn:nnnn)

#*addr = nnn.nnn.nnn.nnn, port = nnnn

GETPROXY

Gets proxy configuration

no parameter

#*Current proxy is nnn.nnn.nnn.nnn:nnnn

or

#*No proxy address

CLEARPROXY

Clears proxy configuration

no parameter

#*Proxy was cleaned

GETWIFIAPPCHANNEL

Returns the stored channel of the wifi access pointno parameter#*Current stored Wifi AP Channel is (<channel>)

GETBLUETOOTH

Get bluetoothno parameter

#*Device does not support Bluetooth

or

#*Bluetooth is not enabled

or

#*Bluetooth is enabled

GETWIFIAPTXPOWER

Returns TX Power for wifi access pointno parameter#*Current Wifi AP TX Power is <tx-power>

No Comments

Post a Reply