Re: networking via cross cable

From: Allan Adler (ara_at_nestle.csail.mit.edu)
Date: 05/30/04


Date: 30 May 2004 12:50:11 -0400


Michael Heiming wrote:

>There's no need to reinstall anything, you can start "lokkit" as
>root from some xterm and fill in your trusted device below
>'Customize' to get things working. I'd use ssh/scp for anything,
>telnet/ftp are not needed and you don't need to unplug the other
>box, if configured probably, iptables will take care.

I ran lokkit on minsk and set it up with medium security and to accept ssh.
Although the two machines can ping each other and traceroute shows they
can find each other, ssh from pinsk to minsk doesn't work. It complains
that it doesn't trust the port. I rebooted minsk to see if that was the
problem, but that didn't help. I ran lokkit again and it ran with
no apparent recollection of my last session, i.e. it had high security
as the default and nothing allowed from outside. So, I did the work again
of setting security to medium and allowing outside ssh. It didn't help.

One way to check the work would be if there were some file to look at
or some program to run which would say whether minsk is set to accept
outside ssh.

After looking at the ssh man page in search of some daemon maybe named
sshd, I also tried, not knowing what I was doing, adding pinsk to minsk's
/etc/hosts.allow file, but I don't know what format pinsk should be entered
in. Since the comments in the file mention tcpd, I looked at the man page for
tcpd and then tried to run it, in case it was necessary to start it. This
caused some audible thrashing, so I stopped it with ctrl-C; maybe it was
already running, assuming that is what is supposed to run. I don't know any
way to detect it.

Anyway, I can ping in either direction between minsk and pinsk, but
I can't use ssh from pinsk to minsk. How do I accomplish this?
For those who didn't read the original posting, this is about
connecting two PC's running RedHat 7.2 with ethernet cards and getting
them to talk to each other over a cross cable.

-- 
Ignorantly,
Allan Adler <ara@zurich.ai.mit.edu>
* Disclaimer: I am a guest and *not* a member of the MIT CSAIL. My actions and
* comments do not reflect in any way on MIT. Also, I am nowhere near Boston.


Relevant Pages

  • networking via cross cable
    ... I have two PC's running RedHat 7.2 Linux. ... Let's call them minsk and pinsk. ... RedHat Linux 9 Unleashed Craig Hunt's book Linux Network Servers. ...
    (comp.os.linux.networking)
  • Re: networking via cross cable
    ... You need GnuPG to verify this message ... > scp requests from pinsk to minsk? ... > rlogin or ssh or telnet from pinsk to minsk? ...
    (comp.os.linux.networking)
  • Re: Is anybody home?
    ... A man was riding on a train from Minsk to Pinsk when a stranger came up to ...
    (rec.humor.jewish)