redhat--config-network corrupts my hosts-file

Harry Hoffman hhoffman at ip-solutions.net
Thu Feb 26 10:55:15 UTC 2004


Don't run "redhat-config-network" :-)
All of the files are in /etc/sysconfig/

Cheers,
Harry


Quoting Marcel <linux at fritzenwallner.org>:

*> Hello
*> 
*> OS: Linux RedHat Enterprise WS 3
*> 
*> My hostsfile is beeing coruppted when I open "redhat--config-network" and
*> click on "save". It just deletes some of the lines in /etc/hosts and adds
*> some #################### lines.
*> 
*> I use to modify the hosts file in a text editor, however, I also make some
*> configurations in the network configuration tool. No entry should be lost
*> when working with the graphical tool.
*> 
*> Does someone have a suggestion how to get rid of that problem?
*> Thanks!
*> Marcel
*> 
*> 
*> Below you can see the first part of my hostsfile
*> 
*> #
*>  ----------------------------------------------------------------------------
*>  -------------
*> 127.0.0.1       localhost  localhost.localdomain        # Do not change this
*> line!!!
*> #
*>  ----------------------------------------------------------------------------
*>  -------------
*> #
*> 149.236.99.1	ASP_ST2			# Second Ethernet Card
*> 149.236.99.99	spect av300 av400 av500 av600 av700 av800 av900	# EthernetCard
*> on CCU (Console)
*> 150.205.48.6    deliver        	        # Address for delivering
*> # Cut here before delivering. Do not change this line, used for script! #
*> #########################################################################
*> #               File:      /etc/hosts            (Master file on CSWEB) #
*> #               Version:   2003-11-11 MAF                               #
*> #               Save old version as /etc/hosts.XX.old                   #
*> #########################################################################
*> #150.205.2.1			# Prim. DNS Server
*> #150.205.2.2			# Sec.  DNS Server
*> 150.205.2.10	relay 		#
*> 150.205.2.11	cs timemaster   # O2 Mail- und WWW-Server
*> 150.205.128.40	gateway 	# Firewall
*> 150.205.1.51    zfs2            # Novell Server (IPX)
*> #192.168.1.10    bruker.ch       # neuer domain server
*> 150.205.108.53  p622            # license server 1
*> 150.205.2.24    znt3		# license server 2
*> 150.205.2.29    znt9            # license server 3
*> 
*> 
*> --
*> redhat-list mailing list
*> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
*> https://www.redhat.com/mailman/listinfo/redhat-list
*> 


-- 
Harry Hoffman
hhoffman at ip-solutions.net

-------------------------------------------------
This mail sent through IpSolutions: http://www.ip-solutions.net/





More information about the redhat-list mailing list