On Monday, 25.07.2005 at 23:19 -0700, Paul Scott wrote: > Matthew Lenz wrote: > > >rather than grep xarging /etc for occurances of the ip and hostname > >is there a proper "debian way" of changing them? > > Editing /etc/hosts ? That won't change the machine's IP. The Correct Way to change a machine IP configuration and hostname is by doing: dpkg-reconfigure etherconf (or apt-get install etherconf, if it's not installed) This will ask you various questions about your setup and IP config, and write results to all the pertinent files under /etc, such as /etc/hosts, /etc/network/interfaces etc. Cheers, Dave. -- Please don't CC me on list messages! ... Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.org All email from me is now digitally signed, key from http://www.sungate.co.uk/ Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
Attachment:
signature.asc
Description: Digital signature