Ethernet Interface

Available for NXP_SCCK only.

eth.auto_start.enabled

Abbreviationet a e
Accessget/set

Description

Enable/disable network auto-join using the ethernet interface on bootup.

Arguments

<0/off/false/1/on/true>

Default

0

Supported Platforms

Get example

> get et a e
R000003
0

Set example

> set et a e true
R000008
Set OK

eth.auto_start.retries

Abbreviationet a r
Accessget/set

Description

Maximum number of attempts to auto-join a network. 0 = retry indefinitely.

Arguments

<0-255>

Default

3

Supported Platforms

Get example

> get et a r
R000003
3

Set example

> set et a r 5
R000008
Set OK

eth.auto_start.retry_delay

Abbreviationet a d
Accessget/set

Description

The period between auto-join attempts in seconds.

Arguments

<0-255>

Default

10

Supported Platforms

Get example

> get et a d
R000004
10

Set example

> set et a d 5
R000008
Set OK

eth.dhcp.enabled

Abbreviationet d e
Accessget/set

Description

Select whether DHCP is used to automatically obtain an IPv4 IP address on the ethernet interface.

Arguments

<0/off/false/1/on/true>

Default

1

Supported Platforms

Get example

> get et d e
R000003
1

Set example

> set et d e off
R000008
Set OK

eth.dhcp.hostname

Abbreviationet d h
Accessget/set

Description

Configures the DHCP client's hostname (DHCP option 12) sent to the DHCP server.

Arguments

<hostname>

Default

Zentri-# where # is replaced by the last three digits of the Ethernet MAC address

Supported Platforms

Get example

> get et d h
R000009
Zentri-#

Set example

> set et d h my_dhcp_client
R000008
Set OK

eth.dhcp.timeout

Abbreviationet d t
Accessget/set

Description

Amount of time in seconds the module waits as a client for an IP from a DHCP server. See eth.dhcp.enabled.

Arguments

<timeout_seconds> Range: 1-255 seconds

Default

15

Supported Platforms

Get example

> get et d t
R000004
15

Set example

> set et d t 25
R000008
Set OK

eth.network.dns

Abbreviationet n d
Accessget

Description

Return a comma separated list of the DNS server addresses that the Ethernet interface is using.

Note: To set a static DNS address list, use the eth.static.dns variable.

Arguments

-

Default

0.0.0.0 (i.e. No DNS addresses in use)

Supported Platforms

Get example

> get et n d
10.5.6.1

eth.network.gateway

Abbreviationet n g
Accessget

Description

Returns the Ethernet interface IPv4 gateway IP address resolved by DHCP.

Note: To set a static gateway, use the eth.static.gateway variable.

Arguments

-

Default

0.0.0.0

Supported Platforms

Get example

> get et n g
R000013
192.168.0.1

eth.network.ip

Abbreviationet n i
Accessget

Description

Returns the Ethernet interface IPv4 IP address resolved by DHCP.

Note: To set a static IP address, use the eth.static.ip variable.

Arguments

-

Default

0.0.0.0

Supported Platforms

Get example

> get et n i
R000014
192.168.0.79

eth.network.netmask

Abbreviationet n n
Accessget

Description

Returns the Ethernet interface IPv4 netmask resolved by DHCP.

Note: To set a static netmask, use the eth.static.netmask variable.

Arguments

-

Default

0.0.0.0

Supported Platforms

Get example

> get et n n
R000015
255.255.255.0

eth.network.status

Abbreviationet n s
Accessget

Description

Returns the Ethernet network status. 0 = down, 1 = connected, 2 = IP network connected (with a valid IP address)

Arguments

-

Default

0

Supported Platforms

Get example

> get et n s
R000003
2

eth.network.status_gpio

Abbreviationet n o
Accessget/set

Description

The GPIO used to indicate network connectivity status. GPIO low = not connected, GPIO high = the default network interface is connected and has an IP address.

See also system.oob.gpio.

Arguments

<GPIO#>

Default

-1

Supported Platforms

Get example

> get et n o
R000004
-1

Set example

> set wl n o 4
R000008
Set OK

eth.static.dns

Abbreviationet s d
Accessget/set

Description

DNS server address if static network settings are used for the Ethernet interface.

Arguments

<[IP address]/[host name]>

Default

8.8.8.8

Supported Platforms

Get example

> get et s d
R000009
8.8.8.8

Set example

> set et s d 8.8.4.4
R000008
Set OK

eth.static.gateway

Abbreviationet s g
Accessget/set

Description

Gateway address if static network settings are used for the Ethernet interface.

Arguments

<IP address>

Default

0.0.0.0

Supported Platforms

Get example

> get et s g
R000009
0.0.0.0

Set example

> set et s g 192.168.0.1
R000008
Set OK

eth.static.ip

Abbreviationet s i
Accessget/set

Description

Local IP address if static network settings are used for the Ethernet interface.

Arguments

<IP address>

Default

0.0.0.0

Supported Platforms

Get example

> get et s i
R000009
0.0.0.0

Set example

> set et s i 192.168.0.2
R000008
Set OK

eth.static.netmask

Abbreviationet s n
Accessget/set

Description

Netmask if static network settings are used for the Ethernet interface.

Arguments

<network mask>

Default

0.0.0.0

Supported Platforms

Get example

> get et s n
R000009
0.0.0.0

Set example

> set et s n 255.255.255.0
R000008
Set OK