Re: Network config...why so many??
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A long time ago, in a galaxy far, far way, someone said...
> Hi all, I'm just curious. why are there so many files that apparently
> hold the same information? I thought the network configuration were
> kept in files hosts, hostname, gateways, route.something, and a few
> others that I can't think of the names.. now there's this file called
> interfaces?
There are really only two or three files that you need to pay attention
to.
1) /etc/hostname
2) /etc/hosts
3) /etc/network/interfaces
/etc/hostname is the computer's name
/etc/hosts is a local name database
/etc/network/interfaces contains
I've never needed to use /etc/gateways and I don't have any /etc/route.*
files
> how will I know which files to change and which ones not to change?
Experience and asking people questions
> I have been looking through many many books and docs and this is the
> first time I've heard of the interfaces file.
It's specific to Debian. Besides, most of those books are specific to
RedHat.
> why have all of the other files if everything can be configured in
> this one interfaces file?
But that would make it too easy :)
- --
- ----------------------------------------------------------------------
Phil Brutsche pbrutsch@tux.creighton.edu
GPG fingerprint: 9BF9 D84C 37D0 4FA7 1F2D 7E5E FD94 D264 50DE 1CFC
GPG key id: 50DE1CFC
GPG public key: http://tux.creighton.edu/~pbrutsch/gpg-public-key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6SLTk/ZTSZFDeHPwRAoqnAKCNoopwxjwziOaWsmNyV33jGaE4MgCffPUh
AsB/ddOJ0zJpuc11P/7fodU=
=9dOO
-----END PGP SIGNATURE-----
Reply to: