[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: ****Re: ****Re: ****OT?: Now mysteriously have a hostname
From:       Fennix <cn.stefan () gmail ! com>
Date:       2008-03-31 19:56:07
Message-ID: 4c8bf4c30803311256j59215e29r3de78cd9f66b96f5 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Mon, Mar 31, 2008 at 7:55 AM, Craig White <craigwhite@azapple.com> wrote:

> On Mon, 2008-03-31 at 06:31 +0800, Fennix wrote:
> > On Mon, Mar 31, 2008 at 6:15 AM, Craig White <craigwhite@azapple.com>
> > wrote:
> >         On Mon, 2008-03-31 at 05:56 +0800, Fennix wrote:
> >         > On Mon, Mar 31, 2008 at 5:55 AM, Fennix
> >         <cn.stefan@gmail.com> wrote:
> >         >         [root@bogon log]# cat /etc/sysconfig/network
> >         >         NETWORKING=yes
> >         >         HOSTNAME=localhost.localdomain
> >         >         [root@bogon log]#
> >         >
> >         >
> >         >         On Mon, Mar 31, 2008 at 5:50 AM, Craig White
> >         >         <craigwhite@azapple.com> wrote:
> >         >                 On Mon, 2008-03-31 at 05:44 +0800, Fennix
> >         wrote:
> >         >                 > I noticed today in my terminal window I
> >         now have a
> >         >                 host name of
> >         >                 > "bogon".  I had never set a hostname for
> >         my Fedora8
> >         >                 home system.  I
> >         >                 > can see from my logwatch and cron system
> >         mails that
> >         >                 the delivery to
> >         >                 > this host name started March 25th but none
> >         of my
> >         >                 mails shows anything
> >         >                 > that seems relevant to what has set this
> >         hostname.
> >         >                  Oddly on the 26th
> >         >                 > the system mails were addresses again to
> >         >                 localhost.localdomain but
> >         >                 > again reverted on the 27th to being
> >         addresses to
> >         >                 bogon.  I have
> >         >                 > checked the man pages on the hostname
> >         command to
> >         >                 locate where the name
> >         >                 > is defined.  Have checked the
> >         >                 >
> >         files /etc/host, /etc/hosts.conf, /etc/hostname
> >         >                 (does not
> >         >                 > exist), /etc/nsswitch.conf, ... but this
> >         name does
> >         >                 not show in any of
> >         >                 > the files I have looked at so far.  Any
> >         ideas where
> >         >                 to look further?
> >         >                 > I am now wondering whether my system has
> >         been
> >         >                 compromised somehow...
> >         >                 > Googleing the word bogon shows me the
> >         meaning of of
> >         >                 bogon which does
> >         >                 > not seem helpful in this case.
> >         >                 >
> >         >                 > Checking /var/log/messages-20080330 shows
> >         the use of
> >         >                 this hostname
> >         >                 > with a reboot I had done on the 24th.
> >          Still cannot
> >         >                 see where or how
> >         >                 > this was set.
> >         >                 ----
> >         >                 what is output of?
> >         >
> >         >                 cat /etc/sysconfig/network
> >         >
> >         >                 Craig
> >         >
> >         > Ooops....
> >         >
> >         >
> >         > [root@bogon log]# cat /etc/sysconfig/network
> >         > NETWORKING=yes
> >         > HOSTNAME=localhost.localdomain
> >         ----
> >         sounds as if the name is attached to either:
> >         - NetworkManager and since I don't use it, I don't know where
> >         it might
> >         store supplemental settings...
> >         - the configuration of the device itself
> >         - in some script that sets the name somewhere.
> >
> >         is this system using DHCP to get its ip address?
> >         if so, what is ouput of...
> >         /etc/dhclient-eth0.conf
> >
> >         I think that if the hostname is 'reset', it should be
> >         reflected in
> >         syslog...
> >         what is output of...
> >         grep Host /var/log/messages
> >
> >         Might it be set in /etc/rc.d/rc.local?
> >         tail /etc/rc.d/rc.local # should look very much like this and
> >         anything
> >                                # additional might be a script that
> >         sets it
> >         #!/bin/sh
> >         #
> >         # This script will be executed *after* all the other init
> >         scripts.
> >         # You can put your own initialization stuff in here if you
> >         don't
> >         # want to do the full Sys V style init stuff.
> >
> >         touch /var/lock/subsys/local
> >
> >         Craig
> >
> >         --
> >         fedora-list mailing list
> >         fedora-list@redhat.com
> >         To unsubscribe:
> >         https://www.redhat.com/mailman/listinfo/fedora-list
> >
> >
> >
> > Hi Craig,
> >
> > Yes this pc does get its address using DHCP but the
> > file /etc/dhclient-eth0.conf does not exist in etc.  The only file
> > name starting with dhcp is dhcpd.conf and the contents appear to be a
> > generic sample.
> >
> > The output from /var/log/messages is as follows:
> >
> > [root@bogon log]# grep Host /var/log/messages-20080323
> > Mar 17 13:05:07 localhost kernel: ehci_hcd 0000:00:1d.7: EHCI Host
> > Controller
> > Mar 17 13:05:07 localhost kernel: USB Universal Host Controller
> > Interface driver v3.0
> > Mar 17 13:05:07 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host
> > Controller
> > Mar 17 13:05:07 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host
> > Controller
> > Mar 17 13:05:07 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host
> > Controller
> > Mar 17 13:05:07 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host
> > Controller
> > Mar 17 13:05:13 localhost avahi-daemon[2362]: Server startup complete.
> > Host name is linux.local. Local service cookie is 2257381510.
> > Mar 19 02:13:53 localhost kernel: ehci_hcd 0000:00:1d.7: EHCI Host
> > Controller
> > Mar 19 02:13:53 localhost kernel: USB Universal Host Controller
> > Interface driver v3.0
> > Mar 19 02:13:53 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host
> > Controller
> > Mar 19 02:13:53 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host
> > Controller
> > Mar 19 02:13:53 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host
> > Controller
> > Mar 19 02:13:53 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host
> > Controller
> > Mar 19 02:13:59 localhost avahi-daemon[2362]: Server startup complete.
> > Host name is linux.local. Local service cookie is 1223127342.
> > [root@bogon log]# grep Host /var/log/messages-20080330
> > Mar 24 04:52:18 bogon kernel: ehci_hcd 0000:00:1d.7: EHCI Host
> > Controller
> > Mar 24 04:52:18 bogon kernel: USB Universal Host Controller Interface
> > driver v3.0
> > Mar 24 04:52:18 bogon kernel: uhci_hcd 0000:00:1d.0: UHCI Host
> > Controller
> > Mar 24 04:52:18 bogon kernel: uhci_hcd 0000:00:1d.1: UHCI Host
> > Controller
> > Mar 24 04:52:18 bogon kernel: uhci_hcd 0000:00:1d.2: UHCI Host
> > Controller
> > Mar 24 04:52:18 bogon kernel: uhci_hcd 0000:00:1d.3: UHCI Host
> > Controller
> > Mar 24 04:52:24 bogon avahi-daemon[2398]: Server startup complete.
> > Host name is bogon.local. Local service cookie is 3193077034.
> > Mar 26 01:25:32 localhost kernel: ehci_hcd 0000:00:1d.7: EHCI Host
> > Controller
> > Mar 26 01:25:32 localhost kernel: USB Universal Host Controller
> > Interface driver v3.0
> > Mar 26 01:25:32 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host
> > Controller
> > Mar 26 01:25:32 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host
> > Controller
> > Mar 26 01:25:32 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host
> > Controller
> > Mar 26 01:25:32 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host
> > Controller
> > Mar 26 01:25:36 localhost avahi-daemon[2319]: Server startup complete.
> > Host name is linux.local. Local service cookie is 1396103600.
> > Mar 27 13:35:16 bogon kernel: ehci_hcd 0000:00:1d.7: EHCI Host
> > Controller
> > Mar 27 13:35:16 bogon kernel: USB Universal Host Controller Interface
> > driver v3.0
> > Mar 27 13:35:16 bogon kernel: uhci_hcd 0000:00:1d.0: UHCI Host
> > Controller
> > Mar 27 13:35:16 bogon kernel: uhci_hcd 0000:00:1d.1: UHCI Host
> > Controller
> > Mar 27 13:35:16 bogon kernel: uhci_hcd 0000:00:1d.2: UHCI Host
> > Controller
> > Mar 27 13:35:16 bogon kernel: uhci_hcd 0000:00:1d.3: UHCI Host
> > Controller
> > Mar 27 13:35:22 bogon avahi-daemon[2381]: Server startup complete.
> > Host name is bogon.local. Local service cookie is 2714176635.
> > [root@bogon log]# grep Host /var/log/messages
> > Mar 31 04:32:20 bogon kernel: ehci_hcd 0000:00:1d.7: EHCI Host
> > Controller
> > Mar 31 04:32:20 bogon kernel: USB Universal Host Controller Interface
> > driver v3.0
> > Mar 31 04:32:20 bogon kernel: uhci_hcd 0000:00:1d.0: UHCI Host
> > Controller
> > Mar 31 04:32:20 bogon kernel: uhci_hcd 0000:00:1d.1: UHCI Host
> > Controller
> > Mar 31 04:32:20 bogon kernel: uhci_hcd 0000:00:1d.2: UHCI Host
> > Controller
> > Mar 31 04:32:20 bogon kernel: uhci_hcd 0000:00:1d.3: UHCI Host
> > Controller
> > Mar 31 04:32:25 bogon avahi-daemon[2339]: Server startup complete.
> > Host name is bogon.local. Local service cookie is 4272874820.
> >
> > Running tail /etc/rc.d/rc.local gives me identical results to your
> > sample.
> >
> > Thank you very much for your suggestions. Not clear on the meaning of
> > the output from messages....The host name should not be derived from
> > the computer hardware/firmware.
> ----
> I'm thinking that the name must be coming from your dhcp server or from
> the config file for the network adaptor...
>
> what is output of?
> grep HOST /etc/sysconfig/network-scripts/ifcfg-eth0
>
> what is providing DHCP to this system?
>
> Craig
>
> --
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


Hi Craig,

Still have not determined the cause of the hostname becoming set.  My
suspicion now is that it might be DHCP.  I have now reset the hostname by
setting up the /etc/hostname file then running "hostname -F /etc/hostname".
I wish I could have determined the cause of this but if what I have done is
permanent then I will live with that.
  Thank you again for your help.

Fennix

PS:  Thank you to kalinux as well for your suggestion.  The avahi daemon was
running so I have stopped that service (since it definitely is unnecessary)
but after rebooting I still did have the bogon hostname for my system.  I
have overridden the name using the hostname command and making a hostname
file.

[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">On Mon, Mar 31, 2008 at 7:55 AM, Craig White &lt;<a \
href="mailto:craigwhite@azapple.com">craigwhite@azapple.com</a>&gt; \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On Mon, 2008-03-31 at 06:31 \
+0800, Fennix wrote:<br> &gt; On Mon, Mar 31, 2008 at 6:15 AM, Craig White &lt;<a \
href="mailto:craigwhite@azapple.com">craigwhite@azapple.com</a>&gt;<br> &gt; \
wrote:<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; On Mon, 2008-03-31 at 05:56 +0800, Fennix \
wrote:<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; On Mon, Mar 31, 2008 at 5:55 AM, \
Fennix<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a \
href="mailto:cn.stefan@gmail.com">cn.stefan@gmail.com</a>&gt; wrote:<br> &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; [root@bogon log]# cat \
/etc/sysconfig/network<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; \
&nbsp; NETWORKING=yes<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; \
&nbsp; HOSTNAME=localhost.localdomain<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; \
&nbsp; &nbsp; &nbsp; &nbsp; [root@bogon log]#<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; \
&gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; On Mon, Mar 31, \
2008 at 5:50 AM, Craig White<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &lt;<a \
href="mailto:craigwhite@azapple.com">craigwhite@azapple.com</a>&gt; wrote:<br> &gt; \
&nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; On Mon, 2008-03-31 at 05:44 +0800, Fennix<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; \
wrote:<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &gt; I noticed today in my terminal window I<br> &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; now have a<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; host name of<br> &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; \
&quot;bogon&quot;. &nbsp;I had never set a hostname for<br> &gt; &nbsp; &nbsp; &nbsp; \
&nbsp; my Fedora8<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; home system. &nbsp;I<br> &gt; &nbsp; &nbsp; &nbsp; \
&nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; can see from \
my logwatch and cron system<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; mails that<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; the delivery to<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; this host name started March 25th but \
none<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; of my<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; mails shows anything<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; that seems relevant to what has \
set this<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; hostname.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;Oddly on the 26th<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; the system mails were \
addresses again to<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; localhost.localdomain but<br> &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; again \
reverted on the 27th to being<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; addresses to<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; bogon. &nbsp;I have<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; checked the man pages on the \
hostname<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; command to<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; locate where the name<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; is defined. &nbsp;Have checked \
the<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; files /etc/host, \
/etc/hosts.conf, /etc/hostname<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (does not<br> &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; \
exist), /etc/nsswitch.conf, ... but this<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; name \
does<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; not show in any of<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; the files I have looked \
at so far. &nbsp;Any<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; ideas where<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; to look further?<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; I am now wondering whether my \
system has<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; been<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; compromised somehow...<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Googleing the word bogon shows \
me the<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; meaning of of<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; bogon which does<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; not seem helpful in this \
case.<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Checking /var/log/messages-20080330 \
shows<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; the use of<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; this hostname<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; with a reboot I had done on the \
24th.<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Still cannot<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; see where or how<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; this was set.<br> &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
----<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; what is output of?<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; cat /etc/sysconfig/network<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; \
&gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; Craig<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Ooops....<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; [root@bogon log]# cat \
/etc/sysconfig/network<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; NETWORKING=yes<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; HOSTNAME=localhost.localdomain<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; ----<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; sounds as if the name is attached to either:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; - NetworkManager and since I don&#39;t use it, I \
don&#39;t know where<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; it might<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; store supplemental settings...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; - the configuration of the device itself<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; - in some script that sets the name somewhere.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; is this system using DHCP to get its ip address?<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; if so, what is ouput of...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; /etc/dhclient-eth0.conf<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; I think that if the hostname is &#39;reset&#39;, it \
should be<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; reflected in<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; syslog...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; what is output of...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; grep Host /var/log/messages<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Might it be set in /etc/rc.d/rc.local?<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; tail /etc/rc.d/rc.local # should look very much like \
this and<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; anything<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# additional might be a script that<br> &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; sets it<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; #!/bin/sh<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; #<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; # This script will be executed *after* all the other \
init<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; scripts.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; # You can put your own initialization stuff in here \
if you<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; don&#39;t<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; # want to do the full Sys V style init stuff.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; touch /var/lock/subsys/local<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Craig<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; --<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; fedora-list mailing list<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a \
href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br> &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; To unsubscribe:<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; <a \
href="https://www.redhat.com/mailman/listinfo/fedora-list" \
target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br> &gt;<br>
&gt;<br>
&gt;<br>
&gt; Hi Craig,<br>
&gt;<br>
&gt; Yes this pc does get its address using DHCP but the<br>
&gt; file /etc/dhclient-eth0.conf does not exist in etc. &nbsp;The only file<br>
&gt; name starting with dhcp is dhcpd.conf and the contents appear to be a<br>
&gt; generic sample.<br>
&gt;<br>
&gt; The output from /var/log/messages is as follows:<br>
&gt;<br>
&gt; [root@bogon log]# grep Host /var/log/messages-20080323<br>
&gt; Mar 17 13:05:07 localhost kernel: ehci_hcd 0000:00:1d.7: EHCI Host<br>
&gt; Controller<br>
&gt; Mar 17 13:05:07 localhost kernel: USB Universal Host Controller<br>
&gt; Interface driver v3.0<br>
&gt; Mar 17 13:05:07 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 17 13:05:07 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 17 13:05:07 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 17 13:05:07 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 17 13:05:13 localhost avahi-daemon[2362]: Server startup complete.<br>
&gt; Host name is linux.local. Local service cookie is 2257381510.<br>
&gt; Mar 19 02:13:53 localhost kernel: ehci_hcd 0000:00:1d.7: EHCI Host<br>
&gt; Controller<br>
&gt; Mar 19 02:13:53 localhost kernel: USB Universal Host Controller<br>
&gt; Interface driver v3.0<br>
&gt; Mar 19 02:13:53 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 19 02:13:53 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 19 02:13:53 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 19 02:13:53 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 19 02:13:59 localhost avahi-daemon[2362]: Server startup complete.<br>
&gt; Host name is linux.local. Local service cookie is 1223127342.<br>
&gt; [root@bogon log]# grep Host /var/log/messages-20080330<br>
&gt; Mar 24 04:52:18 bogon kernel: ehci_hcd 0000:00:1d.7: EHCI Host<br>
&gt; Controller<br>
&gt; Mar 24 04:52:18 bogon kernel: USB Universal Host Controller Interface<br>
&gt; driver v3.0<br>
&gt; Mar 24 04:52:18 bogon kernel: uhci_hcd 0000:00:1d.0: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 24 04:52:18 bogon kernel: uhci_hcd 0000:00:1d.1: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 24 04:52:18 bogon kernel: uhci_hcd 0000:00:1d.2: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 24 04:52:18 bogon kernel: uhci_hcd 0000:00:1d.3: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 24 04:52:24 bogon avahi-daemon[2398]: Server startup complete.<br>
&gt; Host name is bogon.local. Local service cookie is 3193077034.<br>
&gt; Mar 26 01:25:32 localhost kernel: ehci_hcd 0000:00:1d.7: EHCI Host<br>
&gt; Controller<br>
&gt; Mar 26 01:25:32 localhost kernel: USB Universal Host Controller<br>
&gt; Interface driver v3.0<br>
&gt; Mar 26 01:25:32 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 26 01:25:32 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 26 01:25:32 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 26 01:25:32 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 26 01:25:36 localhost avahi-daemon[2319]: Server startup complete.<br>
&gt; Host name is linux.local. Local service cookie is 1396103600.<br>
&gt; Mar 27 13:35:16 bogon kernel: ehci_hcd 0000:00:1d.7: EHCI Host<br>
&gt; Controller<br>
&gt; Mar 27 13:35:16 bogon kernel: USB Universal Host Controller Interface<br>
&gt; driver v3.0<br>
&gt; Mar 27 13:35:16 bogon kernel: uhci_hcd 0000:00:1d.0: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 27 13:35:16 bogon kernel: uhci_hcd 0000:00:1d.1: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 27 13:35:16 bogon kernel: uhci_hcd 0000:00:1d.2: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 27 13:35:16 bogon kernel: uhci_hcd 0000:00:1d.3: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 27 13:35:22 bogon avahi-daemon[2381]: Server startup complete.<br>
&gt; Host name is bogon.local. Local service cookie is 2714176635.<br>
&gt; [root@bogon log]# grep Host /var/log/messages<br>
&gt; Mar 31 04:32:20 bogon kernel: ehci_hcd 0000:00:1d.7: EHCI Host<br>
&gt; Controller<br>
&gt; Mar 31 04:32:20 bogon kernel: USB Universal Host Controller Interface<br>
&gt; driver v3.0<br>
&gt; Mar 31 04:32:20 bogon kernel: uhci_hcd 0000:00:1d.0: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 31 04:32:20 bogon kernel: uhci_hcd 0000:00:1d.1: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 31 04:32:20 bogon kernel: uhci_hcd 0000:00:1d.2: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 31 04:32:20 bogon kernel: uhci_hcd 0000:00:1d.3: UHCI Host<br>
&gt; Controller<br>
&gt; Mar 31 04:32:25 bogon avahi-daemon[2339]: Server startup complete.<br>
&gt; Host name is bogon.local. Local service cookie is 4272874820.<br>
&gt;<br>
&gt; Running tail /etc/rc.d/rc.local gives me identical results to your<br>
&gt; sample.<br>
&gt;<br>
&gt; Thank you very much for your suggestions. Not clear on the meaning of<br>
&gt; the output from messages....The host name should not be derived from<br>
&gt; the computer hardware/firmware.<br>
----<br>
I&#39;m thinking that the name must be coming from your dhcp server or from<br>
the config file for the network adaptor...<br>
<br>
what is output of?<br>
grep HOST /etc/sysconfig/network-scripts/ifcfg-eth0<br>
<br>
what is providing DHCP to this system?<br>
<br>
Craig<br>
<font color="#888888"><br>
--<br>
fedora-list mailing list<br>
<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>
To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" \
target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br> \
</font></blockquote></div><br><br>Hi Craig,<br><br>Still have not determined the \
cause of the hostname becoming set.&nbsp; My suspicion now is that it might be \
DHCP.&nbsp; I have now reset the hostname by setting up the /etc/hostname file then \
running &quot;hostname -F /etc/hostname&quot;.&nbsp; I wish I could have determined \
the cause of this but if what I have done is permanent then I will live with \
that.<br> &nbsp; Thank you again for your help.<br><br>Fennix<br><br>PS:&nbsp; Thank \
you to kalinux as well for your suggestion.&nbsp; The avahi daemon was running so I \
have stopped that service (since it definitely is unnecessary) but after rebooting I \
still did have the bogon hostname for my system.&nbsp; I have overridden the name \
using the hostname command and making a hostname file.<br>



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic