6.4.4. Web Server
A Web server runs on the Armadillo. The Web server's top page will be displayed when the URL of the Armadillo (http://
[Armadillo's IP address])
[1]
is accessed from a Web browser.
6.4.5. NTP Client
The NTP (Network Time Protocol) client can be used to obtain time information from a time server. Execute the command
as shown in Figure 6.11, “ntpclient”.
[armadillo ~]# ntpclient -h [NTP SERVER] -s
36525 42052.288 32712.0 321.0 320195180072231.5 259.4 0
Figure 6.11. ntpclient
6.4.6. SMTP Client
[armadillo ~]# echo "[BODY]" | mail --subject="[TITLE]" --from="[FROM]" --smtp-
⏎
host=[SMTP SERVER] [TO]
Figure 6.12. mail
It will not be possible to send email if the current hostname is not specified in the /
etc/hosts file. Execute the following command to check the current configuration.
[armadillo ~]# echo $HOSTNAME
armadillo440-0
[armadillo ~]# cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 armadillo440-0
::1 localhost.v6
[1]
If the Armadillo's IP address is 192.168.10.10, then this will be http://192.168.10.10/.
Armadillo-440 LCD Model Development Set Startup Guide
Network
33