###############################################
# -- Thinstation sample configuration file -- #
###############################################
#
# This file must be named "thinstation.conf<xxx>" where <xxx> can be:
# .buildtime   Defines the defaults build into the image (note the leading .)
# .network     Default config file loaded from the TFTP server.
# .user        Config file on local storage.
# -<name>      Specific config file on the TFTP server for the terminal
#              "name" (e.g. thinstation.conf-paul). Requires thinstation.hosts. 
# .group-<id>  Config file for a group of terminals (e.g. with printer setup
#              for those terminal with local printers. Requires thinstation.hosts.
# -<IP>        Specific config file on the TFTP server for the terminal with
#              the IP number <IP> specified.
# -<MAC>       Specific config file on the TFTP server for the terminal with 
#              the MAC address specified.

##
# --- General Options
#
# AUDIO_LEVEL        Audio Level for sound, 0-100
# KEYBOARD_MAP       Keyboard layout
# TIME_ZONE          Used to set time zone on TS client by entering the UTC offset.
#                    This can be set automatically if the appropriate dhcpc option is selected
#                    (Option 2, time offset in seconds)
# SYSLOG_SERVER      Log server ip address or hostname.
#                    If the work "local" is used, then syslog starts logging locally
#                    If not specified syslogd is not loaded.
# USB_ENABLED        Enable USB Drivers into memory if USB package is chosen
# DAILY_REBOOT       Will reboot server if up over a day and one of the session
#                    types is closed
# AUTOPLAYCD         If enabled this will autoplay music cds when inserted.
# CUSTOM_CONFIG      Allows choosing custom boot config, On/Off 
# RECONNECT_PROMPT   This displays the reconnection/shutdown options for when a session is ended
#
#                    OFF    No reconnect prompt
#                    ON     Reconnect prompt will be displayed
#                    MENU   Shows a menu with a shutdown and reconnection option
#                    MENUXX As MENU option, but the XX is a time period in minutes.
#                           After XX minutes shutdown will occur unless the reconnect option
#                           is choosen

AUDIO_LEVEL=67
KEYBOARD_MAP=en_us
TIME_ZONE="UTC-12:30"
SYSLOG_SERVER=local
USB_ENABLED=On
DAILY_REBOOT=On
#AUTOPLAYCD=On
CUSTOM_CONFIG=Off
RECONNECT_PROMPT=On

##
# --- Session Defaults
# -- Default Settings for all sessions
#
# SCREEN           Display number to run the X server on
# AUTOSTART        ON   Application will be executed immediately at startup
#                  OFF  Application will appear in a menu to be started manually
# WORKSPACE        Workspace in the window manager to run the application in
# ICONMODE         MANUAL  Default sessions are not created in window manager/xtdesk
#                  AUTO    Default sessions types are created in window manager/xtdesk

SCREEN=0
WORKSPACE=1
AUTOSTART=On
ICONMODE=AUTO

##
# --- Session Details
#
# Note:                     # is a number equal to or greater than 0
#
# SESSION_#_TITLE           Title description for SESSION. Needed for replimenu.
# SESSION_#_TYPE            Package type, choose beetwen:
#                           - vncviewer        Start vncviewer in X
#                           - rdesktop         Start rdesktop in X
#                           - rdesktop_svga    Start svga rdesktop, based on rdesktop 1.1 code
#                                              for low memory machines
#                           - x                Start x-terminal session (xdm)
#                           - xnest            Start x-terminal session (xdm) from within blackbox
#                           - ssh              Start ssh client in linux console
#                           - telnet           Start telnet client in linux console
#                           - ica              Start Citrix ICA client in X
#                           - ica_wfc          Start ICA Manager
#                           - blackbox         Start blackbox window manager session
#                           - icewm            Start icewm window manager session
#                           - dillo            Start Web Browser in X
#                           - tftpd            Start tftp daemon
#                           - tarantella       Start tarantella client
#                           - rxvt             Start light xterm client
#                           - xterm            Start xterm client
#                           - tn5250           Start AS400 client in linux console
#                           - nx               Start NX Client Session
# SESSION_#_SCREEN          Display number to run the X server on
# SESSION_#_AUTOSTART       ON      Application will be executed immediately at startup
#                           OFF     Application will appear in a menu to be started manually
# SESSION_#_CUSTOM_CONFIG   ON      Allows choosing custom config for when session starts
#                           OFF     Session boots normally
# SESSION_#_ICON            ON      Places Icon on Desktop if package xtdesk is selected and
#                                   in Window Manager Main Menu
#                           SUBMENU Places Icon on Desktop if package xtdesk is selected and
#                                   in a Submenu within the window manager
# SESSION_#_WORKSPACE       Workspace to run program on in a window manager
# SESSION_#_type_SERVER     IP address/hostname of the server
# SESSION_#_type_OPTIONS    Command line options for the session type
#
# SESSION_#_type_specific   This allows you to specify specific config file details for certain session
#                           types.  Currently support is NX and ICA.  Any configuration file setting
#                           can be changed with this setting.  An example of this is
#                           SESSION_0_NX_GENERAL_DESKTOP="Gnome"
#                           SESSION_0_ICA_APPSRV_USEFULLSCREEN="Yes"
#                           See your application manual for documentation on the settings which
#                           can be used.


# Individual Session Settings, override defaults
#
# IMPORTANT:  Make sure you minimum have a SESSION_0. Otherwise you will get an error 
# on boot. You may have additional sessions: SESSION_1, SESSION_2 ...
# SESSION_0 is on ctrl-alt-F3
# SESSION_1 is on ctrl-alt-F4
# ... etc.


# -- 2X Options
#
# 2X_MODE                         Operating mode
#                                   2X for 2X Application Server client mode (default)
#                                   MS for Microsoft Terminal Server client mode
# 2X_SERVER                       Server name/ip address
# 2X_PORT                         Server port (default port: 3389)
# 2X_USER                         User name
# 2X_PASSWORD                     Password
# 2X_DOMAIN                       Domain
# 2X_START_PROGRAM_ENABLED        Enable Start Program option (Yes/No)
# 2X_START_PROGRAM                Application to start
# 2X_START_PROGRAM_FOLDER         Working folder
# 2X_FULL_SCREEN                  Full Screen, overrides width/height settings (Yes/No)
# 2X_WIDTH                        Desktop width (default: 1024)
# 2X_HEIGHT                       Desktop height (default: 768)
# 2X_COLOR_DEPTH                  Color depth in bits (default: 24 bits)
# 2X_EXPERIENCE                   RDP experience one or more ORed value(s) from:
#                                   0x00 to disable nothing (default)
#                                   0x01 to disable wallpapers
#                                   0x02 to disable full window drag
#                                   0x04 to disable menu animations
#                                   0x08 to disable theming
#                                   0x20 to disable cursor shadow
#                                   0x40 to disable cursor blinking
# 2X_KEYMAP_FILE                  Path to keymap file
#
#

#SESSION_#_2X_MODE=2X
#SESSION_#_2X_USER=fred
#SESSION_#_2X_PASSWORD=smith
#SESSION_#_2X_SERVER=Donald
#SESSION_#_2X_PORT=3389
#SESSION_#_2X_FULL_SCREEN=Yes
#SESSION_#_2X_COLOR_DEPTH=16
#SESSION_#_2X_START_PROGRAM_ENABLED=Yes
#SESSION_#_2X_START_PROGRAM=Notepad

#SESSION_#_TYPE=blackbox

#SESSION_#_TYPE=blackbox
#SESSION_#_SCREEN=1


#SESSION_#_TYPE=dillo


#SESSION_#_TYPE=firefox


# -- Citrix ICA Options
#
#                       GLOBAL Settings
#ICA_USE_SERVER_KEYBOARD    Use default server keyboard, otherwise use KEYBOARD_MAP
#                           variable
#ICA_BROWSER_PROTOCOL       Broswer protocol, can be HTTPonTCP or UDP
#
#                           APPLICATION SET settings
#ICA_ENCRYPTION             Encryption level for ICA
#                           Valid Settings Below
#                           "Basic"
#                           "RC5 (128 bit - Login Only)"
#                           "RC5 (40 bit)"
#                           "RC5 (128 bit)"
#                           "RC5 (56 bit)"
#ICA_COMPRESS               Compression, On/Off
#ICA_AUDIO                  Audio, On/Off
#ICA_SMARTCARD              Smart Card Reader Support, On/Off  (Note: You must include a card
#                                                                     reader package for this
#                                                                     option to work).
#ICA_AUDIO_QUALITY          Audio Quality, Low, Medium, High
#ICA_PRINTER                This will turn on ICA autocreate printers, see printer section
#                           for details, On/Off
#
#                           NOTE: You must have the lpr package included for this option
#                           to work.
#
#ICA_APPLICATION_SET        Published Application (Not needed if using
#                           ICA_SERVER)
#ICA_SERVER                 Server to Connect to (Not needed if using
#                           ICA_APPLICATION_SET, but needed if the ICA-Masterbrowser
#                           is not on the local network.)
#ICA_WFCLIENT_type_specific This allows you to specify specific config file details for global ica
#                           parameters any parameter can be changed with this setting. An example of this is
#                           ICA_WFCLIENT_CLIENTDRIVE="On"
#                           See your application manual for documentation on the settings which
#                           can be used.

#ICA_USE_SERVER_KEYBOARD=Off
#ICA_BROWSER_PROTOCOL=HTTPonTCP
#ICA_SERVER=
#ICA_ENCRYPTION=Basic
#ICA_COMPRESS=On
#ICA_AUDIO=On
#ICA_SMARTCARD=Off
#ICA_AUDIO_QUALITY=Low
#ICA_PRINTER=Off
#ICA_SEAMLESS_WINDOW=Off

#SESSION_1_TYPE=ica
#SESSION_1_ICA_APPLICATION_SET="Microsoft Word"
#SESSION_1_ICA_OPTIONS="-username donald -clearpassword qwak -domain disney"
#SESSION_1_ICON=ON

#SESSION_2_TYPE=ica
#SESSION_2_ICA_SERVER=ICA

#SESSION_3_TYPE=ica_wfc


#SESSION_#_TYPE=icewm


#SESSION_#_TYPE=nx
#SESSION_#_TITLE="Gnome"
#SESSION_#_NX_ADVANCED_ENABLE_SSL_ENCRYPTION="true"
#SESSION_#_NX_GENERAL_DESKTOP="Gnome"
#SESSION_#_NX_GENERAL_SERVER_HOST="nx-server-ip"
#SESSION_#_NX_GENERAL_REMEMBER_PASSWORD="true"
#SESSION_#_NX_GENERAL_RESOLUTION="fullscreen"
#SESSION_#_NX_GENERAL_SESSION="Unix"

#SESSION_#_TYPE=nx
#SESSION_#_TITLE="Firefox"
#SESSION_#_NX_ADVANCED_ENABLE_SSL_ENCRYPTION="true"
#SESSION_#_NX_GENERAL_DESKTOP="Console"
#SESSION_#_NX_GENERAL_SERVER_HOST="nx-server-ip"
#SESSION_#_NX_GENERAL_REMEMBER_PASSWORD="true"
#SESSION_#_NX_GENERAL_COMMAND_LINE="/usr/local/firefox/firefox"
#SESSION_#_NX_GENERAL_SESSION="Unix"
#SESSION_#_NX_GENERAL_ONLY_CONSOLE="false"

#SESSION_#_TYPE=nx
#SESSION_#_TITLE="Windows"
#SESSION_#_NX_ADVANCED_ENABLE_SSL_ENCRYPTION="true"
#SESSION_#_NX_GENERAL_DESKTOP="RDP"
#SESSION_#_NX_GENERAL_RESOLUTION_VALUE="fullscreen"
#SESSION_#_NX_GENERAL_SERVER_HOST="nx-server-ip"
#SESSION_#_NX_GENERAL_SESSION="Windows"
#SESSION_#_NX_WINDOWS_SESSION_SERVER="windows-server-ip"
#SESSION_#_NX_WINDOWS_SESSION_AUTHENTICATION="1"

#SESSION_0_TYPE=nx
#SESSION_0_TITLE="xfce4"
#SESSION_0_NX_ADVANCED_ENABLE_SSL_ENCRYPTION="true"
#SESSION_0_NX_GENERAL_DESKTOP="console"
#SESSION_0_NX_GENERAL_CUSTOM_UNIX_DESKTOP="application"
#SESSION_0_NX_GENERAL_SERVER_HOST="10.0.0.7"
#SESSION_0_NX_GENERAL_REMEMBER_PASSWORD="true"
#SESSION_0_NX_GENERAL_COMMAND_LINE="/usr/bin/startxfce4"
#SESSION_0_NX_GENERAL_SESSION="Unix"
#SESSION_0_NX_GENERAL_ONLY_CONSOLE="false"


# The -a option here specifies the color depth
# Note certain servers support certain color depths, wrong settings with this
# May cause your connection to fail.
#SESSION_#_TITLE="Big Bad Server Donald"
#SESSION_#_TYPE=rdesktop
#SESSION_#_SCREEN=1
#SESSION_#_SCREEN_POSITION=2
#SESSION_#_RDESKTOP_SERVER=192.168.1.1
#SESSION_#_RDESKTOP_OPTIONS="-u user -p password -a 16"
#SESSION_#_AUTOSTART=Off

#SESSION_#_TITLE="Big Bad Server Road Runner"
#SESSION_#_TYPE=rdesktop
#SESSION_#_SCREEN=1
#SESSION_#_RDESKTOP_SERVER=192.168.1.1
#SESSION_#_RDESKTOP_OPTIONS="-u 'fred' -a 8"
#SESSION_#_AUTOSTART=Off

#Example on USB Printer Redirection for Rdesktop
#SESSION_#_TITLE="Remote Desktop 24-bit (usb printer)"
#SESSION_#_TYPE=rdesktop
#SESSION_#_RDESKTOP_SERVER=192.168.1.1
#SESSION_#_RDESKTOP_OPTIONS="-a 24 -x b -r printer:usb='DYMO LabelWriter 400 Turbo'"
#SESSION_#_AUTOSTART=Off


#SESSION_#_TYPE=rxvt
#SESSION_#_SCREEN=1
#SESSION_#_RXVT_OPTIONS="-bg black -cr green -fg white -C -sl 500"

#SESSION_#_TYPE=ssh
#SESSION_#_SSH_SERVER=192.168.1.2

#SESSION_#_TYPE=tn5250
#SESSION_#_TN5250_SERVER=192.168.1.2
#SESSION_#_TN5250_OPTIONS="env.DEVNAME=JDevBox1 +underscores env.TERM=IBM-3477-FC"


#SESSION_#_TYPE=vncviewer
#SESSION_#_VNCVIEWER_SERVER=192.168.1.2


##
# --- X Server Options
#
# SCREEN_RESOLUTION       Screen resolutions available in the workstations
# SCREEN_COLOR_DEPTH      Number of bits per pixel (8,16,24)
# SCREEN_HORIZSYNC        Monitor horizontal sync frequency in Khz.
#                         If left blank Xorg will try to detect with DDC
# SCREEN_VERTREFRESH      Monitor vertical refresh frecuency in Hz.
#                         If left blank Xorg will try to detect with DDC
# SCREEN_X_FONT_SERVER    IP address or hostname of the font server for X
#                       
#                         Screen Saver Settings
# SCREEN_BLANK_TIME       Minutes to X session goes blank
# SCREEN_STANDBY_TIME     Minutes to X session goes into standby mode
# SCREEN_SUSPEND_TIME     Minutes to X session goes into suspend mode
# SCREEN_OFF_TIME         Minutes to X session turn off
#
# MOUSE_PROTOCOL          Mouse protocol type (Microsoft, PS/2, etc.)
#                         (mouse is autodetected, use this only if it fails)
# MOUSE_DEVICE            Mouse device:  /dev/ttyS0 -> COM1
#                                   /dev/ttyS1 -> COM2
#                                   /dev/ttyS2 -> COM3
#                                   /dev/ttyS3 -> COM4
#                                   /dev/psaux -> PS/2 mouse port
#                                   /dev/input/mice -> USB mouse (needs USB package)
# MOUSE_RESOLUTION        Mouse resolution
# MOUSE_ACCELERATION      Mouse acceleration
# X_NUMLOCK		  Set numlock state on boot
# X_COOKIE                Will set X Cookie if specified
# -- Advanced XServer Options - Experts Only
# X_DRIVER_NAME           Driver for X, this will override the autodetection scripts
# X_DRIVER_BUSID          Screen Card BusID
# X_DRIVER_OPTION1-5      Addditional options for driver

SCREEN_RESOLUTION="800x600 | 1024x768 | 640x480 | *"
SCREEN_COLOR_DEPTH="16 | 8 | 24 | *"
#SCREEN_HORIZSYNC="30-64 | *"
#SCREEN_VERTREFRESH="56-87 | 60 | 56 | 70 | 72 | 75"
#SCREEN_X_FONT_SERVER=192.168.1.2:7100
SCREEN_BLANK_TIME=10
SCREEN_STANDBY_TIME=20
SCREEN_SUSPEND_TIME=30
SCREEN_OFF_TIME=60
#MOUSE_PROTOCOL=PS/2
#MOUSE_DEVICE=/dev/psaux
MOUSE_RESOLUTION=100
#MOUSE_ACCELERATION=1/2
X_COOKIE=36d71ab65c10ef065702c111a3d31593
#X_NUMLOCK=Off
# -- Advanced Options - Experts Only
#X_DRIVER_NAME="mga"
#X_DRIVER_BUSID="PCI:1:0:0"
X_DRIVER_OPTION1="swcursor On"
#X_DRIVER_OPTION2="ActiveDevice CRT"
#X_DRIVER_OPTION3="noDDC Off"
#X_DRIVER_OPTION4="UseBios Off"
#X_DRIVER_OPTION5="ShadowFB Off"


##
# --- LPR Printing Options
#
# PRINTER_0_NAME     Workstation Printer Name, Can be Any Valid Name
#                    If you have turned ICA_PRINTER=ON then this is the 
#                    name of the printer driver
# PRINTER_0_DEVICE   Workstation printer device (if not specified devices
#                    are not loaded).
#                       /dev/printers/[0-2]   for parallel ports
#                       /dev/ttyS[0-3] for serial ports
#                       /dev/usb/lp[0-2] for USB printers
#
# PRINTER_0_TYPE     P for parallel, S for serial, U for USB printer
# PRINTER_0_OPTIONS  Serial port options.
# PRINTER_1_*        See PRINTER_0_*
# PRINTER_2_*        See PRINTER_0_*
# PRINTER_3_*        See PRINTER_0_*

#PRINTER_0_NAME="parallel"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P

#PRINTER_1_NAME="serial"
#PRINTER_1_DEVICE=/dev/ttyS1
#PRINTER_1_TYPE=S
#PRINTER_1_OPTIONS="speed 38400 -imaxbel"

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#ICA Autocreate Printer Example

#PRINTER_0_NAME="HP LaserJet Series II"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P


##
# --- LPRNG Printing Options
#
# PRINTER_0_NAME     Workstation Printer Name, Can be Any Valid Name
#                    If you have turned ICA_PRINTER=ON then this is the 
#                    name of the printer driver
# PRINTER_0_DEVICE   Workstation printer device (if not specified devices
#                    are not loaded).
#                       /dev/printers/[0-2]   for parallel ports
#                       /dev/ttyS[0-3] for serial ports
#                       /dev/usb/lp[0-2] for USB printers
#
# PRINTER_0_TYPE     P for parallel, S for serial, U for USB printer, N for Network Printer
# PRINTER_0_OPTIONS  Serial port options.
# PRINTER_1_*        See PRINTER_0_*
# PRINTER_2_*        See PRINTER_0_*
# PRINTER_3_*        See PRINTER_0_*

#PRINTER_0_NAME="parallel"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P

#PRINTER_1_NAME="serial"
#PRINTER_1_DEVICE=/dev/ttyS1
#PRINTER_1_TYPE=S
#PRINTER_1_OPTIONS="speed 38400 -imaxbel"

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#Using LPR on port 515:
#PRINTER_#_NAME=hp4300onuyaro
#PRINTER_#_DEVICE=hp4300pcl@172.30.4.213     #queue_name@printer_id
#PRINTER_#_TYPE=N

#Using HP JetDirect on port 9100:
#PRINTER_#_NAME=hp4300direct
#PRINTER_#_DEVICE=172.30.5.47%9100           #printer_id%9100
#PRINTER_#_TYPE=N

#ICA Autocreate Printer Example

#PRINTER_0_NAME="HP LaserJet Series II"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P


##
# --- LP Server Printing Options
#
# PRINTER_0_NAME     Workstation Printer Name, Can be Any Valid Name
#                    If you have turned ICA_PRINTER=ON then this is the 
#                    name of the printer driver
# PRINTER_0_DEVICE   Workstation printer device (if not specified devices
#                    are not loaded).
#                       /dev/printers/[0-2]   for parallel ports
#                       /dev/ttyS[0-3] for serial ports
#                       /dev/usb/lp[0-2] for USB printers
#
# PRINTER_0_TYPE     P for parallel, S for serial, U for USB printer
# PRINTER_0_OPTIONS  Serial port options.
# PRINTER_1_*        See PRINTER_0_*
# PRINTER_2_*        See PRINTER_0_*
# PRINTER_3_*        See PRINTER_0_*

#PRINTER_0_NAME="parallel"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P

#PRINTER_1_NAME="serial"
#PRINTER_1_DEVICE=/dev/ttyS1
#PRINTER_1_TYPE=S
#PRINTER_1_OPTIONS="speed 38400 -imaxbel"

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#ICA Autocreate Printer Example

#PRINTER_0_NAME="HP LaserJet Series II"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P

##
# -- Card Reader Options

#PCSCD_CARDREADER_PORT           # Specify port for serial card, not needed for USB
#PCSCD_CARDREADER_TYPE           # Can be SERIAL or USB

#PCSCD_CARDREADER_PORT="/dev/ttyS0"
#PCSCD_CARDREADER_TYPE="USB"


##
# --- Samba Options
#
# SAMBA_SERVER_ENABLED    Enable Samba Server Daemons, On/Off
# SAMBA_SECURITY          Type of security, USER, DOMAIN, SERVER
# SAMBA_SERVER            Server for security
# SAMBA_WINS              Server Name to Enable Samba to be a WINS Client
# SAMBA_HARDDISK          Enable Harddrive support, On/Off
# SAMBA_CDROM             Enable CDRom Support, On/Off
# SAMBA_FLOPPY            Enable Floppy Support, On/Off
# SAMBA_PRINTER           Enable Printer Support, On/Off
# SAMBA_USB               Enable USB Support, On/Off

#SAMBA_SERVER_ENABLED=Off
#SAMBA_WORKGROUP=BigPeople
#SAMBA_SECURITY=Server
#SAMBA_SERVER=BadMan
#SAMBA_WINS=BadMan
#SAMBA_HARDDISK=Off
#SAMBA_CDROM=On
#SAMBA_FLOPPY=On
#SAMBA_PRINTER=On
#SAMBA_USB=Off


##
# --- PKG Options
#
# PKG_PACKAGES       Choice of packages to download for PKG
#                    You can also use PKG_PACKAGES1-8 for additional package selections
#                    This is useful for using multiple network group files
# PKG_PREFIX         Download PKGs from a subdir of /tftpboot or PKG Path if PKG_PATH
#                    is set in thinstation.conf
# PKG_PATH           Path to PKG files if not using tftpboot
#                    Floppy: /mnt/floppy
#                    CD-ROM: /mnt/cdrom
#                    HD:     /mnt/disc/hdX/part1   (first disc, first partition)
#                    NFS:    /mnt/nfs
#                    Samba:  /mnt/smb
# MOD_PACKAGES       Choice of modules to download for MPKG
#                    You can also use MOD_PACKAGES1-8 for additional package selections
#                    This is useful for using multiple network group files
# MOD_PREFIX         Downloads and insmod's a module from a subdir of /tftpboot
#                    if MOD_PREFIX is set in thinstation.conf

#PKG_PACKAGES="blackbox rxvt"
#PKG_PREFIX=pkg
#PKG_PATH=/mnt/cdrom
#MOD_PACKAGES="usb-hid usb-storage"
#MOD_PREFIX=modules


##
# --- Networking Options
#
# NET_HOSTNAME           Hostname to use if not using a thinstation.hosts file, note
#                        that the machine MAC address will replace any * if used.
# NET_SMTP_SERVER        Email server address for error logs
# NET_SMTP_EMAIL         Email address of administrator
# NET_TIME_SERVER        Time server on network to sync to, uses rdate
# NET_TELNETD            Enables built-in telnetd server package
# NET_REMOTE_ACCESS_FROM List of hostnames/ip address accepted by the server
#                        for remote control, used by telnetd and www packages
# 
# -- Mounting networked filesystems --
#
# NET_NFS_SERVER         This is the path to the NFS server, ie
#                        server:/path/to/share.
# NET_SMB_SERVER         This is the path to the SMB server, ie
#                        server:/path/to/share. 
# NET_SMB_WORKGROUP      Workgroup of samba server
# NET_SMB_USER           This is the username for SMB mounts, password is
#                        defined at build time in build.conf

#NET_HOSTNAME=donald
NET_HOSTNAME=ts_*
#NET_SMTP_SERVER=donald
#NET_SMTP_EMAIL=donald@duck.org.nz
#NET_TIME_SERVER=mickey
NET_TELNETD_ENABLED=On
NET_REMOTE_ACCESS_FROM="duck.quak.org.au 192.168.0.0 .disney.us"
#NET_NFS_SERVER=bigserver:/opt/thinstation
#NET_SMB_USER=duck


# -- For use in thinstation.conf.buildtime only:
#
# NET_USE_DHCP           Enable DHCP Resolution, On/Off
# NET_IP_ADDRESS         IP Address of client
# NET_MASK               Network mask of client
# NET_GATEWAY            IP Address of gateway
# NET_DHCP_DELAY	 Delay before continuing script after bringing up interface, only needed if
#                        using spanning tree "port discovery" in a switched environment.  Default is 0 seconds.
# NET_FILE_METHOD        Method to download files, ie scp or tftp, scp is only available if package ssh
#                        is selected in build as a "package".
# NET_FILE_ENABLED       Use server for config file, On/Off
# NET_FILE_USER          User to connect to SCP server as
# NET_FILE_ALTERNATE     Alternate server for vmware or non-standard dhcp servers
# NET_DNS1               DNS Server 1
# NET_DNS2               DNS Server 2
# NET_DNS_SEARCH         Default DNS domain to search

#NET_USE_DHCP=Off
#NET_IP_ADDRESS=192.168.0.1
#NET_MASK=255.255.255.0
#NET_GATEWAY=192.168.0.254
#NET_DHCP_DELAY=30
#NET_FILE_ENABLED=Off
#NET_FILE_METHOD=tftp
#NET_FILE_USER=not_needed_for_tftp
#NET_FILE_ALTERNATE=192.168.0.4
#NET_DNS1=192.168.0.2
#NET_DNS2=192.168.0.3
#NET_DNS_SEARCH=cartoons.org.nz



# -- Additional Options For use in thinstation.conf.buildtime only:
#
# NET_FILE_METHOD        Method to download files, ie scp or tftp
# NET_FILE_USER          User to connect to SCP server as

#NET_FILE_METHOD=tftp
#NET_FILE_USER=not_needed_for_tftp



##
# --- Wireless
#
#WIRELESS_ESSID             # ESSID (extended network name) : My Network, any
#WIRELESS_NWID              # NWID/Domain (cell identifier) : 89AB, 100, off
#WIRELESS_MODE              # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
#WIRELESS_FREQ              # 2.422G, 2.46G (frequency)
#WIRELESS_CHANNEL           # 1, 2, 3 (channel)
#WIRELESS_SENS              # Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
#WIRELESS_RATE              # Bit rate : auto, 1M, 11M
#WIRELESS_RTS               # RTS threshold : off, 500
#WIRELESS_FRAG              # Fragmentation threshold : off, 1000
#WIRELESS_IWCONFIG          # Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
#WIRELESS_IWSPY             # iwspy parameters : + 01:23:45:67:89:AB
#WIRELESS_IWPRIV            # iwpriv parameters : set_port 2, set_histo 50 60
#WIRELESS_KEY               # Encryption key : 4567-89AB-CD, s:password
#WIRELESS_WPAKEY            # WPA/WPA2 pre-shared key (PSK): at least 8 ASCII characters
#WIRELESS_DRIVER            # Driver name for WPA/WPA2 support: madwifi

WIRELESS_ESSID="ssid"
WIRELESS_NWID=""
WIRELESS_MODE="managed"
#WIRELESS_FREQ=""
#WIRELESS_CHANNEL=""
#WIRELESS_SENS=""
#WIRELESS_RATE=""
#WIRELESS_RTS=""
#WIRELESS_FRAG=""
WIRELESS_IWCONFIG=""
WIRELESS_IWSPY=""
WIRELESS_IWPRIV=""
WIRELESS_WPAKEY=""
WIRELESS_KEY="abcdef"
WIRELESS_WPAKEY=""
WIRELESS_DRIVER=madwifi 


##
# --- OpenVPN Options
#
# OpenVPN uses X.509 certificates for authentication (packed into pkcs12 format, 
# see http://openvpn.net/easyrsa.html). Startup script will look for client's 
# certificate file client.p12 on STORAGE_CONFIG1-8 devices.

# OPENVPN_SERVER		# ip address for openvpn server
# OPENVPN_PORT 			# openvpn server's port
# OPENVPN_PROTO 		# udp or tcp-client
# OPENVPN_PROXY			# ip address for proxy server
# OPENVPN_PROXY_TYPE 		# http or socks
# OPENVPN_PROXY_PORT		# proxy port

#Here are a few examples.

# 1. Using OpenVPN on default port 1194/udp.

# Thinstation config:
# OPENVPN_SERVER="192.168.177.2"
# OPENVPN_PORT="1194"
# OPENVPN_PROTO="udp"

# OpenVPN server config:
# dev tap
# server 10.8.0.0 255.255.255.0
# push "route 192.168.17.0 255.255.255.0"
# keepalive 10 60
# dh /etc/openvpn/dh.pem
# pkcs12 /etc/openvpn/server.p12
# persist-tun
# persist-key
# keysize 256
# comp-lzo
# verb 3

# 2. Using OpenVPN on port 443/tcp via http proxy

# Thinstation config:
# OPENVPN_SERVER="192.168.177.2"
# OPENVPN_PORT="443"
# OPENVPN_PROTO="tcp-client"
# OPENVPN_PROXY="10.0.0.10"
# OPENVPN_PROXY_TYPE="http"
# OPENVPN_PROXY_PORT="8080"

# OpenVPN server config:
# proto tcp-server
# port 443
# dev tap
# server 10.8.0.0 255.255.255.0
# push "route 192.168.17.0 255.255.255.0"
# keepalive 10 60
# dh /etc/openvpn/dh.pem
# pkcs12 /etc/openvpn/server.p12
# persist-tun
# persist-key
# keysize 256
# comp-lzo
# verb 3


##
# --- Permanent Storage Options
#
# STORAGE_PATH           Path to where storage device is mounted to save
#                        profile settings.  This should be one of
#                        /mnt/usbdevice/sdX/partX or disc
#                        /mnt/floppy
#                        /mnt/disc/hdX/partX
#                        /mnt/nfs
#                        /mnt/smb
#
#                        Note that the profile settings are stored under
#                        a subfolder for this path.  So the path to the
#                        stored settings would be something like
#                        /mnt/floppy/thinstation.profile
#                        See the FAQ on the website for more details on this
#
#                        Also checkout README.IMPORTANT for the valid
#                        config files which you can place here
#                        a typical file to store config file settings is
#                        /mnt/floppy/thinstation.profile/thinstation.conf.user
#
#                        Also note that the .profile can be changed by using
#                        the below STORAGE_PREFIX
# STORAGE_PREFIX         This is prefex for the folder name to store settings
#                        in on the storage device.   You can also use one of the
#                        special characters below.
#
#                        M = Mac Address
#                        H = Hostname
#                        I = Ip Address
#
#                        Note default prefix for storing the profile is
#                        .profile
# STORAGE_CONFIG1-8      This is the path for any user defined settings
#                        which will always override the profile path above
#                        The files are tried on order on each device specified


#STORAGE_PATH=/mnt/nfs
#STORAGE_PREFIX=H
#STORAGE_CONFIG1=/mnt/floppy
#STORAGE_CONFIG2=/mnt/cdrom
#STORAGE_CONFIG3=/mnt/disc/hda/part1
#STORAGE_CONFIG4=/mnt/usbdevice/sda/part1


##
# --- HD Update Options
#
# HDUPDATE_ENABLED=Y        Enable Update
# HDUPDATE_WS_VERSION       Version of files on workstation (set in thinstation.buildtime only)
# HDUPDATE_SERVER_VERSION   Version of files on server (set in both buildtime and network)
#                           This should be set in buildtime to match the WS_VERSION to prevent
#                           unintended upgrades
#
# HDUPDATE_SERVER           server name
# HDUPDATE_PATH             Path on server to files
# HDUPDATE_TEMP             Location to temp files, make sure this is an area which is big enough to
#                           cope with the size of the files
#                           Can be one of     HD     will do an auto dection place of device
#                                             RAM    will place in /tmp
# HDUPDATE_FORCE            Force install even if not needed
# HDUPDATE_FILES            List of files to upgrade
# HDUPDATE_DELETE           List of files to delete (no sanity checks, use with caution)

#HDUPDATE_WS_VERSION=1
#HDUPDATE_ENABLED=Y
#HDUPDATE_SERVER_VERSION=CO.29
#HDUPDATE_SERVER=roadrunner
#HDUPDATE_SERVER_TYPE=tftp
#HDUPDATE_USER=donald
#HDUPDATE_PATH=/ts/update
#HDUPDATE_TEMP=HD
#HDUPDATE_FORCE=N

# Set the list of files to download
#HDUPDATE_FILES="vmlinuz hires lowres syslinux.cfg thin.txt firefox.pkg flash.pkg"
#HDUPDATE_FILES="hires lowres"
#HDUPDATE_FILES="lowres"
#HDUPDATE_FILES="hires"
#HDUPDATE_FILES="syslinux.cfg thin.txt"


# -- Additional HD Update options
#
# HDUPDATE_SERVER_TYPE      Supported types are, tftp or scp
# HDUPDATE_USER             Username connection to scp server as

#HDUPDATE_SERVER_TYPE=scp
#HDUPDATE_USER=donald

##
#**** EXPERIMENTAL ****
# Dual Head Support
#
# This allows two seperate X sessions to be started with seperate input devices.  This allows
# effectively two seperate machines within the same PC.  You will need seperate screen cards
# to enable this.  It is best to use with 1 AGP card and 1 PCI card.

# Check out http://www.ltn.lv/~aivils/eng-video.html for a list of known compatable screen cards

# Input Device support should be:
#
# Primary mouse and keyboard PS/2
# Secondary mouse and keyboard USB
#
# There is some basic detection scripts for this, but these will need to be improved in TS 3.0.
# If thinstation doesn't detect both a USB keyboard and mouse it will default back to dual
# screen support, not dual head.
#
# This is not considered stable.  If you exit the session, or try to change to a console screen
# with Alt-F1 etc... it will probably crash the machine.  If it doesn't work with your hardware
# there is nothing that can be done about it.

# The kernel Advanced Power Management module is disabled when using dual screen as it causes the
# second screen to crash.

# Note the below option only supports 1-2, anything more than two won't work.  This is provided
# for future development, to create a machine with more than two seperate sessions.

# SESSION_#_SCREEN_POSITION 1-X When using dual screen support you can specify the position
#                               of each session.  This allows to seperate sessions to be on
#                               seperate screens.  If only 1 session is in use, this option will
#                               make no differnece.  You can specify between 1+ positions