Re: Network config and domain name ?
Quoting John Gould (johng@skeletor.powinv.co.uk):
> Could someone please tell me if there is a tool in Debian to
> configure the permanent network parameters other than changing them
> temporarily with ifconfig or hacking /etc/init.d/network? Slackware has
> 'netconfig', is there a similar tool in Debian? Also does anyone know
> how the machine knows it's domain name, not the FQDN, just the domain
> name. i.e. if hostname returns 'skeletor' where does the 'powinv.co.uk'
> come from? Is it from resolv.conf via the DNS or is the domain name stored
> somewhere on the box?
I prefer to
cd /etc
rgrep -r domainname *
so that I pick up all (I hope) the odd places that this information
can be kept, e.g. dwww.conf, exim.conf, mailname, ntp.conf, and even
things like the kernel maintainer's email address which *might* need
changing as a result. Ditto for hostname and IP number changes.
> Finally is there a script that you can run like the install script to
> allow you to change the installed network card to a different
> manufacturer or do you just hack /etc/modules. I am running both
> 'slink' and 'potato' boxes. I believe the modules config changed from
> 'slink' to 'potato'.
I compile for all my card types and hack.
> Sorry about such a long post...
Hardly :)
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to: