*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> mygate (5)              
Title
Content
Arch
Section
 

MYNAME(5)

Contents


NAME    [Toc]    [Back]

     myname, mygate - default hostname and gateway

SYNOPSIS    [Toc]    [Back]

     /etc/myname
     /etc/mygate

DESCRIPTION    [Toc]    [Back]

     The myname and mygate files are read by netstart(8) at  system startup
     time.

     /etc/myname  contains the symbolic name of the host machine.
The file
     should contain a single line specifying the fully  qualified
domain name
     (FQDN) of the system (e.g. host.example.com).  The name must
be resolvable,
 either by matching a hostname specified in  /etc/hosts
(see
     hosts(5)) or through DNS (see resolv.conf(5)).  The hostname
is set via
     the hostname(1) utility at boot time.  See hostname(7) for a
description
     of hostname resolution.

     /etc/mygate  contains the address of the gateway host, if it
exists.  The
     gateway is added to the routing tables by the route(8) utility.  If
     /etc/mygate  does  not exist, no default gateway is added to
the routing
     tables.  The file should contain a  single  line  specifying
the gateway address,
   in   dotted   quad   notation   (e.g.   192.0.2.0).
/etc/mygate is processed
 after all interfaces have been configured.   It  will
therefore
     override any DHCP-supplied default route information.

     Neither file may contain comments.

FILES    [Toc]    [Back]

     /etc/myname  Default hostname.
     /etc/mygate  Default gateway address.

SEE ALSO    [Toc]    [Back]

      
      
     hostname(1),  hosts(5),  resolv.conf(5),  hostname(7),  netstart(8), route(8)

HISTORY    [Toc]    [Back]

     This manual page first appeared in OpenBSD 3.4.

OpenBSD     3.6                           July      24,      2003
[ Back ]
 Similar pages
Name OS Title
Sys::Hostname IRIX Try every conceivable way to get hostname
hostname IRIX hostname resolution description
sys_id IRIX system identification (hostname) file
ypwhich IRIX print the NIS server or map master hostname
ypwhich OpenBSD return hostname of YP server or map master
ethers IRIX ethernet address to hostname database
ypwhich FreeBSD return hostname of YP server of map master
makeDotDesktop IRIX creates the $HOME/.desktop- directory
renamehost IRIX rename the existing hostname in NIS hosts database
amsysinfo IRIX print system serial number or full hostname/address
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service