Sysadmin:AddComputer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
These are the changes that need to be made if a computer is to be added to the CS network, follow these steps. | These are the changes that need to be made if a computer is to be added to the CS network, follow these steps. | ||
# Add the machine's hostname and IP address to | # Add the machine's hostname and IP address to /etc/namedb/mzxgdf/cs.zone. Make sure to update the serial number at the top of the file, and to end hostnames with a period so that they are FQDN. Also make sure to use an IP address that is not already taken. | ||
# Add the machine's reverse record to | # Add the machine's reverse record to /etc/namedb/master/159.28.230.zone. The same rules as above apply. | ||
# Restart DNS by sending a SIGHUP to the named process, or using the <tt>rndc reload</tt> command. | # Restart DNS by sending a SIGHUP to the named process, or using the <tt>rndc reload</tt> command. | ||
# Add the machine to /etc/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon. | # Add the machine to /etc/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon. | ||
# Restart dhcpd by killing it and restarting it ''with the same command-line options''. There should be a <tt>/usr/local/etc/rc.d/isc-dhcpd.sh</tt> script now that we've upgraded to FreeBSD 5. | # Restart dhcpd by killing it and restarting it ''with the same command-line options''. There should be a <tt>/usr/local/etc/rc.d/isc-dhcpd.sh</tt> script now that we've upgraded to FreeBSD 5. | ||
# Copy dhcpd.conf to quarkprime, and restart dhcpd there as well. | # Copy dhcpd.conf to quarkprime, and restart dhcpd there as well. | ||
Revision as of 17:41, 29 December 2005
These are the changes that need to be made if a computer is to be added to the CS network, follow these steps.
- Add the machine's hostname and IP address to /etc/namedb/mzxgdf/cs.zone. Make sure to update the serial number at the top of the file, and to end hostnames with a period so that they are FQDN. Also make sure to use an IP address that is not already taken.
- Add the machine's reverse record to /etc/namedb/master/159.28.230.zone. The same rules as above apply.
- Restart DNS by sending a SIGHUP to the named process, or using the rndc reload command.
- Add the machine to /etc/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon.
- Restart dhcpd by killing it and restarting it with the same command-line options. There should be a /usr/local/etc/rc.d/isc-dhcpd.sh script now that we've upgraded to FreeBSD 5.
- Copy dhcpd.conf to quarkprime, and restart dhcpd there as well.