Re: proper way to change ip and hostname
From: Thomas Hood (jdthood_at_aglu.demon.nl)
Date: 07/27/05
- Previous message: Graham Smith: "Re: Firefox Segmentation Fault"
- Maybe in reply to: Matthew Lenz: "proper way to change ip and hostname"
- Next in thread: Bob Proulx: "Re: proper way to change ip and hostname"
- Reply: Bob Proulx: "Re: proper way to change ip and hostname"
- Reply: Brian Kimball: "Re: proper way to change ip and hostname"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 27 Jul 2005 11:20:16 +0200 To: debian-user@lists.debian.org
Brian Kimball wrote:
> Others have already led you in the right direction. To summarize:
>
> 1) change IP address: edit interface information in
> /etc/network/interfaces
> 2) change hostname: edit /etc/hostname and /etc/hosts
> 3) update nameserver information in /etc/resolv.conf or
> /etc/network/interfaces if you use the resolvconf package.
Good
> But that only handles the bare minimum. You will also need to
> reconfigure any software that has your old hostname, IP address,
> netmask, network address, etc., hardcoded in its config files.
> In this case grepping everything in /etc is the only sure-fire
> way to remember what needs to be changed and what doesn't.
But in many cases the software should have been configured to
use "localhost" anyway, and this name -- the canonical hostname
corresponding to IP address 127.0.0.1, never changes.
Matthew Lenz wrote:
> The only other difference I could see is that etherconf puts
> the FQDN in /etc/hostname rather than just the host name.
Arrgh. I'll file a bug report about that. It is possible to
have a FQDN as one's system hostname, but this is not Debian
tradition and Debian configuration tools should be consistent.
-- Thomas Hood -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Graham Smith: "Re: Firefox Segmentation Fault"
- Maybe in reply to: Matthew Lenz: "proper way to change ip and hostname"
- Next in thread: Bob Proulx: "Re: proper way to change ip and hostname"
- Reply: Bob Proulx: "Re: proper way to change ip and hostname"
- Reply: Brian Kimball: "Re: proper way to change ip and hostname"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|