注意:

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
m
m
 
(2 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....  2nd commit blah blah blah moar moar moar  (im posting this for hostname information which has not been externalized by another package as far as i know)


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.


* Contents of sys-apps/net-tools-1.60_p20141019041918:
* {{c|hostname}} - show or set the system's host name
/bin/dnsdomainname -> hostname
* {{c|dnsdomainname}} - show the system's DNS domain name
/bin/domainname -> hostname
* {{c|domainname}} - show or set the system's NIS/YP domain name
/bin/hostname
* {{c|nisdomainname}} - show or set system's NIS/YP domain name
/bin/ifconfig
* {{c|ypdomainname}} - show or set the system's NIS/YP domain name
/bin/netstat
 
/bin/nisdomainname -> hostname
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.
/bin/route
/bin/ypdomainname -> hostname
/sbin/arp
/sbin/ifconfig -> /bin/ifconfig
/sbin/ipmaddr
/sbin/iptunnel
/sbin/mii-tool
/sbin/nameif
/sbin/plipconfig
/sbin/rarp
/sbin/slattach


{{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.