This page tries to explain how to prepare server to handle trb version2.
assumptions:
- server has ethernet interface eth0 with IP: 192.168.0.1
- trb has IP: 192.168.0.2
Providing IP for trb via DHCP server
- if you know MAC number let go to 3.
- run as root =/etc/init.d/dhcpd restart=(if you dont have dhcp deamon)
- 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.
- 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
- run as root
/etc/init.d/dhcpd restart
Providing NFS directory on server
- install NFS sever on your machine
- unpack a content of etrax_fs.tar in /var/diskless/etrax_fs (current version you find on hadeb05.gsi.de:/var/diskless/etrax_fs),
- add this line
/var/diskless/etrax_fs 192.168.0.*(rw,sync,no_root_squash)
to the /etc/exportfs
- 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),
- run
exportfs
, bash should return /var/diskless/etrax_fs 192.168.0.2
HowTo install daq application on the server side
- unpack and install allParam.tar
tar xzf allParam.tar
cd allParam_source
./configure && make && make install
- similarly compat_i386.tar and hadaq_i386.tar
HowTo install scripts to handle trb
- unpack DAQFS2.tar
- read README
--
RadekTrebacz - 20 Mar 2009