webmaster wrote:
>
> Dear Linux Gurus:
>
> This is kinda off the Linux topic, however, I hope someone can help
> me out. I telneted to my solaris 2.5.1 via my linux box. I was
> trying to define a gateway for the solaris box. I did the
> following command to add a route...
>
> route -net add 3.0.0.0 1.100.1.4 1
>
> It came back fine, and I am now able to route packet to network #3
> via the 1.100.1.4 gateway. Somewhere during this process, I must
> have screwed up the hostname. The original hostname is supposed to
> be "harps", but now the prompt is showing "nms". "nms" is my other
> Sun box. when I do an nslookup on harps and nms, both have different
> IP addresses.
>
> Question? When I do a telnet to a host, what are the initial files
> being read? Thanks for all the help...
>
> "Linux Rules!"
Depends on the shell, are you using sh? csh? If you telnet to a SUN
machine and your shell is sh, then a .profile file is read, with csh,
.cshrc and .login are read. you might try just typing "hostname" at the
prompt to see if you are getting proper feedback.
-- Keith Schoenefeld
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Keith Schoenefeld Systems Manager ~
~ The University of Tulsa [EMAIL PROTECTED] ~
~ Keplinger Hall Room #L1-A (918) 631-2548 ~
~ 600 S. College Ave ~
~ Tulsa, OK 74104-3189 ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.