Hey Ed,

You are the man.  I was turning biff off in my .cshrc instead of my
.login.  It all works now.

Thanks,
Tuan

On Thu, 4 Feb 1999, Ed Lange wrote:

> >On Wed, 3 Feb 1999, Tuan Hoang wrote:
> >
> >> Hi,
> >> 
> >> I'm having problems rcp'ing to my Linux machine.
> >> It's running Slackware 3.6 and kernel 2.2.1.
> >> I can't seem to rcp from another machine (Solaris x86 and/or Linux).
> >> I keep get the string "Where are you?" on the client machine.
> >> What really boggles me is that rsh and rlogin work fine.
> >> (rsh gives "Where are you?" on a line before executing the command.)
> >> 
> >> I have my /etc/hosts.equiv setup with the hostnames of equivalent hosts
> >> and my .rhosts set with the hostnames and my user name next to each on.
> >> 
> >> Am I missing anything?
> >> Attached is a tcpdump of my failed attempt at 
> >> "rcp optimus:/tmp/dmesg.txt ."
> 
> I've seen this before.  You're probably using a C-shell derivative, such as csh
> or tcsh, for your login shell.  Check your .cshrc for anything that would
> require knowing which tty you're on, such as ps, who, biff, tty, etc.  When you
> login, C-shell runs both .login and .cshrc.  When you do a rsh or rcp, only
> .cshrc is run.  rcp doesn't need a tty entry, so it doesn't do all the setup of
> making that work.  Bourne-shell derivatives do things differently.
> 
> .login contains commands for setting up an interactive environment, so anything
> that you need for interactive work should be in .login.  Setting environment
> variables and paths and the like should go in .cshrc.  No commands in .cshrc
> should ever produce output on stdout.
> 
> I just did a bit of testing, and I believe it's "biff".  Take the biff command
> out of your .cshrc and put it in your .login, and it should start working.  If
> it's not biff, then post or e-mail me your .login and .cshrc.
> 
> If that doesn't fix it, then I'm way off base.....
> 
> -----------------------------------------------------------------------------
> Edward C. Lange                                          [EMAIL PROTECTED]
> Let  us leave  the Last Dinosaur  sinking  inexorably deeper  into the tarpit
> which has  now claimed  all of  Microsoft's predecessors  in the  proprietary
> operating systems game.           -- http://muq.org/~cynbe/rants/lastdino.htm
> -----------------------------------------------------------------------------
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to