Traceroute: Difference between revisions
I removed the extraneous description on the bottom. |
No edit summary |
||
| Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute- | | http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute-{{Traceroute-Version}}.tar.gz | ||
|- | |- | ||
!Required Patch: | !Required Patch: | ||
| http://svn.cross-lfs.org/svn/repos/patches/traceroute/traceroute- | | http://svn.cross-lfs.org/svn/repos/patches/traceroute/traceroute-{{Traceroute-Version}}-update_config-1.patch | ||
|} | |} | ||
| Line 20: | Line 20: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../traceroute- | patch -Np1 -i ../traceroute-{{Traceroute-Version}}-update_config-1.patch && | ||
sed -i -e 's/-o bin/-o root/' Makefile.in && | sed -i -e 's/-o bin/-o root/' Makefile.in && | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
| Line 40: | Line 40: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../traceroute- | patch -Np1 -i ../traceroute-{{Traceroute-Version}}-update_config-1.patch && | ||
sed -i -e 's/-o bin/-o root/' Makefile.in && | sed -i -e 's/-o bin/-o root/' Makefile.in && | ||
CC="gcc ${BUILD32}" ./configure --prefix=/usr && | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | ||
| Line 57: | Line 57: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../traceroute- | patch -Np1 -i ../traceroute-{{Traceroute-Version}}-update_config-1.patch && | ||
sed -i -e 's/-o bin/-o root/' Makefile.in && | sed -i -e 's/-o bin/-o root/' Makefile.in && | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr && | CC="gcc ${BUILDN32}" ./configure --prefix=/usr && | ||
| Line 74: | Line 74: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../traceroute- | patch -Np1 -i ../traceroute-{{Traceroute-Version}}-update_config-1.patch && | ||
sed -i -e 's/-o bin/-o root/' Makefile.in && | sed -i -e 's/-o bin/-o root/' Makefile.in && | ||
CC="gcc ${BUILD64}" ./configure --prefix=/usr && | CC="gcc ${BUILD64}" ./configure --prefix=/usr && | ||
Revision as of 13:31, 17 December 2006
Introduction to Traceroute
The Traceroute package contains a program which is used to display the network route that packets take to reach a specified host. This is a standard network troubleshooting tool. If you find yourself unable to connect to another system, traceroute can help pinpoint the problem.
Dependencies
Non-Multilib
Compile the package:
patch -Np1 -i ../traceroute-2.0.15-update_config-1.patch && sed -i -e 's/-o bin/-o root/' Makefile.in && ./configure --prefix=/usr && make
Install the package
make install && make install-man
Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:
mv -v /usr/sbin/traceroute /usr/bin
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
patch -Np1 -i ../traceroute-2.0.15-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make
Install the package
make install && make install-man
Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:
mv -v /usr/sbin/traceroute /usr/bin
N32
Compile the package:
patch -Np1 -i ../traceroute-2.0.15-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
make
Install the package
make install && make install-man
Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:
mv -v /usr/sbin/traceroute /usr/bin
64Bit
Compile the package:
patch -Np1 -i ../traceroute-2.0.15-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
make
Install the package
make install && make install-man
Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:
mv -v /usr/sbin/traceroute /usr/bin
Content
Installed Program: traceroute
Installed Libraries: None
Installed Directories: None
Short Descriptions
traceroute: does basically what it says: it traces the route your packets take from the host you are working on to another host on a network, showing all the intermediate hops (gateways) along the way.