Difference between revisions of "Package:Net-tools"

From Funtoo
Jump to navigation Jump to search
m
m
 
Line 4: Line 4:
|Homepage=http://net-tools.sourceforge.net/
|Homepage=http://net-tools.sourceforge.net/
}}
}}
'''net-tools''' is the old networking tools package that is being deprecated by {{package|sys-apps/iproute2}}
 
'''net-tools''' is the old networking tools package that is in the process of being deprecated by {{package|sys-apps/iproute2}}.  We still need, and require these tools to set hostname.  see the iproute2 page for a list of commands, and their replacements.


* {{c|hostname}} - show or set the system's host name
* {{c|hostname}} - show or set the system's host name

Latest revision as of 05:46, January 6, 2015

Net-tools

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


net-tools is the old networking tools package that is in the process of being deprecated by sys-apps/iproute2. We still need, and require these tools to set hostname. see the iproute2 page for a list of commands, and their replacements.

  • hostname - show or set the system's host name
  • dnsdomainname - show the system's DNS domain name
  • domainname - show or set the system's NIS/YP domain name
  • nisdomainname - show or set system's NIS/YP domain name
  • ypdomainname - show or set the system's NIS/YP domain name

under funtoo, /etc/conf.d/hostname controls the system hostname. /etc/conf.d/net is where your domain name is defined. /etc/hosts is where static routes and loopbacks are defined.