Setting my machine's hostname

Setting my machine's hostname

Post by Jake Colma » Fri, 27 Aug 1999 04:00:00



How should my machine's hostname be set?  Is it supposed to be the FQDN or
just the base part?  In other words "jake.home.com" or "jake"?  I've tried it
both ways and either way seems to work but, in all cases, 'hostname -f' fails
with a lookup error.

I am not running DNS or NIS.

Thanx!

--
Jake Colman                    

Principia Partners LLC                  Phone: (201) 946-0300
Harborside Financial Center               Fax: (201) 946-0320
902 Plaza II                           Beeper: (800) 505-2795


                                          web: http://www.ppllc.com

 
 
 

Setting my machine's hostname

Post by Bernd Eckenfel » Fri, 27 Aug 1999 04:00:00



> How should my machine's hostname be set?  Is it supposed to be the FQDN or
> just the base part?  In other words "jake.home.com" or "jake"?  I've tried it
> both ways and either way seems to work but, in all cases, 'hostname -f' fails
> with a lookup error.

It doesnt realy matter... both works sometimes and sometimes not ...

 
 
 

Setting my machine's hostname

Post by Jake Colma » Fri, 27 Aug 1999 04:00:00



    >> How should my machine's hostname be set?  Is it supposed to be the
    >> FQDN or just the base part?  In other words "jake.home.com" or "jake"?
    >> I've tried it both ways and either way seems to work but, in all
    >> cases, 'hostname -f' fails with a lookup error.

    BE> It doesnt realy matter... both works sometimes and sometimes not ...

So it's expected that 'hostname -f' should fail?!

--
Jake Colman                    

Principia Partners LLC                  Phone: (201) 946-0300
Harborside Financial Center               Fax: (201) 946-0320
902 Plaza II                           Beeper: (800) 505-2795


                                          web: http://www.ppllc.com

 
 
 

Setting my machine's hostname

Post by Michael Kel » Sat, 28 Aug 1999 04:00:00





>    >> How should my machine's hostname be set?  Is it supposed to be the
>    >> FQDN or just the base part?  In other words "jake.home.com" or "jake"?
>    >> I've tried it both ways and either way seems to work but, in all
>    >> cases, 'hostname -f' fails with a lookup error.

>    BE> It doesnt realy matter... both works sometimes and sometimes not ...

>So it's expected that 'hostname -f' should fail?!

Hmmmmmmm, I always wondered what the '-f' parameter was for.
Now I know. :)

Mike

--

"Genius gives birth, talent delivers."

           -- Jack Kerouac

(Remove NOSPAM, if present, to reply via email)

 
 
 

1. dip says 'set HOSTNAME', but it's set

I'm trying to use the campus' SLIP dial in service.  According to
book, after I dial into the SLIP and get an IP address, I'm supposed
to come back to the local dip prompt and type 'mode SLIP'.  But
everytime I do this, dip responds with something like "set HOSTNAME"
first.  When I check HOSTNAME env variable in the Linux, it's set
to a name I used in the login script.  Anybody know what dip is
trying to get to here?  Thanks for any help

Ming
--
Ming Zuo                           Presently: Computer Sciences Corporation

The University of Chicago                     (303) 271-7751 (work)
                                                    352-5626 (home)

2. Linux port to cellular phone?

3. /bin/hostname -S won't set hostname

4. Red Hat 6.2 on Compaq 1800T

5. My hostname will not set; dip error "must set HOSTNAME first"

6. RedHat Linux 7.1 (mouse/modem) setup problem. Only one of them works at a time. Any Idea?

7. hostname: can't find a FQDN for the hostname 'froz'

8. Replace unsupported Buslogic SCSI HBA to get tape working

9. what should 'hostname' be set to?

10. Hostname set to '-s' after reboot with AIX 4.3.3.0

11. Hostname setting for standalone machine?

12. How to set a hostname for my machine?

13. How do I set a hostname for my machine?