[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Re: FQDN v. localhost



arrakis ~ # 
arrakis ~ # cat /etc/conf.d/net 
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
iface_eth1="dhcp"
dhcpcd_eth1=""
arrakis ~ # 
arrakis ~ # cat /etc/conf.d/hostname 
#HOSTNAME="livecd"
#HOSTNAME="localhost arrakis.doesntexist.org"
HOSTNAME="arrakis"
#HOSTNAME="localhost"
arrakis ~ # 
arrakis ~ # cat /etc/hosts 
# /etc/hosts: Local Host Database
#
# This file describes a number of aliases-to-address mappings for the for 
# local hosts that share this file.
#
# In the presence of the domain name service or NIS, this file may not be 
# consulted at all; see /etc/host.conf for the resolution order.
#

# IPv4 and IPv6 localhost aliases
#127.0.0.1      localhost
127.0.0.1       localhost.localdomain   localhost
192.168.2.110   arrakis.doesntexist.org arrakis
::1             localhost




#
# Imaginary network.
#10.0.0.2               myname
#10.0.0.3               myfriend
#
# According to RFC 1918, you can use the following IP networks for 
private 
# nets which will never be connected to the Internet:
#
#       10.0.0.0        -   10.255.255.255
#       172.16.0.0      -   172.31.255.255
#       192.168.0.0     -   192.168.255.255
#
# In case you want to be able to connect directly to the Internet (i.e. 
not 
# behind a NAT, ADSL router, etc...), you need real official assigned 
# numbers.  Do not try to invent your own network numbers but instead get 
one 
# from your network provider (if any) or from your regional registry 
(ARIN, 
# APNIC, LACNIC, RIPE NCC, or AfriNIC.)
#
arrakis ~ # 
arrakis ~ # /etc/init.d/net.eth0 restart 
 * Unmounting network 
filesystems ...                                         [ ok ]
 * Stopping eth0
 *   Bringing down eth0
 *     Stopping dhcpcd on 
eth0 ...                                            [ ok ]
 *     Shutting down 
eth0 ...                                                 [ ok ]
 * Starting eth0
 *   Configuration not set for eth0 - assuming DHCP
 *   Bringing up eth0
 *     dhcp
 *       Running 
dhcpcd ...                                                   [ ok ]
 *       eth0 received address 192.168.2.110/24
 * Mounting network 
filesystems ...                                           [ ok ]
arrakis ~ # 
arrakis ~ # hostname
arrakis
arrakis ~ # 
arrakis ~ # date
Sun Sep  2 18:23:18 PDT 2007
arrakis ~ # 



Is the above correct?  Ready for installing leafnode?



thanks,

Thufir

-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/