[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hostname

>>"Greg" == Greg Green <greg@advantagecom.com> writes:

Greg> I am currently working just fine on my LAN, however, I need to
Greg> change my host name only. What files would I modify to do so?  I
Greg> know I need to change the /etc/hosts, but I do knot know what
Greg> others need to be changed.  Any input would be helpful.

	From a recent post by Nils Rennebarth:

>>"Nils" == Nils Rennebarth <nils@nus.de>  writes:

Nils> What did the trick for me:

Nils> 1) change /etc/hostname then say
Nils>    % hostname --file /etc/hostname
Nils> 2) change IP-address entry in /etc/hosts
Nils> 3) rerun sendmailconfig
Nils> 4) change /etc/resolv.conf if domain changed too
Nils> 5) change /etc/mailname

Nils> (Did I forget something?)

Nils> No reboot is necessary.

Nils> Nils

 This was the ultimate form of ostentation among technology freaks --
 to have a system so complete and sophisticated that nothing showed;
 no machines, no wires, no controls. Michael Swanwick, "Vacuum
Manoj Srivastava  <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: