Artila M-508 Скачать руководство пользователя страница 4

Factory Default Settings 

LAN 1 IP Address: 192.168.2.127 
Login: guest 
Password: guest 
Supervisor: root (use ssh to login) 
Password: root 
Serial Console: Disabled 

Network Settings 

To configure the IP address, Netmask and Gateway setting, please 
modify  

/disk/etc/rc 

as following:

 

ifconfig eth0 192.168.2.127 netmask 255.255.255.0 

For DHCP setting:

 

dhcpcd eth1 & 

Wireless LAN Configuration 

M-508 supports wireless LAN by using USB WLAN adaptor 
which uses Ralink RT2571 (rt73) controller.  Please refer to the 
website http://ralink.rapla.net for the supporting list of the USB 
WLAN adaptor.  
To configure the wireless LAN setting, please use command:

 

modprobe rt73 
ifconfig wlan0 up  
iwconfig wlan0 essid XXXX key YYYYYYYY mode MMMM 

For infrastructure mode XXXX is the access point name and 
YYYYYYYY is the encryption key and MMMM should be 

managed

 

For Ad-Hoc mode mode XXXX is the M-508 host name and 
YYYYYYYY is the encryption key MMMM should be 

ad-hoc

.   

To configure the IP address use command 

dhcpcd wlan0 & 

or

 

ifconfig wlan0 192.168.2.127 netmask 

255.255.255.0

 

File System 

M-508 configures the root file system as RAMDISK and the user 
disk (/disk) which includes /home and /etc directory are 
configured as Flash Disk.  To find out the file system information, 
please use command /mount as shown as below.  In addition, use 
command /df  to find out the disk space of the disk.  The 
RAMDISK uses 8MB SDRAM space to store the root file system 
and 8MB for uboot loader and Linux Kernel Therefore it is about 
16MB free SDRAM for user application software.   The image of 
Linux kernel and root file system is stored in the flash memory 
and it uses about 4MB flash memory space and the rest of 12MB 
flash memory is designed for user flash disk to store user’s 
program.   

Therefore, user’s program and utility software must be saved 
in the user disk space (/disk).  Files saved to other directory 

Utility Software: 

M-508 includes busybox utility collection and Artila utility 
software as follow: 

Devices list 

The supported devices are shown at /dev directory.   Following 
list are most popular ones: 
1. 

ttyS0: serial console port 

2. 

ttyS1 to ttyS4: serial port 1 to port 4 

3. 

mmc to mmc2: SD memory card 

4. 

sda to sde:  USB flash disk 

5. 

ttyUSB0 to ttyUSB1: USB RS-232 adaptor (fdti_sio.ko) 

6. 

rtc: Real Time Clock 

7. 

gpio: General Purpose digital I/O  

8. 

ttyACM0 and ttyACM1: USB Modem (CDC compliant) 

48

 

The second flash memory is configured as disk-1 and its 
available space is 15MB.  In addition, M-508T is equipped with 
512KB FRAM and it is configured as 

sram

 

Содержание M-508

Страница 1: ...100 Mbps Ethernet 6 Two USB 2 0 full speed 12 Mbps Host Ports 7 Multimedia Card Interface for SD memory card 8 Four RS 232 485 ports software selectable 9 Port 4 also supports RS 422 10 32 General Pur...

Страница 2: ...GND Serial Console Port Serial console port is used for accessing M 508 using RS 232 At factory serial console port is disabled because serial console port shares the Port 3 connector with the pin de...

Страница 3: ...n an internal Modem to work with M 508 JP2 Boot manager selection JP2 is boot selection jumper near CN1 Set to position 2 3 always Change the setting will cause incorrectly boot up USB Client connecto...

Страница 4: ...e and etc directory are configured as Flash Disk To find out the file system information please use command mount as shown as below In addition use command df to find out the disk space of the disk Th...

Страница 5: ...ial port setting An example show as followed to configure port 1 as RS 485 interface with baud rate 921600 Please note only port 1 support 9 bit data at RS 485 How to make more utility software You mi...

Страница 6: ...gram There are many example programs in Artila CD To compile the sample you can use the Make file to and type make To compile and link the library Once done use ftp command ftp 192 168 2 127 And bin c...

Страница 7: ...u forgot the M 508 IP address you can use the Java Manager available in Artila CD to search the IP address of M 508 Or use serial console port to find out the IP address by ifconfig Enable Serial Cons...

Отзывы: