Where to put dns server default gateway address ?

2002-02-10 Thread faisal gillani
Hello list 

i have just installed debian 2.2 on my system ..i was
very impress by the simple setup program 
configuration ... i only want to know where to put dns
server  default gateway address ?


thanks
Faisal newbie

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



Re: Where to put dns server default gateway address ?

2002-02-10 Thread Michel Loos
Em Dom, 2002-02-10 às 13:56, faisal gillani escreveu:
 Hello list 
 
 i have just installed debian 2.2 on my system ..i was
 very impress by the simple setup program 
 configuration ... i only want to know where to put dns
 server  default gateway address ?
 

DNS goes into /etc/resolv.conf

gateway into /etc/network/interfaces (if you have a static ip)
last line of the subgroup

iface eth0 inet static

is something like

gateway xxx.yyy.zzz.ttt

Michel
 
 thanks
 Faisal newbie
 
 __
 Do You Yahoo!?
 Send FREE Valentine eCards with Yahoo! Greetings!
 http://greetings.yahoo.com
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 




Re: Where to put dns server default gateway address ?

2002-02-10 Thread Bastiaan Naber
Hi,

All system wide configuration is done in the directory 
/etc. If your have a local network connection you 
wil have to edit /etc/network/interfaces for your 
ip, gateway, broadcast, netmask, etc. And you need to
edit /etc/resolv.conf for the dns nameservers. 

If you have ppp I think the procedure is different.
Afer making changes restart the network by running

/etc/init.d/networking restart

Cheers,
Bastiaan

On Sunday 10 February 2002 16:56, faisal gillani wrote:
 Hello list

 i have just installed debian 2.2 on my system ..i was
 very impress by the simple setup program 
 configuration ... i only want to know where to put dns
 server  default gateway address ?


 thanks
 Faisal newbie

 __
 Do You Yahoo!?
 Send FREE Valentine eCards with Yahoo! Greetings!
 http://greetings.yahoo.com



Re: Where to put dns server default gateway address ?

2002-02-10 Thread Ron Johnson
On Sun, 10 Feb 2002 07:56:10 -0800 (PST)
faisal gillani [EMAIL PROTECTED] wrote:

 Hello list 
 
 i have just installed debian 2.2 on my system ..i was
 very impress by the simple setup program 
 configuration ... i only want to know where to put dns
 server  default gateway address ?

Do you have a static IP or DHCP-served IP?  

If DHCP-served, then dhcp-client will do it all for you, including
creating the DNS file, as long as you have this in 
your /etc/network/interfaces :
  auto lo
  iface lo inet loopback
  auto eth0
  iface eth0 inet dhcp
Also, you must have a /etc/dhclient.conf file.  For someone
who used to be an @HOME cusomer, it looks something like this:
  interface eth0 {
  send host-name cx36001-a;
  }

If static, you must create /etc/network/interfaces yourself:
  auto lo
  iface lo inet loopback
  auto eth0
  iface eth0 inet static
address your.static.IP.address.provided.by.ISP
netmask netmask.provided.by.ISP
network ntwork.provided.by.ISP
broadcast broadcast.IP.address.provided.by.ISP
gateway gateway.IP.address.provided.by.ISP
You must also create /etc/resolv.conf:
  search ISP.domain.name
  nameserver IP.address.of.primary.DNS.server
  nameserver IP.address.of.secondary.DNS.server

Good luck...

-- 
++
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]|
| Jefferson, LA  USA  http://ronandheather.dhs.org:81|
||
!  As I like to joke, I may have invented it, but Microsoft |
|   made it popular David Bradley, regarding Ctrl-Alt-Del   |
++