注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Net-tools"
Jump to navigation
Jump to search
Threesixes (talk | contribs) m (fix a bit more) |
Threesixes (talk | contribs) m |
||
(One intermediate revision by the same user not shown) | |||
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 | ||
Line 10: | Line 11: | ||
* {{c|domainname}} - show or set the system's NIS/YP 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|nisdomainname}} - show or set system's NIS/YP domain name | ||
* {{c|ypdomainname}} - show or set the 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 namednsdomainname
- show the system's DNS domain namedomainname
- show or set the system's NIS/YP domain namenisdomainname
- show or set system's NIS/YP domain nameypdomainname
- 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.