## page was renamed from LCGT/subgroup/ifo/digital/RTPC/GentooRTMin = Minimum Setup for Gentoo Real Time system = This setup can be extended to following systems; * Standalone system * Boot server for PXE network boot for HDD less front-end PCs * Real-time network computers like NDS, DAQ servers ---- == setup front-end 12/15/2010 at 40m == === Make a full copy of Alex HDD === 1. Obtain Alex HDD 2. Do not forget to make a copy of the original HDD. Obtain Knoppix and type {{{ dd_rescue /dev/sda /dev/sdb}}} === Boot === 1. Prepare following equipment; * PC for frontend (which has at least one PCIe slot, for example SUPER MICRO) * At least one GS ADC card * IO chassis (or put ADC into PC's PCIe slot directry) * Timing signal * Timing signal can be replaced by a function generator with 65536Hz, 5Vpp and 2.5V offset. * This timing signal has to be injected into the ADC card somehow. * Network router for private network. 1. Connect all, and boot from Alex HD 1. Login as root with CDS password, and set a password for controls. 1. change controls UID to 1001, and controls GID to 1001 because all of the CDS files owned by controls account with UID=1001 and GID=1001. see [[https://awiki.ligo-wa.caltech.edu/aLIGO/CdsUbuntuDesktopBuild]] 1. Delete existing IP on /etc/hosts, and add new IP and host name like {{{ 131.215.113.100 standalone 131.215.113.110 desktop1 }}} * Setting up network info. like IP or netmask etc at /etc/conf.d/net if you need. === If you need to PXE boot other HDD less PSs through network === 1. modify /etc/dhcp/dhcpd.conf to delete existing front-end and add new front-end PCs 1. run dhcpd if not running as {{{ # /etc/init.d/dhcpd start }}} or add dhcpd as default run level as {{{ # rc-update add dhcpd default }}} and reboot. 1. Boot up the TFTP server of master {{{ # /etc/init.d/in.tftpd start }}} or add TFTP server as default run level {{{ # rc-update add in.tftpd default }}} and reboot. ---- === Trouble shooting === ==== tftp can not be accessible from HDD less PC ==== {{{ cd /etc grep -r diskless * more /etc/conf.d/in.tftpd }}} Start TFTP server {{{ # /etc/init.d/in.tftpd start}}} If you need to start TFTP server automatically, add TFTP server as default run level{{{ # rc-update add in.tftpd default}}} ==== How to stop TFTP server from service ==== {{{ # rc-update del in.tftpd default}}} ==== X windows cannot open through ssh ==== Delete registered hosts from .ssh/known_hosts or try {{{ ssh -Y hostname }}} ==== emerge does not work ==== {{{ # emerge --sync }}}