These are the changes to get a
spectrometer to run on a file server that is not called pdevs0. In this
example i'm calling it tdevs0.
- In pdev/linuxfiles:
- pdev.naic.edu edit changing
/^pdevs/s//tdevs/ to change the file server names to
tdevsxxx
- Copy the following files from pdev/linuxfiles/ (as root):
- cp -p named.conf /var/named/chroot/etc/
- cp -p pdev.naic.edu /var/named/chroot/var/named/
- cp -p dhcpd.conf
/etc/ .. overwrite the
current file.
- cp -p pdev /etc/xinetd.d/
- cp -p tftp /etc/xinetd.d/
- cp -p named.caching-nameserver.conf /var/named/chroot/etc/
- cp -p named.rfc1912.zones /var/named/chroot/etc/
- cp -p the following files: localdomain.zone, localhost.zone,
named.broadcast, named.ca, named.ip6.local, named.local, named.zero ..
to /var/named/chroot/var/named .. make sure you use the -p since the
group has to boe named. These files also have symbolic links from
/var/named. (i'm not sure the links are necessary).
- edit /etc/services:
- add the line: pdev
1421/tcp
# PDEV spectometer
- Create the links in /etc for the named conf files:
- ln -s /var/named/chroot/etc/named.caching-nameserver.conf
named.caching-nameserver.conf
- ln -s /var/named/chroot/etc/named.rfc1912.zones
named.rfc1912.zones
- edit pdev/linuxfiles/hosts file:
- change pdevs to tdevs
- change the ipaddr fir tdevs0 to 192.65.176.19 (or
whatever it should be).
- after editing, cp -p pdev/linuxfiles/hosts /etc/hosts ..
overwrite the old file. (you might want to cp /etc/hosts
/etc/hosts.orig first).
- edit /etc/sysconfig/network_scripts/ifcfg-eth1.. leave the hw
address for the port..
- DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=192.168.7.1
USERCTL=no
IPV6INIT=no