Difference between revisions of "NetTools"
(→Non-Multilib) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/net-tools/net-tools-{{NetTools-Version}}-kernel_headers- | + | | http://svn.cross-lfs.org/svn/repos/patches/net-tools/net-tools-{{NetTools-Version}}-kernel_headers-4.patch |
|- | |- | ||
!Required Patch: | !Required Patch: | ||
| http://svn.cross-lfs.org/svn/repos/patches/net-tools/net-tools-{{NetTools-Version}}-mii_ioctl-1.patch | | http://svn.cross-lfs.org/svn/repos/patches/net-tools/net-tools-{{NetTools-Version}}-mii_ioctl-1.patch | ||
+ | |- | ||
+ | !Required Patch: | ||
+ | | http://svn.cross-lfs.org/svn/repos/patches/net-tools/net-tools-{{NetTools-Version}}-supress_hostname-1.patch | ||
|} | |} | ||
---- | ---- | ||
− | {{ | + | {{Package-Introduction|A collection of programs that form the base set of the NET-3 networking distribution for the Linux operating system.|http://www.linux-foundation.org/en/Net:Net-tools}} |
== Dependencies == | == Dependencies == | ||
== Non-Multilib == | == Non-Multilib == | ||
− | |||
− | |||
− | |||
The instructions below automate the configuration process by piping yes to the make config command. If you wish to run the interactive configuration process (by changing the instruction to just make config), but you are not sure how to answer all the questions, then just accept the defaults. This will be just fine in the majority of cases. What you're asked here is a bunch of questions about which network protocols you've enabled in your kernel. The default answers will enable the tools from this package to work with the most common protocols: TCP, PPP, and several others. You still need to actually enable these protocols in the kernel—what you do here is merely tell the package to include support for those protocols in its programs, but it's up to the kernel to make the protocols available. | The instructions below automate the configuration process by piping yes to the make config command. If you wish to run the interactive configuration process (by changing the instruction to just make config), but you are not sure how to answer all the questions, then just accept the defaults. This will be just fine in the majority of cases. What you're asked here is a bunch of questions about which network protocols you've enabled in your kernel. The default answers will enable the tools from this package to work with the most common protocols: TCP, PPP, and several others. You still need to actually enable these protocols in the kernel—what you do here is merely tell the package to include support for those protocols in its programs, but it's up to the kernel to make the protocols available. | ||
Line 30: | Line 30: | ||
patch -Np1 -i ../net-tools-{{NetTools-Version}}-gcc34-3.patch && | patch -Np1 -i ../net-tools-{{NetTools-Version}}-gcc34-3.patch && | ||
− | patch -Np1 -i ../net-tools-{{NetTools-Version}}-kernel_headers- | + | patch -Np1 -i ../net-tools-{{NetTools-Version}}-kernel_headers-4.patch && |
patch -Np1 -i ../net-tools-{{NetTools-Version}}-mii_ioctl-1.patch && | patch -Np1 -i ../net-tools-{{NetTools-Version}}-mii_ioctl-1.patch && | ||
+ | patch -Np1 -i ../net-tools-{{NetTools-Version}}-supress_hostname-1.patch && | ||
yes "" | make config && | yes "" | make config && | ||
sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ | sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ | ||
Line 53: | Line 54: | ||
patch -Np1 -i ../net-tools-{{NetTools-Version}}-gcc34-3.patch && | patch -Np1 -i ../net-tools-{{NetTools-Version}}-gcc34-3.patch && | ||
− | patch -Np1 -i ../net-tools-{{NetTools-Version}}-kernel_headers- | + | patch -Np1 -i ../net-tools-{{NetTools-Version}}-kernel_headers-4.patch && |
patch -Np1 -i ../net-tools-{{NetTools-Version}}-mii_ioctl-1.patch && | patch -Np1 -i ../net-tools-{{NetTools-Version}}-mii_ioctl-1.patch && | ||
+ | patch -Np1 -i ../net-tools-{{NetTools-Version}}-supress_hostname-1.patch && | ||
yes "" | make config && | yes "" | make config && | ||
sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ | sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ | ||
Line 71: | Line 73: | ||
patch -Np1 -i ../net-tools-{{NetTools-Version}}-gcc34-3.patch && | patch -Np1 -i ../net-tools-{{NetTools-Version}}-gcc34-3.patch && | ||
− | patch -Np1 -i ../net-tools-{{NetTools-Version}}-kernel_headers- | + | patch -Np1 -i ../net-tools-{{NetTools-Version}}-kernel_headers-4.patch && |
patch -Np1 -i ../net-tools-{{NetTools-Version}}-mii_ioctl-1.patch && | patch -Np1 -i ../net-tools-{{NetTools-Version}}-mii_ioctl-1.patch && | ||
+ | patch -Np1 -i ../net-tools-{{NetTools-Version}}-supress_hostname-1.patch && | ||
yes "" | make config && | yes "" | make config && | ||
sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ | sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ | ||
Line 89: | Line 92: | ||
patch -Np1 -i ../net-tools-{{NetTools-Version}}-gcc34-3.patch && | patch -Np1 -i ../net-tools-{{NetTools-Version}}-gcc34-3.patch && | ||
− | patch -Np1 -i ../net-tools-{{NetTools-Version}}-kernel_headers- | + | patch -Np1 -i ../net-tools-{{NetTools-Version}}-kernel_headers-4.patch && |
patch -Np1 -i ../net-tools-{{NetTools-Version}}-mii_ioctl-1.patch && | patch -Np1 -i ../net-tools-{{NetTools-Version}}-mii_ioctl-1.patch && | ||
+ | patch -Np1 -i ../net-tools-{{NetTools-Version}}-supress_hostname-1.patch && | ||
yes "" | make config && | yes "" | make config && | ||
sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ | sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ | ||
Line 104: | Line 108: | ||
= Contents = | = Contents = | ||
− | Installed Programs: arp | + | Installed Programs: arp, ifconfig, nameif, netstat, plipconfig, rarp, route, slattach, ipmaddr, iptunnel, mii-tool |
Installed Libraries: None | Installed Libraries: None | ||
Installed Directory: None | Installed Directory: None | ||
+ | |||
+ | [[Category:Network Utilities]] |
Latest revision as of 16:18, 19 March 2009
Contents
Introduction to NetTools
A collection of programs that form the base set of the NET-3 networking distribution for the Linux operating system.
Project Homepage: http://www.linux-foundation.org/en/Net:Net-tools
Dependencies
Non-Multilib
The instructions below automate the configuration process by piping yes to the make config command. If you wish to run the interactive configuration process (by changing the instruction to just make config), but you are not sure how to answer all the questions, then just accept the defaults. This will be just fine in the majority of cases. What you're asked here is a bunch of questions about which network protocols you've enabled in your kernel. The default answers will enable the tools from this package to work with the most common protocols: TCP, PPP, and several others. You still need to actually enable these protocols in the kernel—what you do here is merely tell the package to include support for those protocols in its programs, but it's up to the kernel to make the protocols available.
Compile the package:
patch -Np1 -i ../net-tools-1.60-gcc34-3.patch && patch -Np1 -i ../net-tools-1.60-kernel_headers-4.patch && patch -Np1 -i ../net-tools-1.60-mii_ioctl-1.patch && patch -Np1 -i ../net-tools-1.60-supress_hostname-1.patch && yes "" | make config && sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h && sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \ -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make && make
Install the package
make update
Multilib
This package does not provide any libraries so only one installation is needed.
The instructions below automate the configuration process by piping yes to the make config command. If you wish to run the interactive configuration process (by changing the instruction to just make config), but you are not sure how to answer all the questions, then just accept the defaults. This will be just fine in the majority of cases. What you're asked here is a bunch of questions about which network protocols you've enabled in your kernel. The default answers will enable the tools from this package to work with the most common protocols: TCP, PPP, and several others. You still need to actually enable these protocols in the kernel—what you do here is merely tell the package to include support for those protocols in its programs, but it's up to the kernel to make the protocols available.
32Bit
Compile the package:
patch -Np1 -i ../net-tools-1.60-gcc34-3.patch && patch -Np1 -i ../net-tools-1.60-kernel_headers-4.patch && patch -Np1 -i ../net-tools-1.60-mii_ioctl-1.patch && patch -Np1 -i ../net-tools-1.60-supress_hostname-1.patch && yes "" | make config && sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h && sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \ -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make && make CC="gcc ${BUILD32}"
Install the package
make update
N32
Compile the package:
patch -Np1 -i ../net-tools-1.60-gcc34-3.patch && patch -Np1 -i ../net-tools-1.60-kernel_headers-4.patch && patch -Np1 -i ../net-tools-1.60-mii_ioctl-1.patch && patch -Np1 -i ../net-tools-1.60-supress_hostname-1.patch && yes "" | make config && sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h && sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \ -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make && make CC="gcc ${BUILDN32}"
Install the package
make update
64Bit
Compile the package:
patch -Np1 -i ../net-tools-1.60-gcc34-3.patch && patch -Np1 -i ../net-tools-1.60-kernel_headers-4.patch && patch -Np1 -i ../net-tools-1.60-mii_ioctl-1.patch && patch -Np1 -i ../net-tools-1.60-supress_hostname-1.patch && yes "" | make config && sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \ -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h && sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \ -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make && make CC="gcc ${BUILD64}"
Install the package
make update
Contents
Installed Programs: arp, ifconfig, nameif, netstat, plipconfig, rarp, route, slattach, ipmaddr, iptunnel, mii-tool
Installed Libraries: None
Installed Directory: None