[clug-talk] hostname

Mitchell Brown mbgb14 at gmail.com
Mon May 8 10:00:46 PDT 2006


I haven't checked to see if it's there on my K/Ubuntu box yet, but I meant
it didn't exist on my PCLinuxOS box in the basement.


On 5/8/06, Gustin Johnson <gustin at echostar.ca> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Localhost should point to the 127.0.0.1 entry in /etc/hosts.  The actual
> host name usually points to the IP of the box.
>
> On my K/Ubuntu and Debian boxen, /etc/hostname exists for all of them,
> so something weird happened.
>
> The format of the /etc/hostname file is simple, just the short name, no
> options, no long domain names, nothing.
>
> The hosts file is a basically used to resolve names on the LAN, without
> using DNS.
>
> Once you have the hostname in the /etc/hostname file, reboot and all
> should be well.
>
> Cheers,
>
> Mitchell Brown wrote:
> > If I change it in /etc/hosts then localhost will no longer work if i
> > type in "http://localhost" will it. This sounds like a bad idea as
> > localhost should always point to the local machine, yes?
> >
> > On 5/8/06, *Darren L* <xlr8me at gmail.com <mailto:xlr8me at gmail.com>>
> wrote:
> >
> >     check the network config file.
> >
> >     check under /etc/hostname (if it exists)
> >
> >     check /etc/hosts
> >
> >
> >
> >     On 5/8/06, *Mitchell Brown* < mbgb14 at gmail.com
> >     <mailto:mbgb14 at gmail.com>> wrote:
> >
> >     Hi, sorry for frequent posting but this is something that has vexed
> >     me forever!
> >
> >     localhost being the hostname sucks. Now, I can goto a terminal and
> >     do "hostname mynewhostname" as root and it changes it. For that
> >     session. As soon as I reboot its back to localhost!!!! Why? How can
> >     I change it? I know in U/Kubuntu you set it during the install, and
> >     it actually sticks but thats the only distro so far that I've
> seen!!!
> >
> >     --
> >     pub 1024D/9091C422 02/05/2006 Mitchell Brown < mbgb14 at gmail.com
> >     <mailto:mbgb14 at gmail.com>>
> >         Primary key fingerprint:  812B 94BC EA0D 345A CC1C 2ED9 F7F6
> >     5CCF 9091 C422
> >
> >     _______________________________________________
> >     clug-talk mailing list
> >     clug-talk at clug.ca <mailto:clug-talk at clug.ca>
> >     http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> >     Mailing List Guidelines (http://clug.ca/ml_guidelines.php
> >     <http://clug.ca/ml_guidelines.php>)
> >     **Please remove these lines when replying
> >
> >
> >
> >     _______________________________________________
> >     clug-talk mailing list
> >     clug-talk at clug.ca <mailto:clug-talk at clug.ca>
> >     http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> >     Mailing List Guidelines (http://clug.ca/ml_guidelines.php
> >     <http://clug.ca/ml_guidelines.php>)
> >     **Please remove these lines when replying
> >
> >
> >
> >
> > --
> > pub 1024D/9091C422 02/05/2006 Mitchell Brown <mbgb14 at gmail.com
> > <mailto:mbgb14 at gmail.com>>
> >     Primary key fingerprint:  812B 94BC EA0D 345A CC1C 2ED9 F7F6 5CCF
> > 9091 C422
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > clug-talk mailing list
> > clug-talk at clug.ca
> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> > **Please remove these lines when replying
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEX3hbwRXgH3rKGfMRAuohAJ43VimfDDlgqcleHUks7KLDqMlgNACfVIMS
> uJdxNR/g6acvEqEuF5bw4oQ=
> =ohUT
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> clug-talk mailing list
> clug-talk at clug.ca
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>



--
pub 1024D/9091C422 02/05/2006 Mitchell Brown <mbgb14 at gmail.com>
    Primary key fingerprint:  812B 94BC EA0D 345A CC1C 2ED9 F7F6 5CCF 9091
C422
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://clug.ca/pipermail/clug-talk_clug.ca/attachments/20060508/c353e573/attachment-0001.htm


More information about the clug-talk mailing list