Moxa UC-8410A-T-LX [15/86] Setting dynamic ip addresses

Moxa UC-8410A-LX [15/86] Setting dynamic ip addresses
UC-8410A Series Linux Software Getting Started
2-9
Setting Dynamic IP Addresses
To configure one or both LAN ports to request an IP address dynamically use the dhcp option in place of the
static in the iface command as follows:
Default Setting for LAN1 Dynamic Setting using DHCP
iface eth0 inet static
address 192.168.3.127
network: 192.168.3.0
netmask 255.255.255.0
broadcast 192.168.3.255
iface eth0 inet dhcp
# embedded ethernet LAN1
iface eth0 inet dhcp
Connecting to a Cellular Network
You can install a cellular module on the UC-8410A-LX. For a list of compatible cellular modules, refer to the
Moxa website (www.moxa.com
) or the product data.
After you have installed the cellular module and have inserted the SIM card, use the cellular connection utility
cell_mgmt to connect to UC-8410A-LX to the cellular network.
The
cell_mgmt configuration file is /etc/qmi-network.conf. The file contains the cellular parameters APN,
USERNAME, PASSWORD, and PIN. When you use the cell_mgmt command for the first time, you can type the
following instructions directly in the console without editing the
/etc/qmi-network.conf file. The
parameters and their values will be automatically recorded in the configuration file.
moxa@Moxa:~$ sudo cell_mgmt start APN=internet USERNAME=moxa PASSWORD=moxa PIN=123
Next, use the cell_mgmt start command directly with valid configuration information as follows:
moxa@Moxa:~$ sudo cell_mgmt start
System Administration
Querying the Firmware Version
To check the UC-8410A-LX’s firmware version, type:
moxa@Moxa:~$ kversion
UC-8410A-LX version 1.0
Add the –a option to the command to view the build number:
moxa@Moxa:~$ kversion -a
UC-8410A-LX version 1.0 Build 14050416
Adjusting the Time
NOTE
The
UC-8410A
series uses a rechargeable battery that provides power for about one week. Be sure to sync with
a time server e
ach time you recharge the battery to ensure that the UC-8410A is using the correct time.
The UC-8410A-LX has two time settings. One is the system time, and the other is the RTC (Real-Time Clock)
time maintained by the UC-8410A-LX hardware. Use the
#date command to query the current system time or
set a new system time. Use the
#hwclock command to query the current RTC time or set a new RTC time.

Содержание

Скачать