Moxa UC-7110-LX Руководство по программной части онлайн [13/46] 170793

Moxa UC-7112-LX Руководство по программной части онлайн [13/46] 170795
UC-7101/7110/7112 Software User’s Manual Getting Started
2-5
3. You may also configure the UC-7101/7110/7112 to request IP addresses from a DHCP server.
In this case, use the sharp sign (#) to comment out one or both ifconfig lines, and then add
the setting about thedhcpcd” into the rc file as below:
dhcpcd -p -a eth0 &
dhcpcd -p -a eth1 &
Note that the UC-7101/7110/7112 will send out DHCP broadcast packets, and then get the IP
addresses from the first DHCP server that responds.
4. Issue the vi writecommand to save the file, and then reboot. Since the UC-7101/7110/7112
only reads the rcfile when booting up, you must reboot (e.g., by issuing the vi reboot
command) for the changes to take affect.
ATTENTION
You may reset the IP address immediately by issuing the command:
ifconfig eth0 192.168.5.127
(This will change the IP address of LAN1.)Issuing this command will however NOT update the
rcfile in the UC-7101/7110/7112s flash memory, so the next time you reboot, the IP address
will revert to its previous value.

Содержание

Похожие устройства

Скачать