-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 11 February 2003 06:00 am, Reinout van Schouwen wrote:
> Hi folks,
>
> Something I've been wanting to ask for a long time but keep forgetting
> (until now):
>
> Whenever I do an upgrade/reinstall of Mandrake, my /etc/hosts is reset to
> just the line for localhost.localdomain . Because I've named my machine
> something other than localhost this leads to all kinds of problems with
> proftpd and GNOME. The solution is fairly simple, just add a line to the
> hosts file with my machine name in it and it works.
>
> But for unexperienced users this could be a big hurdle. Is this behaviour
> of the installer a bug or a feature?
>
> Eager for your comments,

I used to do that, then when I got a laptop and went from having my ethernet 
dev up to having my wireless dev up and eth down there would be problems 
because they were different IP#'s, so here's what I've done for this purpose.

[junfan@kato junfan]$ cat /etc/hosts
127.0.0.1               kato.jeetkunedomaster.net kato localhost.localdomain 
localhost

put the fqdn hostname and hostname on the same line with localhost stuff so it 
always uses loopback.



- -- 
Jason Straight
[EMAIL PROTECTED]
icq: 1796276
pgp: http://www.JeetKuneDoMaster.net/~jason/pubkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iQCVAwUBPkjk+RFHZPcobeHxAQJ1EgQAl+a0QNoNOMX3UF4wdZRKJdd+hKVdvYEA
6htc6XxIWETZ6jctN2FGZQTiWxL47b3OGfhq1rOTALaiDkzTJ9EWy6RAsQ+NfkjB
rKpzkpvjWX7uLmYfKtXumpblkr+J09ybOEPl2mRIsueroSJ+iPls1iffCvKlIcoH
DG64x9Tl9a0=
=ZJi6
-----END PGP SIGNATURE-----


Reply via email to