![Advantech EKI-1121L Скачать руководство пользователя страница 39](http://html1.mh-extra.com/html/advantech/eki-1121l/eki-1121l_user-manual_2858303039.webp)
33
EKI-1121L/1122L/1124L User Manual
Chapter 3
Installation
and
Configuration
3.2.10
Web Server
The boa is a small web server .If you want the web server starting by default, user
must add 'boa:unknown:/bin/boa -c /www &' to /etc/inittab. To use web server, user
can use vi to modify /var/other1/www/boa.conf which is released from other1.tar.gz
like this:
Because the default homepage is already located at /var/other1/www/index.htm
released from other1.tar.gz, user can open default page. Type "http://'IP_address'"
('IP_address' is web server's LAN IP address which is still active.) in the address box
of a browser (such as Microsoft Internet Explorer or Mozilla Firefox) from your PC.
And user can open default CGI page, type "http://'IP_address'/cgi-bin/hello.cgi" in
your browser's address box.
If user wants to make your pages. You can do it like this:
Firstly, save your own homepage to the following directory:/var/other1/www/.And
then save your CGI page to the following directory: /var/other1/www/cgi-bin.
After that, you can browse to EKI-1121/1122/1124 by web browser in another com-
puter.
3.2.11
PPP Client
Before use it, user must open and modify /var/other1/ppp-on firstly.
Please replace '/dev/ttyS3' and '115200' with correct serial port and baud rate. And
replace 'USERNAME' with login account.
Port 80
User 0
Group 0
DocumentRoot /www
UserDir public_html
DirectoryIndex index.htm
KeepAliveMax 1000
KeepAliveTimeout 10
DefaultType text/html
AddType application/x-httpd-cgi cgi
ScriptAlias /cgi-bin/ /www/cgi-bin/
AddType image/jpeg jpg
#!/bin/sh
DEV=/dev/ttyS3
BAUDRATE=115200
NAME=USERNAME
DIAL_SCRIPT=/var/other1/ppp-on-dialer
pppd lock modem crtscts asyncmap 20A0000 escape FF $DEV $BAUDRATE noipdefault
defaultroute noauth name $NAME connect $DIAL_SCRIPT
Содержание EKI-1121L
Страница 1: ...User Manual EKI 1121L EKI 1122L EKI 1124L 1 2 4 port Programmable Serial Device Servers...
Страница 7: ...Chapter 1 1 Introduction...
Страница 10: ...EKI 1121L 1122L 1124L User Manual 4...
Страница 11: ...Chapter 2 2 Getting Started...
Страница 14: ...EKI 1121L 1122L 1124L User Manual 8 Figure 2 3 Back View of EKI 1121L Figure 2 4 Top View of EKI 1121L...
Страница 16: ...EKI 1121L 1122L 1124L User Manual 10 Figure 2 7 Back View of EKI 1122L Figure 2 8 Top View of EKI 1122L...
Страница 18: ...EKI 1121L 1122L 1124L User Manual 12 Figure 2 11 Back View of EKI 1124L Figure 2 12 Top View of EKI 1224L...
Страница 23: ...Chapter 3 3 Installation and Configuration...
Страница 42: ...EKI 1121L 1122L 1124L User Manual 36...
Страница 43: ...Chapter 4 4 Development Guide...
Страница 48: ...EKI 1121L 1122L 1124L User Manual 42...
Страница 49: ...Chapter 5 5 Troubleshooting...
Страница 51: ...Appendix A A Restore the Platform Kernel...
Страница 53: ...Appendix B B Erase JFFS2 File System...
Страница 55: ...Appendix C C Command Collection...
Страница 59: ...53 EKI 1121L 1122L 1124L User Manual Appendix C Command Collection...