Re: dhcp evils

From: Michael Hennebry (hennebry_at_web.cs.ndsu.nodak.edu)
Date: 04/18/05

  • Next message: Rahul Sundaram: "Re: multimedia licensing"
    Date: Mon, 18 Apr 2005 11:19:53 -0500 (CDT)
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Sun, 17 Apr 2005, Craig White wrote:

    > On Sun, 2005-04-17 at 12:44 -0500, Michael Hennebry wrote:
    > > On Sun, 17 Apr 2005, Craig White wrote:
    > >
    > > > On Sun, 2005-04-17 at 12:08 -0500, Michael Hennebry wrote:
    > > > > /etc/hosts contains only
    > > > > # Do not remove the following line, or various programs
    > > > > # that require network functionality will fail.
    > > > > 127.0.0.1 localhost.localdomain localhost
    > > > >
    > > > > I that infer my machine has not been getting its hostname through DNS.
    > > > >
    > > > > Is there a way to ask the system where it did get the hostname?
    > > > ----
    > > > cat /etc/sysconfig/network
    > >
    > > That gives me
    > > NETWORKING=yes
    > > HOSTNAME=localhost.localdomain
    > > which to me is not informative.
    > >
    > > > you can edit there if you wish - probably have to '/sbin/service network
    > > > restart' to get it to take though.
    > > >
    > > > My guess is that you named this machine when you did the original
    > > > install.
    > >
    > > Assuming I did so (it was orange and it tasted like orange juice),
    > > where would that information be stored?
    > ----
    > informative is a relative thing - one must also be able to comprehend
    > what is meant by the answer.
    >
    > In this case, your computer thinks its' name is 'localhost.localdomain'

    Actually my computer thinks its name is 'stmike'.
    That is what hostname tells me.
    If I give hostname arguments, it still gives me 'stmike'.

    > of course, doing it this way, it is only temporarily setting it. To
    > permanently set it, probably best to edit /etc/sysconfig/network.
    >
    > If you had permanently set a different hostname at install time, it
    > would have shown up there.

    It didn't show up there.

    I did a find from / to fgrep for stmike.
    Except for files in /home/hennebry I got
    /var/lib/slocate/slocate.db
    /var/lib/dhcp/dhclient-eth0.leases
    /var/log/messages
    /var/log/secure
    /var/log/maillog
    /var/log/cups/error_log
    /var/log/gdm/:0.log
    /var/log/gdm/:0.log.1
    /var/log/gdm/:0.log.2
    /var/log/gdm/:0.log.3
    /var/log/cron
    /var/log/boot.log
    /var/log/Xorg.0.log
    /var/log/Xorg.0.log.old
    /var/spool/mail/root
    /etc/printcap
    /root/.xauthTq8ojp
    /root/.bash_history
    /root/.xauthpQFsSW

    None of these seem like likely prospects.
    Even running as root, I did get several permission denied messages.

    -- 
    Mike   hennebry@web.cs.ndsu.NoDak.edu
    "I AM DEATH, NOT TAXES.  *I* ONLY TURN UP ONCE."  --  Death
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Rahul Sundaram: "Re: multimedia licensing"

    Relevant Pages

    • Re: Where did dhcp go?
      ... If my CD-R is big enough, reading that CD-R back would just ... that should be DHCP. ... Is a hostname of stmike evidence that it isn't running correctly? ...
      (comp.os.linux.setup)
    • SUMMARY: Bug in /usr/lib/netsvc/yp/ypstart
      ... I noticed that our NIS System doesn't allow a user to change ... You have to know that the `hostname` of this machine contains ... anything within the sun startup scripts. ... I will send the patch to sun and wait for an official patch from sun.. ...
      (SunManagers)
    • Re: Where did dhcp go?
      ... >> Until stmike showed up again, I could ssh to my computer. ... Ping yes, telnet no. ... > Then don't ask for a hostname in your dhcp setup. ... >> For some reason they both give the hostname stmike. ...
      (comp.os.linux.setup)
    • Re: Solairs TCP/IP Networking
      ... file...becuase if I want to connect to the Sun box from other network.. ... (WAN), I cannot do that right...so thought if I had a hostname, I can ... If I have a DNS server setup on my sun box and made an entry like ...
      (comp.unix.solaris)
    • Re: Microsoft DHCP
      ... I have a new Sun in a MS shop and that Sun is connected using DHCP, ... the problem is that after the IT staff changed the hostname the Sun will ... atleast figured out that the DHCP server is probably automatically ... updating the DNS server but how to I register the address from the Sun? ...
      (comp.unix.solaris)