= How to change IP address for SNS/LNS = * {{{ >grep -r 192.168.11 /etc/* }}} may help to dig setting files. ----- == To change master IP == ==== 192.168.11.XXX to 192.168.11.YYY ==== 1. Change IP address in the following files: * /etc/hosts * /diskless/root/etc/hosts * /diskless/pxelicux.cfg/default * /etc/conf.d/net * /etc/dhcp/dhcpd.conf * Reboot master PC and check IP address has changed using /sbin/ifconfig, then reboot slave PCs. ==== 192.168.XXX to 192.168.11.YYY ==== 1. Change IP address in the following files: * /etc/hosts * /diskless/root/etc/hosts * /diskless/pxelicux.cfg/default * /etc/xinetd.d/chnconf * /etc/dhcp/dhcpd.conf * /etc/bash/bashrc * /etc/resolv.conf * Reboot master PC and check IP address has changed using /sbin/ifconfig, then reboot slave PCs. ---- == To change slave IP == ==== 192.168.11.XXX to 192.168.11.YYY ==== 1. Change IP address in the following files: * /etc/hosts * /diskless/root/etc/hosts * /etc/dhcp/dhcpd.conf * Restart dhcpd on master: {{{ >sudo /etc/init.d/dhcpd restart }}}, then reboot slave PC, and check IP address was changed by /sbin/ifconfig. ==== 192.168.XXX to 192.168.YYY ==== 1. Change IP address in the following files: * /etc/hosts * /diskless/root/etc/hosts * /etc/dhcp/dhcpd.conf * /diskless/root/etc/rc.local : DAQIP * /diskless/root/etc/resolv.conf * Restart dhcpd on master: {{{ >sudo /etc/init.d/dhcpd restart }}}, then reboot slave PC, and check IP address was changed by /sbin/ifconfig. ---- == To change workstation IP == 1. if you see eth2 or eth3 by ifconfig, modify /etc/udev/rules.d/70-persistent-net.rules to have eth0 and eth1. * Reboot the workstation. * Change IP address in the following files: * /etc/network/interfaces * /etc/hosts * Restart network: {{{ >sudo /etc/inet.d/networking restart }}} or just reboot the workstation. ---- ==== If you change hostname of NFS server or NDS ==== * Change IP address and host name in the following files: * /etc/hosts * /diskless/root/etc/hosts * /etc/dhcp/dhcpd.conf * /etc/fstab * /home/controls/.cshrc : LIGONDSIP