This page tries to explain how to prepare server to handle trb version2.

assumptions:

  1. server has ethernet interface eth0 with IP: 192.168.0.1
  2. trb has IP: 192.168.0.2

Providing IP for trb via DHCP server

  1. if you know MAC number let go to 3.
  2. run as root =/etc/init.d/dhcpd restart=(if you dont have dhcp deamon)
  3. check MAC address: after restart TRB you should find in the last lines of /var/log/daemon.log the entry DHCPDISCOVER and MAC of trb.
  4. add to /etc/dhcpd.conf following lines:
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
group {
  option domain-name-servers 192.168.0.1;

        host 192.168.0.2 {
           hardware ethernet XX:XX:XX:XX:XX:XX;
           fixed-address 192.168.0.2;
        }
}
where XX:XX:XX:XX:XX:XX is MAC address of trb
  1. run as root /etc/init.d/dhcpd restart

Providing NFS directory on server

  1. install NFS sever on your machine
  2. unpack a content of etrax_fs.tar in /var/diskless/etrax_fs (current version you find on hadeb05.gsi.de:/var/diskless/etrax_fs),
  3. add this line /var/diskless/etrax_fs 192.168.0.*(rw,sync,no_root_squash) to the /etc/exportfs
  4. export NFS ( on debian: with: /etc/init.d/nfs-kernel-server restart. If you dont have this script or it is not working, see google: nfs server),
  5. run exportfs, bash should return /var/diskless/etrax_fs 192.168.0.2

HowTo install daq application on the server side

  1. unpack and install allParam.tar
   tar xzf allParam.tar
   cd allParam_source
   ./configure && make && make install
  1. similarly compat_i386.tar and hadaq_i386.tar

HowTo install scripts to handle trb

  1. unpack DAQFS2.tar
  2. read README

-- RadekTrebacz - 20 Mar 2009

This topic: DaqSlowControl > TDCReadoutBoard > TDCReadoutBoardV2 > TRBvIIHowTo > HowToPrepareServerForTrb
Topic revision: 2009-10-27, JanMichel
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki Send feedback | Imprint | Privacy Policy (in German)