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
Summary of Contents for EKI-1121L
Page 1: ...User Manual EKI 1121L EKI 1122L EKI 1124L 1 2 4 port Programmable Serial Device Servers...
Page 7: ...Chapter 1 1 Introduction...
Page 10: ...EKI 1121L 1122L 1124L User Manual 4...
Page 11: ...Chapter 2 2 Getting Started...
Page 23: ...Chapter 3 3 Installation and Configuration...
Page 42: ...EKI 1121L 1122L 1124L User Manual 36...
Page 43: ...Chapter 4 4 Development Guide...
Page 48: ...EKI 1121L 1122L 1124L User Manual 42...
Page 49: ...Chapter 5 5 Troubleshooting...
Page 51: ...Appendix A A Restore the Platform Kernel...
Page 53: ...Appendix B B Erase JFFS2 File System...
Page 55: ...Appendix C C Command Collection...
Page 59: ...53 EKI 1121L 1122L 1124L User Manual Appendix C Command Collection...