Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Jean-Baptiste on September 16, 2003, 12:57:26 PM

Title: Trace route ?
Post by: Jean-Baptiste on September 16, 2003, 12:57:26 PM
Hallo all,

What is the command for trace route on SME box please ?

Thanks in advance.
JeanBa
Title: Re: Trace route ?
Post by: Michiel on September 16, 2003, 01:06:00 PM
Ehmmm, traceroute maybe?
;-)
Title: Re: Trace route ?
Post by: Jean-Baptiste on September 16, 2003, 08:28:29 PM
Hi Michiel,

:-) tried this and received this message below
[admin@tcauserver e-smith]$ traceroute www.canopus.com
bash: traceroute: command not found
[admin@tcauserver e-smith]$
Title: Re: Trace route ?
Post by: Jean-Baptiste on September 16, 2003, 08:31:02 PM
Rehi,

Please ignore my question :-)

Silly me, just remarked that we can't use this command except logged in as root.

Regards,
Title: Re: Trace route ?
Post by: Dan Brown on September 16, 2003, 08:43:28 PM
Sure you can--you just need to either add /usr/sbin to your path, or run /usr/sbin/traceroute.
Title: Re: Trace route ?
Post by: Jean-Baptiste on September 16, 2003, 08:55:41 PM
Hi Dan,

Thanks so much... Please show how you can add /usr/sbin to admin path ?

Sorry for the newbie request on linux world.

Regards,
Title: Re: Trace route ?
Post by: Michiel on September 16, 2003, 09:01:56 PM
Add it to the PATH= statement in .bash_profile in the user's root directory (/home/e-smith/files/users/jeanba).

Michiel
Title: Re: Trace route ?
Post by: Michiel on September 16, 2003, 09:04:24 PM
> Add it to the PATH= statement in .bash_profile in the user's root directory
> (/home/e-smith/files/users/jeanba).

And before you complain it doesn't work :-) You need to log off and log on again to activate the change.
Title: Re: Trace route ?
Post by: Jean-Baptiste on September 17, 2003, 01:41:49 PM
Michiel,

It doesn't work... just kidding :-) because I don't do anything yet.

There is no .bash_profile in /home/e-smith/files/users/jeanba, ie I have to create one and add PATH=/usr/sbin ?

Many thanks for your help.

Cheers,
PS: how do you know that my username is jeanba ;-)
Title: Re: Trace route ?
Post by: Michiel on September 17, 2003, 03:09:09 PM
> There is no .bash_profile in
In /etc/skel you'll find a template for .bash_profile. Copy it to your user's directory, set ownership to the user and edit it to your liking. For instance PATH=$PATH:/usr/sbin would let you find traceroute.

> PS: how do you know that my username is jeanba ;-)
I saw it when I hacked your machine to delete .bash_profile...
Title: Re: Trace route ?
Post by: Jean-Baptiste on September 17, 2003, 04:23:34 PM
Hahaha... thanks so much Michiel.

By the way, please just wait untill I become billionaire before hacking, otherwise it isn't worth.

A+