From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079085416459.tru64-unix-managers.marc@archive.invalid> From: =?iso-8859-1?Q?Lindstr=F6m_Tony?= Date: Mon, 29 Nov 1999 07:31:26 +0000 To: tru64-unix-managers Subject: Summary: Change from one net to another without booting. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079085416459 Thank You, Alexander and Yizar, but Serguei and Nikola=20 won the price. I did forgot about the ifconfig dev delete command. In linux you don't have to delete the device after taking it down. Strangely the /usr/sbin/rcinet does not do this. (Why?) So this is how I do it now: (It does work!) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= #!/bin/sh /usr/sbin/rcinet stop /sbin/ifconfig tu1 delete /bin/cp /etc/rc.config.net2 /etc/rc.config /bin/cp /etc/fstab.net2 /etc/fstab /bin/cp /etc/resolv.conf.net2 /etc/resolv.conf /bin/cp /etc/routes.net2 /etc/routes /bin/cp /etc/hosts.net2 /etc/hosts /bin/cp /etc/inetd.conf.net2 /etc/inetd.conf /sbin/sync /usr/sbin/rcinet start =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= And I have a similar script to change to net1.... --=20 Tony Lindstr=F6m * System Manager * Tekla Oy tel:+358 9 887 9441 gsm:+358 40 762 0768 http://www.iki.fi/tonyk/ mailto:tonyk@iki.fi