注意:

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

Package:Net-tools

From Funtoo
Jump to navigation Jump to search

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.