注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package:Net-tools"

From Funtoo
Jump to navigation Jump to search
(initial commit)
 
m
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
|Homepage=http://net-tools.sourceforge.net/
|Homepage=http://net-tools.sourceforge.net/
}}
}}
blah blah blah initial commit stuff about hostname & dns stuff here in a second
 
'''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|dnsdomainname}} - show the system's DNS domain name
* {{c|domainname}} - show or set the system's NIS/YP domain name
* {{c|nisdomainname}} - show or set system's NIS/YP domain name
* {{c|ypdomainname}} - show or set the system's NIS/YP domain name
 
under funtoo, {{f|/etc/conf.d/hostname}} controls the system hostname.  {{f|/etc/conf.d/net}} is where your domain name is defined.  {{f|/etc/hosts}} is where static routes and loopbacks are defined.
 
{{EbuildFooter}}
{{EbuildFooter}}

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.