[H-GEN] Setting gateway and dns in debian
Paul Clarke
paul at sitedynamics.com.au
Wed Sep 24 15:45:38 EDT 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
Thanks Robert,
It is so easy once you know the file names to edit.
Thanks
Paul
-----Original Message-----
From: Majordomo [mailto:majordom at caliburn.humbug.org.au] On Behalf Of
Robert Brockway
Sent: Thursday, 25 September 2003 4:23 AM
To: general at lists.humbug.org.au
Subject: Re: [H-GEN] Setting gateway and dns in debian
> I have installed a snapgear VPN Router. Prior to that I had the debian
> box accessing the internet via an xp box. How do I configure the
> debian box to use the snapgear as the gateway?
Look in /etc/network/interfaces. See the interfaces man page:
interfaces(1) for info on the format.
> According to the snapgear manual I also need to configure all
> connected PC's with my ISP's DNS, again where do I do this. The
> snapgear manual
As long as you aren't pickup up stuff via DHCP (which I'd say you
aren't) you can modify the nameservers in /etc/resolv.conf. Follow the
pattern already there. If DHCP is in use it will modify this file.
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list