
Configuration using the stmcconfig utility
ST Micro Connect 2
22/58
7912386 Rev 12
5.1
Automatic network configuration (--dhcp)
For networks that support automatic IP assignment through the DHCP protocol, the
ST Micro Connect 2’s Ethernet interface can be set to automatically configure on boot.
Enable DHCP configuration using the instructions in
Section 4.2: Configuring ST Micro
Connect 2 with DHCP network configuration on page 19
. Use the option
--identify
described in
Section 5.6
or
--identify-all
described in
Section 5.7
to view the
assigned IP address.
Note:
1
When DHCP configuration is used, the ST Micro Connect 2 becomes reliant on a DHCP
server being present. Should the DHCP server be unavailable (for example, the ST Micro
Connect 2 is connected to a different network that does not support DHCP) then the
ST Micro Connect 2’s network interface will not be configured. To establish a network
connection, refer to
Chapter 4: Ethernet connection on page 18
.
2
The
--dhcp
option reboots the ST Micro Connect 2.
Syntax
stmcconfig --ip <
ip address
> --dhcp enable | disable
Example
% stmcconfig --ip 192.168.1.1 --dhcp enable
5.2
Select alternate firmware partition (--firmware-downgrade)
Section 5.3
describes Flash partition organization. The option
--firmware-downgrade
switches the Flash partition, from which the ST Micro Connect 2 boots. This is useful if the
previous firmware needs to be restored. User configuration settings for network interfaces
are reset to the settings selected for the previous firmware installation. The command
causes the ST Micro Connect 2 to reset and boot from the alternate firmware partition.
Note:
The
--firmware-downgrade
option reboots the ST Micro Connect 2.
Syntax
stmcconfig --ip <
ip address
> --firmware-downgrade
Example
% stmcconfig --ip 192.168.1.1 --firmware-downgrade
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from