Re: Should /etc/hostname contain the whole FQDN?

2007-08-31 Thread Douglas A. Tutty
would then possibly have more than one FQDN. > > "The host name is usually set once at system startup in > /etc/rc.d/rc.inet1 or /etc/init.d/boot (normally by reading the > contents of a file which contains the host name, e.g. /etc/hostname)" > > Those first 2 files

Re: Should /etc/hostname contain the whole FQDN?

2007-08-31 Thread Jeff D
On Fri, 31 Aug 2007, Jonathan Wilson wrote: Can anyone who /knows/ tell me what the proper officially correct ways of setting the hostname and the FQDN are, please? Thanks, JW -- in /etc/hostname : myhostname in /etc/hosts: 10.0.0.120 myhostname.mydomain.com myhostname set

Should /etc/hostname contain the whole FQDN?

2007-08-31 Thread Jonathan Wilson
I have been trying to find out the exact and proper way to set the host and domain name on Debian and it's clear as mud. Searching the internet gives all sorts of conflicting answers. First, I thought the way to do it was to put the FQDN in /etc/hostname. Then I ended up

Re: /etc/hostname /etc/dhclient.conf question

2006-05-30 Thread Grant Thomas
initely wrong. > Is there a Debian Way to synch both of these files? Is there a real reason to do so? Note that /etc/hostname must not represent the name on the current network. This is even impossible at times where more than one network is attached. I don't understand why the hostnam

Re: /etc/hostname /etc/dhclient.conf question

2006-05-24 Thread Hendrik Sattler
these files? Is there a real reason to do so? Note that /etc/hostname must not represent the name on the current network. This is even impossible at times where more than one network is attached. HS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: /etc/hostname /etc/dhclient.conf question

2006-05-23 Thread Grant Thomas
That's what I had to do. I use m4 to create the dhclient.conf file on boot. Thanks for the info. What is m4?

Re: /etc/hostname /etc/dhclient.conf question

2006-05-18 Thread Ryan Nowakowski
On Tue, May 16, 2006 at 08:40:09PM -0500, Grant Thomas wrote: > Quick question about the two files mentioned above. > > If I change my hostname, I also have to change a line in > /etc/dhclient.conf to update my hostname on the network. > > Is there a Debian Way to synch both of these files? > >

/etc/hostname /etc/dhclient.conf question

2006-05-16 Thread Grant Thomas
Quick question about the two files mentioned above. If I change my hostname, I also have to change a line in /etc/dhclient.conf to update my hostname on the network. Is there a Debian Way to synch both of these files? Or should I create a script that creates the /etc/dhclient.conf at boot befor

Re: /etc/hostname

2004-06-23 Thread Darryl Luff
David Fokkema wrote: On Mon, Jun 21, 2004 at 10:33:06PM +1000, Darryl Luff wrote: Tom Allison wrote: My /etc/hostname file contains only the machine name and not the FQDN of the machine. This is causing problems with procmail, squirrelmail and probably 50 other things out there. How do I set

Re: /etc/hostname

2004-06-21 Thread Vineet Kumar
* Tom Allison ([EMAIL PROTECTED])[20040620 19:41]: > My /etc/hostname file contains only the machine name and not the FQDN > of the machine. > > This is causing problems with procmail, squirrelmail and probably 50 > other things out there. > > How do I set this once and for al

Re: /etc/hostname

2004-06-21 Thread Kent West
Tom Allison wrote: My /etc/hostname file contains only the machine name and not the FQDN of the machine. This is causing problems with procmail, squirrelmail and probably 50 other things out there. How do I set this once and for all? And should it be a FQDN or just the machine name? I&#

Re: /etc/hostname

2004-06-21 Thread David Fokkema
On Mon, Jun 21, 2004 at 10:33:06PM +1000, Darryl Luff wrote: > Tom Allison wrote: > >My /etc/hostname file contains only the machine name and not the FQDN of > >the machine. > > > >This is causing problems with procmail, squirrelmail and probably 50 > >other thin

Re: /etc/hostname

2004-06-21 Thread Darryl Luff
Tom Allison wrote: My /etc/hostname file contains only the machine name and not the FQDN of the machine. This is causing problems with procmail, squirrelmail and probably 50 other things out there. How do I set this once and for all? And should it be a FQDN or just the machine name? I put both

/etc/hostname

2004-06-20 Thread Tom Allison
My /etc/hostname file contains only the machine name and not the FQDN of the machine. This is causing problems with procmail, squirrelmail and probably 50 other things out there. How do I set this once and for all? And should it be a FQDN or just the machine name? I'm actually thinki

hostname not reading /etc/hostname

1999-07-12 Thread Anthony Campbell
I've just noticed that hostname doesn't read /etc/hostname when called with the command "hostname --file /etc/hostname". This may be because I'm using kernel 2.2.10 in slink. I've had to modify /etc/rcS/d/S40hostname.sh to make it work. Anthony -- Anthony Campb

Re: /etc/hostname <-- FQDN?

1997-11-18 Thread john
Peter Prohaska writes: > do I have to put the FQDN in [/etc/hostname]? No. > And where is that information used for if I've got that /etc/hosts file > to handle local lookups. It tells your machine what its own name is. > If I have two interfaces with different IP-adds, it

Re: /etc/hostname <-- FQDN?

1997-11-18 Thread Olivier THARAN
On Mon, Nov 17, 1997 at 06:18:34PM +0100, Peter Prohaska wrote: > do I have to put the FQDN in here? In /etc/hostname, you just have to put the machine name, not the FQDN, eg machine. > And where is that information used for if I've got that /etc/hosts file > to handle local

/etc/hostname <-- FQDN?

1997-11-17 Thread Peter Prohaska
hi, do I have to put the FQDN in here? And where is that information used for if I've got that /etc/hosts file to handle local lookups. If I have two inferfaces with different IP-adds, it is also possible that my host is known with two different names, isn't it? So whats his hostname then? con

/etc/hostname, Contents?

1996-12-30 Thread Dr. Andreas Wehler
uot;, so the neat permission denied message. Now, I changed /etc/hostname to hold my full host name, and lprm works. The question is, as I remember a similar posting in the past about talk problems: --> What exactly has to be now in /etc/hostname? Is --> my correction correc