Moxa IA260-T-LX [15/71] Modifying network settings by command

Moxa IA261-I-T-LX [15/71] Modifying network settings by command
IA260-261-262 EM-2260 LX User’s Manual Getting Started
3.
After the boot settings of the LAN interface have been modified, issue the following
command to activate the LAN settings immediately:
#/etc/init.d/networking restart
NOTE After changing the IP settings, use the networking restart command to activate the new IP
address.
Modifying Network Settings by Command
IP settings can be activated over the command, but the new settings will not be saved to the flash
ROM without modifying the file
/etc/network/interfaces
.
For example, type the command
#ifconfig eth0 192.168.1.1
to change the IP address of
LAN1 to 192.168.1.1.
CF Socket for Storage Expansion
The IA260/IA261/IA262 provides a CF socket for storage expansion. Moxa provides a CF flash
disk for expansion that allows users to plug in a Compat Flash (CF) memory card of additional
memory space. The CF socket is located on the front panel of the IA260/IA261/IA262. To install a
CF card, you must first power off, and then plug the CF card directly into the socket.
The CF card will be mounted at
/mnt/cf.
Test ProgramDeveloping Hello.c
In this section, we use the standard “Hello” programming example to illustrate how to develop a
program for the IA260/IA261/IA262/EM-2260. In general, program development involves the
following seven steps.
Step 1:
Connect the IA260/IA261/IA262/EM-2260 to a Linux PC.
Step 2:
Install Tool Chain (GNU Cross Compiler & glibc).
Step 3:
Set the cross compiler and glibc environment variables.
Step 4:
Code and compile the program.
Step 5:
Download the program to the IA260/IA261/IA262/EM-2260
Via FTP or NFS.
Step 6:
Debug the program
Æ If bugs are found, return to Step 4.
Æ If no bugs are found, continue with Step 7.
Step 7:
Back up the user directory (distribute the program to additional
IA260/IA261/IA262/EM-2260 units if needed).
x86
Cross
Compiler
2-7

Содержание

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

Скачать