fax0236@uoft02.utoledo.edu (05/08/91)
Help! We just got our DECstation 3100s on the internet, and are trying to change their internet addresses. For some reason, even though we have changed the /etc/hosts file and rebooted, the diskless workstations (booting off a DECsystem 3100 server) keep coming up with their old address and therefore won't reboot. And furthermore, telnetting into the server (which does boot with its new address) is fantastically slow. We have checked the /etc/namedb/* files and there are no conflicts. We have also updated all of the hosts files in the dlclient0 areas of each diskless workstation. Any help or advice would be appreciated. Doug Smith Assistant Professor of Chemistry The University of Toledo Toledo, OH 43606-3390 voice 419-537-2116 fax 419-537-4033 email FAX0236@UOFT02.UTOLEDO.EDU
yzarn@lhdsy1.chevron.com (Philip Yzarn de Louraille) (05/08/91)
Make sure that the /etc/hosts file does not contain, at the 127.0.0.1 line the name you gave your hardware. Make sure the /etc/rc.local is configured right, especially at the /etc/ifconfig .... broadcast ... netmask Theses are the obvious reasons I can see now. Godd luck! -- Philip Yzarn de Louraille Internet: yzarn@chevron.com Research Support Division Unix & Open Systems Chevron Information & Technology Co. Tel: (213) 694-9232 P.O. Box 446, La Habra, CA 90633-0446 Fax: (213) 694-7709
frank@croton.nyo.dec.com (Frank Wortner) (05/09/91)
In article <1991May7.231307.3466@uoft02.utoledo.edu>, fax0236@uoft02.utoledo.edu writes: |>Help! We just got our DECstation 3100s on the internet, and are trying |>to change their internet addresses. For some reason, even though we |>have changed the /etc/hosts file and rebooted, the diskless workstations |>(booting off a DECsystem 3100 server) keep coming up with their old |>address and therefore won't reboot. Diskless ULTRIX workstations get their IP addresses from an object file that is downloaded into them at boot time. If you do a getnode DISKLESS replacing the DISKLESS with the name of the client, you'll see the three files are downloaded at boot time. Two are kind of obvious: a bootstrap loader called netload, and vmunix. The third is a file called netblk.o. This contains information that the client requires to boot itself: its IP address, its server's name and IP address, its swap file location, etc. This file is located in the client's root area /etc directory (/dlclient0/DISKLESS.root/etc/netblk.o). You might think that there is a corresponding netblk.c, and, lo, there is. ;-) It's usually in /dlclient0/DISKLESS.root/etc/netblk.c. You can edit this file, change the IP address in the file, recompile cc -c netblk.c and try a reboot. BTW, the IP address in that file might not be obvious --- look in the include file /usr/include/sas/mop.h to figure out which number it is. Finally, I don't guarrantee that this will work. The right way is to delete the client area and make a new one, but I have done what I just described successfully. Just please be aware that this technique is my own and is not endorsed by Digital. Good luck! Frank