Artila M-508 Manual de instalação rápida - Página 6
Procurar online ou descarregar pdf Manual de instalação rápida para Placa-mãe Artila M-508. Artila M-508 7 páginas.
Mounting External Storage Memory
To find out the device name of the external memory device
which plug into M-508, you can use the command
/dmesg | grep sd
or
/dmesg | grep mmc
Type
mount /dev/sda1 to mount the USB disk and
mount /dev/mmc0 to mount SD card
Welcome Message
To modify the welcome message, user can use text edit to
modify the /etc/motd.
Web Page Directory
The web pages are placed at /home/httpd and the boa.conf
contains the boa web server settings. The home page name
should be index.html
Adjust the system time
To adjust the RTC time, you can follow the command
/date MMDDhhmmYYYY
where
MM=Month (01~12)
DD=Date (01~31)
hh=Hour
mm=minutes
YYYY= Year
/hwclock –w
To write the date information to RTC
User can also use NTP client utility in Artila CD to adjust the
RTC time.
/ntpclient [time server ip]
SSH Console
M-508 support SSH. If you use Linux computer, you can use
SSH command to login M-508. The configuration of SSH and
key are located at
/etc/config/ssh
The key generation program is available at Artila CD
/matrix and ipac /utility/ssh_keygen
User can copy this program to M-508 to generate the key
Install GNU Tool Chain
Find a PC with Linux 2.6.X Kernel installed and login as a root
user then copy the arm-linux-3.3.2.tar.gz to root directory of
PC. Under root directory, type following command to install the
M-508 Tool Chain
#tar zxvf arm-linux-3.3.2.tar.gz
Getting started the Hello program
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 command to set transfer mode to binary
ftp>bin
to transfer the execution file to M-508 user disk (/disk) and use
chmod +x file.o
Change it to execution mode and
./file.o
to run the file