U
SER
M
ANUAL
WRAP
P
RODUCT
S
ERIES
3.4 R
AMDISK
S
ETTINGS
1. Size of the ramdisk (in kilobytes) [512]
The size of the ramdisk (/mnt/ram/). Sizes below minimum (currently 50) and above maximum
(currently 1024) are not allowed.
3.5 S
YSTEM
L
OGGER
S
ETTINGS
1. Log locally [Y]
This option determines whether or not the System Logger (syslogd) should log locally (to
/var/log/messages).
2. Address of the Remote Syslog Server []
The address of the device in the network to which the System Logger should log to.
Note:
This remote
device must be configured to accept syslogd connections from this WRAP board. See the system logger
documentation on the remote device for more information on how to do that.
3.6 W
EB
S
ERVER
S
ETTINGS
1. Web Server logging device [/dev/null]
The file to which the Web Server (httpd) logs all requests and connections. Use /dev/console for console
output and, for example, /tmp/httpd.log if you want to save this information. Be careful, however, not to
fill the RAM filesystem (use a cron job to free disk space from time to time).
Note:
If the file is invalid, httpd does not start at boot.
3.7 SMS
G
ATEWAY
S
ETTINGS
Note:
SMS Gateway is disabled by default as Serial Port Profile is enabled by default, because they share the
same physical serial port. Disable Serial Port Profile first to be able to enable SMS Gateway.
1. Enable SMS Gateway at startup [N]
Whether the SMS Gateway (smsgw) should be started automatically when the system boots up or
not.
2. SMS Gateway logging device [/dev/null]
The file to which the SMS Gateway (smsgw) logs all traffic. Use /dev/console for console output
and, for example, /tmp/smsgw.log if you want to save this information. Be careful, however, not to
fill the RAM filesystem (use a cron job to free disk space from time to time).
3.8 /
ETC
/
RC
.
USER
While not configurable with the "setup" application, the file /etc/rc.user is important for system boot
configuration. It is the file executed as the last task by the system boot script.
By default, the file /etc/rc.user does not exist, but you should create one if you want to do some special
automatic initialization at every boot, like starting up your own servers.
Small textual configuration files (like the /etc/rc.user file) are often most quickly done by using the "cat"
command. In the following example, we create a new /etc/rc.user file:
/>
cat > /etc/rc.user
#!/bin/sh
echo Starting up my server
/usr/local/bin/myserverd &
echo Everything booted up
<ctrl-D>
/>
13 (26)