User guide

WML Linux Thin Client User Guide
Administrator and Power User Tools
The WML Linux Thin Client bundles a few programs which system administrators and power users
will find useful. These are available from the command line, which can be accessed by checking the
“allow user to open a terminal” checkbox on the “System” tab of the Setup Manager. A “Terminal”
button will appear in the Connection Manager.
Using the terminal, telnet and ssh connections may be made with the full range of options available.
Power users may also wish to make rdesktop RDP connections or vncviewer connections using the
command line, but note that these connections will not be managed, and can't be switched between
using the Ctrl-Alt-Down key combination.
The WML Linux Thin Client comes with a very simple vi editor, and the more useful GNU Nano text
editor. Nano can be launched using either the “nano” command, or its alias “edit”.
Files can be transferred using scp (secure copy – part of the openssh toolkit) or sftp. Files may be
downloaded using wget.
Startup script
The WML Linux Thin Client may be controlled using an optional startup script. This script is
executed after all kernel modules have been installed, and after the network has been configured. It
can be used to configure a wireless network card or set up NFS network mounts or indeed, anything
that may be necessary to prepare the WML Linux Thin Client to work on your network, or support
your embedded Mono/.NET applications.
There are TWO startup scripts; /etc/persistent/prestartup.sh, which executes BEFORE the network has
been configured (and is thus the correct location for setting up wireless modules) and
/etc/persistent/startup.sh which is executed after the network has been configured.
To add a script, edit a file called /etc/persistent/startup.sh and make it executable:
edit /etc/persistent/startup.sh
Add lines; the script is a busybox shell script:
#!/bin/sh
# Comments start with a # character
/bin/echo “test file” > /etc/persistent/output.txt
Now make it executable:
chmod a+x /etc/persistent/startup.sh
The script will now be executed every time the WML Linux Thin Client boots.
page 61/62
Copyright © 2008 William Matthew Limited. All rights reserved