Re: [Thinstation-general] Using local thinstation.conf on Compact Flash+Syslinux
Brought to you by:
doncuppjr
From: Mike E. <thi...@gm...> - 2007-06-28 15:21:04
|
Your storage path shoud be /mnt/disc/hdb/part1. Mike On 6/28/07, Boris Ratak <b....@ya...> wrote: > > Hi, > > I'm using Thinstation 2.2rc5 on tiny PCs. They are booting on Compact > Flash cards, FAT formated and using syslinux. They have a default config ( > thinstation.buildtime) included while building, but I would like them to > load another config file, located on the CF card. I put a > thinstation.profile folder and a thinstation.conf.user inside it and an > empty thinstation.hosts in the root folder. I also specified the > storage_path as seen in debug mode (/mnt/disc/hdb/hdb) in > thinstation.buildtime. > But no matter what I do, I can't make it to load the thinstation.conf.userfile on boot. Any idea? > > Thx > > Note : Here's my thinstation.buildtime that's included on build : > > > ############################################### > # -- 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=fr_fr > 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=Off > 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. > > > SESSION_0_TYPE=blackbox > > #SESSION_#_TYPE=blackbox > #SESSION_#_SCREEN=1 > > > #SESSION_#_TYPE=dillo > > > # -- 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 > > > ## > # --- 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="1280x1024 | 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" > > > ## > # --- 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.hostsfile, 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=do...@du... > #NET_TIME_SERVER=mickey > NET_TELNETD_ENABLED=On > NET_REMOTE_ACCESS_FROM="192.168.1.0" > #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 > > > > ## > # --- 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/disc/hdb/hdb > #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" > > > ## > #**** 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<http://www.ltn.lv/%7Eaivils/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 > > > > ------------------------------ > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails<http://www.trueswitch.com/yahoo-fr/>vers Yahoo! Mail > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Thinstation-general mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-general > > -- Thinstation oldtimer http://thinstation.sourceforge.net - a light, full featured linux based thin client OS |