Re: How to change machine+machine name and ip-address in Debian?

2000-08-20 Thread Philipp Schulte
On Sun, Aug 20, 2000 at 12:37:28PM +0200, Magnus Ericson wrote:

 I am new to Linux and Debian and needs to find out how to change the name
 (both machine and domain) and ip-address.

I think you are looking for these files:
/etc/hostname
/etc/hosts
/etc/network/interfaces

Phil



Re: How to change machine+machine name and ip-address in Debian?

2000-08-20 Thread Rogerio Brito
On Aug 20 2000, Magnus Ericson wrote:
 I am new to Linux and Debian and needs to find out how to change the
 name (both machine and domain) and ip-address.

To change these parameters of your machine, edit the following
files:

/etc/hostname
/etc/hosts
/etc/init.d/network (if you use slink aka Debian 2.1)
/etc/network/interfaces (if you use potato aka Debian 2.2)

I guess that these should be the first places where you should
take a look at.

You might also like to change other places like:

/etc/resolv.conf
/etc/host.conf

 Regards
 Magnus

Hope this helps, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
 Nectar homepage: http://www.linux.ime.usp.br/~rbrito/nectar/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



RE: How to change machine+machine name and ip-address in Debian?

2000-08-20 Thread Andrew McRobert
... you could also use the following commands instead of editing all the
files:

yourputer@ hostname [type hostname]
yourputer@ ifconfig eth0 [your ip] netmask [type netmask] broadcast [type
brdcst add.]

... I'm not familiar with a command to change your nameservers (I'm sure
there wld be one though), so you'll probably need to manually edit
/etc/resolv.conf to change those (if necessary).

cheers
Andrew

-
Andrew McRobert LLB B.Sc(Comp. Sci)
IT Liaison Officer, School of Law
MURDOCH UNIVERSITY
Perth, Western Australia
Ph: [+61 8 9360 6479]
Fax: [+61 8 9310 6671]
e-mail: [EMAIL PROTECTED]
Linux: The Choice of a GNU Generation


-Original Message-
From: Rogerio Brito [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 20, 2000 7:03 PM
To: debian-user@lists.debian.org
Subject: Re: How to change machine+machine name and ip-address in
Debian?


On Aug 20 2000, Magnus Ericson wrote:
 I am new to Linux and Debian and needs to find out how to change the
 name (both machine and domain) and ip-address.

To change these parameters of your machine, edit the following
files:

/etc/hostname
/etc/hosts
/etc/init.d/network (if you use slink aka Debian 2.1)
/etc/network/interfaces (if you use potato aka Debian 2.2)

I guess that these should be the first places where you should
take a look at.

You might also like to change other places like:

/etc/resolv.conf
/etc/host.conf

 Regards
 Magnus

Hope this helps, Roger...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
 Nectar homepage: http://www.linux.ime.usp.br/~rbrito/nectar/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null