Size: 455
Comment:
|
Size: 1341
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
----- == To change master IP == |
|
Line 11: | Line 13: |
== Workstation == | ==== 192.168.11.XXX to 192.168.11.YYY ==== * /etc/hosts * /diskless/root/etc/hosts * /etc/conf.d/net * /etc/dhcp/dhcpd.conf 1. {{{ >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.11.YYY ==== * /etc/bash/bashrc * /etc/resolv.conf * /etc/xinetd.d/chnconf ---- == To change slave IP == ==== 192.168.11.XXX to 192.168.11.YYY ==== * /etc/hosts * /diskless/root/etc/hosts * /etc/dhcp/dhcpd.conf 1. {{{ >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.11.YYY ==== * /diskless/root/etc/rc.local : DAQIP * /diskless/root/etc/resolv.conf ---- == To change workstation IP == |
Line 14: | Line 47: |
==== Files ==== | ==== To change IP address ==== |
Line 17: | Line 50: |
==== If you change hostname of NFS server or NDS ==== |
How to change IP address for SNS
>grep -r 192.168.11 /etc/*
may help to dig setting files.>sudo /etc/inet.d/networking restart
restart network setting without reboot.
To change master IP
192.168.11.XXX to 192.168.11.YYY
- /etc/hosts
- /diskless/root/etc/hosts
- /etc/conf.d/net
- /etc/dhcp/dhcpd.conf
>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.11.YYY
- /etc/bash/bashrc
- /etc/resolv.conf
- /etc/xinetd.d/chnconf
To change slave IP
192.168.11.XXX to 192.168.11.YYY
- /etc/hosts
- /diskless/root/etc/hosts
- /etc/dhcp/dhcpd.conf
>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.11.YYY
- /diskless/root/etc/rc.local : DAQIP
- /diskless/root/etc/resolv.conf
To change workstation IP
- if you see eth2 or eth3 by ifconfig, modify /etc/udev/rules.d/70-persistent-net.rules to have eth0 and eth1.
To change IP address
- /etc/network/interfaces
- /etc/hosts
If you change hostname of NFS server or NDS
- /etc/fstab
- /home/controls/.cshrc : LIGONDSIP