On Thu, 18 Jun 1998, David C. Winters wrote:

> Been having a problem with networking on a bunch of 4.2 boxes, with the 
> machines clicking into their proper network identities.
> I had to get a bunch of machines redone fairly quickly, so I built one 
> machine, a Linux/NT dual-boot machine, in my office and dumped an image of
> its drive to a Netware server using Ghost.[1]  Went to the cluster and 
> started downloading the image onto a batch of machines at a time.  Ghost 
> does a bit-by-bit copy, so I have to manually reset all of the pertinent
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> network information.  I modified
> 
> /etc/HOSTNAME
> /etc/sysconfig/network
> /etc/sysconfig/network-scripts/ifcfg-eth0
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I found that under 4.2, if I modified the ifcfg scripts with an editor that
left a backup file with a name that began with the old name (i.e.,
ifcfg-eth0 & ifcfg-eth0~), that it would run ALL the scripts in directory
order. Hence, it would run ifcfg-eth0~ last, putting the old setup info into
my network config. Delete any backup files, or rename them so that they
don't begin with 'ifcfg'.
> 
> and restarted the inetd process, but it kept the name and IP that I used in
> my office (a name/IP pair that I keep in reserve for just this sort of 
> thing).  I tried 'ifconfig eth0 down' then 'ifconfig eth0 up', again with no
> result.  I then went into X and tried netcfg(), out of the group of control
> panels, and this time it worked--but only until the machine was rebooted,
> then it went back to using the image's original info, even though the
> above-listed files had the new information in them.
> 
> As I said, they're dual-boot machines, and they're in a classroom setting so
> the get rebooted numerous times daily.  The netcfg() fix doesn't really pan
> out since it doesn't hold through a reboot.
> 
> Where is this network information cached and how can I clear it out?  I've
> never run into this before, so what am I missing?  Thanks.
> 
yep, I'll bet it's running your old config from the backup files.....


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to