Well... it won't solve the problem of not really knowing how the hostname is set but changing the DNS entry -- forward and reverse -- to the desired hostname seems like it might work if you uncomment the 'NEEDHOSTNAME=yes' line again. Might want to check /etc/hosts too, if you haven't already. Sorry, not really a mandrake guy. :-/ -hp3 On Fri, 2003-09-26 at 12:51, Johnny Fulcrum wrote: > On Fri, 26 Sep 2003 10:31:20 -0500, Harry Penner <hpenner at cbca.com> wrote: > > > Is it possible it's grabbing the hostname from DNS? What does the DNS > > entry for its IP address say? > > > > [root at userimage kernel]# host 10.1.103.74 > 74.103.1.10.in-addr.arpa domain name pointer userimage.retek.int. > 74.103.1.10.in-addr.arpa domain name pointer msppc1210.retek.int. > > > both... > > > > -hp3 > > > > On Fri, 2003-09-26 at 10:18, Johnny Fulcrum wrote: > >> On Fri, 26 Sep 2003 06:45:19 -0500, Dave Sherman > >> <dsherman at real-time.com> > >> wrote: > >> > >> > Johnny Fulcrum wrote: > >> > [snip] > >> >> /etc/network/ > >> >> > >> >> /etc/sysconfig/network has teh proper HOSTNAME and NETWORKING=yes > >> >> (that's all this file contains. > >> > > >> > This is normal. This is also where your hostname is set, as you saw. > >> > > >> >> so I started going though some files and I see this: > >> > > >> >> /etc/sysconfig/network-scripts/ifcfg-eth0: > >> >> > >> >> DEVICE=eth0 > >> >> > >> >> BOOTPROTO=dhcp > >> >> > >> >> ONBOOT=yes > >> >> > >> >> NEEDHOSTNAME=yes > >> >> > >> >> The NEEDHOSTNAME seems fishy to me... > >> >> > >> >> can I comment out that line and restart netork? > >> > > >> > Just change the yes to a no. You can also set a different hostname > >> here > >> > if you want (some people use a different hostname for each NIC, or > >> > perhaps for other purposes), with the HOSTNAME line like the one you > >> saw > >> > in /etc/sysconfig/network. > >> > > >> no love yet... > >> > >> Changed yes to NO and put a HOSTNAME line in here. Rebooted and came > >> back > >> with the msppc1210 hostname > >> > >> I then saw that /etc/sysconfig/networking had a ifcfg-lo file and that > >> /etc/sysconfig/network-scripts/ifcfg-lo was a link back to > >> /etc/sysconfig/networking/ifcfg-lo > >> > >> I then moved /etc/sysconfig/network-scripts/ifcfg-eth0 to > >> /etc/sysconfig/networking/ifcfg-eth0 and made a link link ifcfg-lo has > >> > >> I rebooted and then the hostname was userimage. Crap. > >> > >> I'm now searching the whole system for files containing msppc1210 or > >> userimage > >> > >> > >> >> OR > >> >> > >> >> how do you set hostname without using GUI tools (that seem to bork > >> the > >> >> system up..) > >> > > >> > It's already set in /etc/sysconfig/network, as you saw above. > >> > > >> > >> > >> > >> _______________________________________________ > >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > >> http://www.mn-linux.org tclug-list at mn-linux.org > >> https://mailman.real-time.com/mailman/listinfo/tclug-list > >> > > > > > > _______________________________________________ > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > http://www.mn-linux.org tclug-list at mn-linux.org > > https://mailman.real-time.com/mailman/listinfo/tclug-list > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.real-time.com/mailman/listinfo/tclug-list > _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list