Hi,
 
Here is a really basic question; how is the hostname defined in modern Linux
distributions?  Generally this is done for us by the installer, so we don't have
to know how to do it, other than fill in the name of the PC into the box
provided.
 
The reason I'm asking is that I've just spent about a week (off and on) trying
to get DHCP and DNS to work on a Tiny Core Installation.  I cracked it about
half an hour ago, when I discovered that the hostname file had one thing in it
('Myname', which I had written there) and the output of the command 'hostname'
gave 'box', which is the default for TC.  I had to add the bootcode
host='Myname' to get the right answer and then my DNS server started answering
requests for pings etc to 'Myname'.
 
Maybe my memory is faulty, but my recollection of doing this on earlier Unix
systems, (like Solaris), is that the hostname went into the file called hostname
(or similar) and that did it (after a reboot).  Is that right, or should I be
worried about my powers of recall?
Terry Coles
--
Next meeting:  Bournemouth, Tuesday 2011-04-05 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to