ThinStation 2.2d

Publicado por Guizeira em 03/08/2010

[ Hits: 18.554 ]

Blog: https://br.linkedin.com/pub/guilherme-moraes-da-fonseca/26/a46/750

 


ThinStation 2.2d



Resolvi escrever esta dica para ajudar os sysadmin a rodar tal sistema em máquinas antigas, novas e realizando o boot via CDROM ou pendrive. Tentarei ser o mais sucinto possível (sem firulas) para que o texto fique simples e objetivo.

Bom, vamos lá ....

A primeira coisa a ser fazer será baixar o Thinstation versão 2.2d, segue o link:
Depois de realizar o download, vamos descompactá-lo (caso não saiba como, existem varias matérias aqui na VOL que irão ajudar nesse processo).

Para você entender como que funciona a estrutura de configuração, existem dois importantes arquivos a serem configurados. O primeiro é o build.conf, nele existem os módulos de vídeo, rede, teclado, enfim... tudo que um computador precisa para rodar perfeitamente. Veja abaixo como ficou a minha configuração:

################################################
### --- Thinstation Build Config --- ###
################################################
################################################
### --- Modules to include in boot image --- ###
################################################

module pcm # PCMCIA Cards
module serial # Serial Device Support
module acpi # Advanced Configuration and Power Interface support
#module pcspkr # PC Speaker support

#!!!AGP Modules
module agpgart # AGP bus module for use with AGP video cards
module ali-agp # ALI chipset support
module amd64-agp # AMD Opteron/Athlon64 on-CPU GART support
module amd-k7-agp # AMD Irongate, 761, and 762 chipset support
module ati-agp # ATI chipset support
module efficeon-agp # Transmeta Efficeon support
module intel-agp # Intel 440LX/BX/GX, I8xx and E7x05 chipset support
module nvidia-agp # NVIDIA nForce/nForce2 chipset support
module sis-agp # SiS chipset support
module via-agp # VIA chipset support

#!!!PCMCIA/CardBus bridges
# Remember: Only include what you really need!
module yenta_socket # CardBus card and (Yenta) bridge support (Very common)
module i82365 # Intel i82365 compatible ISA-bus bridge support
module tcic # Databook TCIC host bridge support (old systems)

# --- Network card modules
# Did we forget to tell you to only include modules you require?
#!!Network

#!!!Ethernet 10-100 Mbit Modules
module 3c501 # 3c501 "EtherLink" support
module 3c503 # 3c503 "EtherLink II" support
module 3c505 # 3c505 "EtherLink Plus" support
module 3c507 # 3c507 "EtherLink 16" support
module 3c509 # 3c509/3c529 (MCA)/3c579 "EtherLink III" support
module 3c515 # 3c515 ISA "Fast EtherLink"
module 3c59x # 3c590/3c900 series (592/595/597) "Vortex/Boomerang" support
module 8139too # RealTek RTL-8139 PCI Fast Ethernet Adapter support. VERY
# common in no-name network cards. Covers also 8129.
module 8139cp # RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support
module ac3200 # Ansel Communications EISA 3200 support
module amd8111e # AMD 8111 (new PCI lance) support
module at1700 # AT1700/1720 support
module atl2 # Attansic L2. Atheros(R) L2 Ethernet Network Driver ver. 1.0.40.3
module b44 # Broadcom 4400 ethernet support
module cs89x0 # CS89x0 support
module de4x5 # Generic DECchip & DIGITAL EtherWORKS PCI/EISA
module de2104x # Early DECchip Tulip (dc2104x) PCI support
module depca # DEPCA, DE10x, DE200, DE201, DE202, DE422 support
module dgrs # Digi Intl. RightSwitch SE-X support
module dmfe # Davicom DM910x/DM980x support
module hp100 # HP 10/100VG PCLAN (ISA, EISA, PCI) support
module e100 # EtherExpressPro/100 support (e100, Alternate Intel driver)
module e2100 # Cabletron E21xx support
module eepro # EtherExpressPro support/EtherExpress 10 (i82595) support
module eepro100 # EtherExpressPro/100 support (eepro100, original Becker driver)
module eexpress # EtherExpress 16 support
module epic100 # SMC EtherPower II
module eth16i # ICL EtherTeam 16i/32 support
module ewrk3 # EtherWORKS 3 (DE203, DE204, DE205) support
module fealnx # Myson MTD-8xx PCI Ethernet support
module forcedeth # nForce Ethernet support (nVidia 0.62-Driver Package V1.30)
module hp-plus # HP PCLAN+ (27247B and 27252A) support
module hp # HP PCLAN (27245 and other 27xxx series) support
module lp486e # LP486E on board Ethernet
module lance # AMD LANCE and PCnet (AT1500 and NE2100) support
module ne io=0x300 # NE2000/NE1000 support
module ne2k-pci # PCI version of NE-2000
module natsemi # National Semiconductor DP8381x series PCI Ethernet support
module ni5010 # Racal-Interlan (Micom) NI cards
module ni52 # Racal-Interlan (Micom) NI cards
module ni65 # Racal-Interlan (Micom) NI cards
module pcnet32 # AMD PCnet32 PCI support
module sis900 # SiS 900/7016 PCI Fast Ethernet Adapter support. Common
# in integrated motherboards
module smc-ultra # SMC Ultra support
module smc9194 # SMC 9194 support
module starfire # Adaptec Starfire/DuraLAN support
module sundance # Sundance Alta support
module tlan # TI ThunderLAN support, Compaq Neteligent 10/100
module typhoon # 3cr990 series "Typhoon" support
module tulip # DECchip Tulip (dc21x4x) PCI support
module via-rhine # VIA Rhine support (both Rhine I and II). Common in integrated motherboards
module wd # WD80*3 support
module winbond-840 # Winbond W89c840 Ethernet support
module xircom_cb # Xircom CardBus support
module xircom_tulip_cb # Xircom Tulip-like CardBus support


#!!!Ethernet 1000 Mbit Modules
module acenic # Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support
module atl1 # Attansic L1. Atheros 1000M Ethernet Network Driver version=1.2.40.3
module atl1e # Attansic L1e. Atheros(R) AR8121/AR8113/AR8114 PCI-E Ethernet Network Driver ver. 1.0.1.0
module bnx2 # Broadcom NetXtremeII support
module dl2k # D-Link DL2000-based Gigabit Ethernet support
module e1000 # Intel(R) PRO/1000 Gigabit Ethernet support (PCI)
module e1000e # Intel(R) 82567LM (PCIe)
module ns83820 # National Semiconductor DP83820 support
module hamachi # Packet Engines Hamachi GNIC-II support
module yellowfin # Packet Engines Yellowfin Gigabit-NIC support
module r8101 # Realtek 8101 Gigabit Ethernet support
module r8168 # Realtek 8168 Gigabit Ethernet support
module r8169 # Realtek 8169 Gigabit Ethernet support - version 6.011_2.6.16.5
module sis190 # SiS190/SiS191 gigabit ethernet support
module skge # New SysKonnect GigaEthernet support
module sk98lin # Marvell Yukon Chipset / SysKonnect SK-98xx Support
module sky2 # SysKonnect Yukon2 support
module tg3 # Broadcom Tigon3 ver. 3.99k
module via-velocity # VIA Velocity support

#!!!Ethernet 10000 Mbit Modules
module cxgb # Chelsio 10Gb Ethernet support
module ixgb # Intel(R) PRO/10GbE support
module s2io # S2IO 10Gbe XFrame NIC


#!!USB Devices
module usb-hid # Needed for USB keyboards and mice
module usb-storage # Needed for USB-Sticks
#module usb-printer # Needed for USB-Printers
module usb-cdrom # Needed for USB CD-Rom Drives

#!!Storage Devices
#module ide-floppy # LS-120, Iomega Zip
#module floppy # Floppy disk support
module ide-cd # CD-Rom Drive Support
#module ahci # ACHI SATA support
module ata_piix # Intel piix SATA chipset support
#module sata_nv # NVidia SATA support
#module sata_promise # Promise SATA support
#module sata_sil # Silicon Image SATA support
#module sata_sil24 # Silicon Image 3124/3132 SATA support
#module sata_sis # SIS 964/180 SATA support
#module sata_via # VIA SATA support


#!!Filesystem Support
# Every mounted device needs a filesystem, so choose which ones you need.
module autofs4 # Automount and autofs support
module isofs # ISO9960 file system support for CDRoms
module udf # ISO13346 (UDF) file system
module vfat # Fat and VFat file system support
module ntfs # NTFS file system support
module ext2 # Ext2 file system support
module ext3 # Ext3 file system support
#module supermount # Supermount support for auto unmounting of removable media
#module nfs # NFS file system support
#module smbfs # Samba client FS Support, allows you to mount smb filesystems


#################################################
### --- Packages to include in boot image --- ###
#################################################

# browser at "http://<TS ip>:5800

# --- Xorg6R9.0
# General Xorg6R9.0 video drivers
# This never gets old: only include what you really need!
package xorg6-apm # Alliance ProMotion video driver
package xorg6-ark # Ark Logic video driver
package xorg6-ati # ATI video driver
package xorg6-chips # Chips and Technologies video driver
package xorg6-cirrus # Cirrus Logic video driver
package xorg6-cyrix # Cyrix video driver
package xorg6-glint # GLINT/Permedia video driver
package xorg6-i128 # Number 9 I128 video driver
package xorg6-i740 # Intel i740 video driver
package xorg6-i810 # Intel 8xx integrated graphics chipsets
package xorg6-mga # Matrox video driver
package xorg6-neomagic # Neomagic video driver
package xorg6-nsc # Nsc video driver
package xorg6-nv # NVIDIA video driver
package xorg6-nvidia # Driver for modern nVidia cards (ver. 185.18.14)
package xorg6-r128 # ATI Rage 128 video driver
package xorg6-radeon # ATI RADEON video driver
package xorg6-rendition # Rendition video driver
package xorg6-s3 # S3 video driver
package xorg6-s3virge # S3 ViRGE video driver
package xorg6-savage # S3 Savage video driver
package xorg6-siliconmotion # Silicon Motion video driver
package xorg6-sis # SiS video driver
package xorg6-tdfx # 3Dfx video driver
package xorg6-tga # DEC TGA video driver
package xorg6-trident # Trident video driver
package xorg6-tseng # Tseng Labs video driver
package xorg6-vesa # Generic VESA driver, use this if you don't know what to use
package xorg6-vga # VGA 320x200 8 bit
package xorg6-via # Legacy VIA driver. Conflicts with xorg6-openchrome!!!
package xorg6-unichrome # VIA unichrome for CLE266, KM400/KN400, K8M800/K8N800, PM800/PM880/CN400
# P4M800PRO, CX700, K8M890, P4M890, CN750, P4M900, VX800. Conflicts with xorg6-via!!!


#!!Keyboard layouts (Language/Country)
package keymaps-en_us # English-United States
package keymaps-pt_br # Portuguise-Brazil

#!Applications
#!!Connection Package types. Choose *at least* one!
package rdesktop # X RDP client for Windows Terminal Services (ver 1.6). Conflicts with rdesktop-svn.
package ssh # Secure Shell client

#!!Window Managers. Choose no more than 1 window manager.
# Not needed if you don't want to manage windows.
package blackbox # "Blackbox" window manager. Makes TS a light workstation.
#!!Window Manager Utils
package xtdesk # Adds icons to desktop
package ttf-freefont # GNU freefont true type font. Improves the looks of icewm, firefox etc. (3.5 MB)


#!Parameters
########################################
### --- Miscellaneous Parameters --- ###
########################################
#!!Basic
param rootpasswd tecred321 # Do Change! Console/telnet password for root
# If this is enabled, Telnetd will be enabled.
param xorgvncpasswd pleasechangeme # VNC Access Password
param storagepasswd pleasechangeme # Password for storage server
param dialuppasswd pleasechangeme # Password for dialin account
param sambapasswd pleasechangeme # Password for samba shares when using user mode security
param bootlogo true # Backgound picture during boot
param bootresolution 1024x768 # Resolution used during Thinstation boot
#param desktop ./background.jpg # Background image for the desktop. More images in backgrounds/
param defaultconfig thinstation.conf.buildtime # The file with default setup. No other config file is found
# during boot.
#param basename thinstation # Used for all config/tftp/scp file names
#param basepath . # Used to determine path to tftp/scp files
#param keyfile ./id_rsa # Path for private key file used for ssh/scp
#param knownhosts ./known_hosts # Path for ssh known_hosts file for ssh/scp
param localpkgs false # to determine is PKG files are to be loaded locally
param fulllocales false # Use full locale support for packages
param icaencryption false # Use ica encryption support, add 290k to image
#param haltonerror false # Will halt on error, default is true
param bootverbosity 3 # Increased vebosity when booting TS
# 0 no verbose messages
# 1 boot
# 2 network
# 4 init
# 8 kernel
# 16 modules
# 32 packages
# 64 email bootlog file to SMTP server & user set in
# thinstation.conf file. This will only work
# if networking is working.
#
# Combinations can be used (e.g.12 does Kernel and Module Messages)

#!!Advanced
# Leave this alone unless you can't download (wget required on your Linux box):
param icaurl file://home/installs/linuxx86-11.100.158406.tar.gz
param firefoxurl http://thinstation.org/download/firefox/firefox-3.x-current.tar.bz2
param flashurl http://thinstation.org/download/2.2/install_flash_player_9_linux.tar.gz
param nxurl http://thinstation.org/download/nx/nxclient-3.x-current.i386.tar.gz
param 2xurl http://downloads.2x.com/applicationserver/2xApplicationServerClient3.tar.bz2
param javaurl file://home/installs/jre-1_5_0_06-linux-i586.bin
param tarantellaurl file://home/installs/tnci3li.tar
#param httpproxy http://192.168.1.2:8080

E o segundo, o thinstation.conf.buildtime, nele é configurada a "screen" que nele pode chamar o Rdesktop, SSH, Firefox, dependendo da sua necessidade.

Veja abaixo também com o que ele ficou:

thinstation.conf.buildtime:

AUDIO_LEVEL=67
KEYBOARD_MAP=en_us
TIME_ZONE="UTC-12:30"
SYSLOG_SERVER=local
USB_ENABLED=On
#USB_STORAGE_SYNC=On
#USB_MOUNT_DIR="/mnt/usbdevice"
#USB_MOUNT_USELABEL="Yes"
#USB_MOUNT_OPTIONS="utf8,shortname=win95"
DAILY_REBOOT=On
#AUTOPLAYCD=On
CUSTOM_CONFIG=Off
RECONNECT_PROMPT=On

#SCREEN
SCREEN=0
WORKSPACE=1
AUTOSTART=off
ICONMODE=AUTO

SESSION_0_TITLE="WTS"
SESSION_0_TYPE=rdesktop
SESSION_0_SCREEN=0
SESSION_0_RDESKTOP_SERVER=10.0.0.1
SESSION_0_RDESKTOP_OPTIONS="-d dominio -a 16"
SESSION_0_AUTOSTART=On # Com a opção "ON" A Screen já inicia automaticamente.

SESSION_1_TYPE=ssh
SESSION_1_SSH_SERVER=10.0.0.1

#SESSION_3_TYPE=blackbox
#ICONMODE=AUTO

#SESSION_4_TYPE=firefox
#SESSION_4_FIREFOX_HOMEPAGE=http://www.google.com.br

#SESSION_#_RDESKTOP_OPTIONS="-a 24 -x b -r printer:usb='DYMO LabelWriter 400 Turbo'"

#
SCREEN_RESOLUTION="1024x768 | 800x600 | 640x480 | *"
SCREEN_COLOR_DEPTH="24 | 16 | 8 | *"
#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
DONT_VT_SWITCH_STATE=false
DONT_ZAP_STATE=false
#MOUSE_PROTOCOL=PS/2
#MOUSE_DEVICE=/dev/psaux
MOUSE_RESOLUTION=100
#MOUSE_ACCELERATION=1/2
X_COOKIE=36d71ab65c10ef065702c111a3d31593
#X_NUMLOCK=Off

NET_HOSTNAME=ts_*
NET_USE_DHCP=On
NET_FILE_ENABLED=Off # Importante Deixar off para que ele não procure um servidor central para entregar uma configuração Global.

A configuração acima abrirá uma tela automaticamente chamando um servidor de WTS. A segunda tela irá conectar em um computador rodando SSH, a terceira abrindo apenas o Firefox ou ainda outra chamando a interface blackbox (a interface e o programa Firefox é configurado no arquivo build.conf).

Ok, após as devidas configurações, basta rodar o comando:

#./build

para gerar sua imagem.

ISO: CD e USB

Bom, após rodar o comando "./build" o mesmo irá gerar a ISO (caminho: /Thinstation-2.2.2d/utils/tools/boot/), com ela você pode simplesmente queimar num CD ver se realmente funcionou.

DICA: rode a mesma antes em uma máquina virtual para não perder tempo e um CD.

Agora iremos dar boot na máquina com uma USB:

Para isso precisaremos baixar o programa:
(veja se sua distribuição já não disponibiliza nos repositórios)

Com ele aberto é muito simples:
  • Selecione a ISO recém criada no campo correspondente
  • Selecionar o USB previamente reconhecido e montado pela sistema
  • Clicar em "OK"

Agora basta reiniciar a máquina, selecionar na bios bootar via pendrive (caso sua máquina tenha o devido suporte) e ver se funcionou!

Qualquer dúvida postem aí...

P.S.: Pra quem conseguiu mudar a tela de BOOT, posta por favor como que fez, pois não consegui.

Abraços.

Outras dicas deste autor

GoogleCL: O poder do Google na linha de comando

Criando o arquivo wpa_supplicant.conf

Montando uma partição LVM

Google Talk com vídeo e som para Linux

Amora: aplicativo para controlar seu computador por um NOKIA

Leitura recomendada

openSUSE Leap 42.1 - 6 dicas de pós-instalação

Criando chroot no CentOS 6.x

Freedows: novo sabor de GNU/Linux

Vídeo-aulas gratuitas para iniciantes

VM900M da gigabite X SuSE

  

Comentários
[1] Comentário enviado por marcosmamorim em 09/08/2010 - 20:23h

Guilherme,

Para configurar a imagem do boot, vocẽ deve gerar a imagem com 24bpp e 72x72dpi, depois é copiar para a pasta utils/tools/boot/, são duas imagens, uma é o splash e outra é o silent, o nome da imagem deve ser de acordo com a sua resolução definida no parâmetro bootresolution.


Marcos Amorim
Thinstation Developer

[2] Comentário enviado por guimfonseca em 10/08/2010 - 08:21h

Legal Marcos, vou testar aqui !

[3] Comentário enviado por guimfonseca em 23/08/2010 - 09:52h

Uma correção: Local da imagem criada: /Thinstation-2.2.2d/boot-images/iso .

[4] Comentário enviado por kzmichel em 01/09/2010 - 13:43h

Boa tarde amigo, minha distro ThinStation esta 100% (via Live CD).

Me surguiu um problema espero que você possa me ajudar:

Como faço para instalar esse sistema num HD (via Linux ou Windows)?

Aguardo novidades !!!!

[5] Comentário enviado por guimfonseca em 01/09/2010 - 13:51h

Pra ti falar a verdade eu troquei esse ThinsStation e fiz um ubuntu personalizado com boot via usb ou se quiser instalar na maquina tem a opção no boot. Logo mais eu crio um tutorial para criar o ubuntu personalizado pra logar em wts , ssh , fazer oq quiser....

[6] Comentário enviado por giulianoarossato em 17/12/2010 - 09:04h

Testei e esta funciomando bem gostaria apenas de saber como faço para adicionar mais drivers dentro do thinstations.

[7] Comentário enviado por ankubica em 28/02/2011 - 08:50h

Quero fazer com que ele faça o boot pelo HD, como poderia proceder?

[8] Comentário enviado por kzmichel em 11/05/2011 - 11:03h

Amigo, depois de instalado o ThinStation como faço para editar as confs. (ex:/etc/thistation.conf)

Não encontrei nenhum editor de textos !!!


Obrigado



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts