Connection problem via cross-over cable

Connection problem via cross-over cable

Post by Robert Mazu » Sat, 17 Sep 2005 23:23:25



I have myself in a predicament.

I have an Ultra 60 with Solaris 9 that has been up and happy for many
months.  I physically attached a SCSI external tape drive, bounced it,
and now I can not connect to it.  I do not have access to it via its
framebuffer.  So I am trying to hook up using a Win box and cross-over
cat-5 cable.

I know the ip address it thinks it was before I restarted the machine.
I used to be able to ssh or telnet to it.  Let's call the ip address:

65.112.8.23

After setting my Win box to 65.112.8.24 and linking the cross-over
cable, I can successfully ping the Sun box at the address above.  But if
I try to telnet or ssh to 65.112.8.23, I get:

"Connecting To 65.112.8.23...Could not open connection to the host, on
port 22: Connect failed."

I have tried various ports, and no love....same error message, but with
a different port number at the end.  What else could I try in order to
get a shell into this box and fix the network configuration?

Thanks,
Rob

 
 
 

Connection problem via cross-over cable

Post by Doug McIntyr » Sun, 18 Sep 2005 04:06:22



>"Connecting To 65.112.8.23...Could not open connection to the host, on
>port 22: Connect failed."
>I have tried various ports, and no love....same error message, but with
>a different port number at the end.  What else could I try in order to
>get a shell into this box and fix the network configuration?

Sounds like the machine isn't fully up and running daemons yet.

Your best option is to serial console in and watch the boot
sequence. Sounds like you don't have a keyboard plugged in, but if you
do, unplug it to make sure the console output comes out ttya instead
of on the frame buffer. Should be easy to fix after you are in via
serial console.

 
 
 

Connection problem via cross-over cable

Post by Robert Mazu » Sun, 18 Sep 2005 00:52:37




>>"Connecting To 65.112.8.23...Could not open connection to the host, on
>>port 22: Connect failed."

>>I have tried various ports, and no love....same error message, but with
>>a different port number at the end.  What else could I try in order to
>>get a shell into this box and fix the network configuration?

> Sounds like the machine isn't fully up and running daemons yet.

> Your best option is to serial console in and watch the boot
> sequence. Sounds like you don't have a keyboard plugged in, but if you
> do, unplug it to make sure the console output comes out ttya instead
> of on the frame buffer. Should be easy to fix after you are in via
> serial console.

Could someone give me a hand with that process?  I have gone through a
Serial Management port on a v210, Netra, etc, before, but not an Ultra.
  Here's what I have tried:

0) disconnected the keyboard

1) Took an RJ-45 cable I have used before to connect to a v210

2) On one end I have a 9-pin serial converter and connect to my Win box

3) The other end has a 25-pin converter (I received with a v210, with
only 7 pins in use) and connect that to the "A" serial port of my Ultra60

4) I fired up a HyperTerminal session in Windows and (guessing here) used:

COM 1 (which I know to be my 9-pin on the Win box)
Bits Per Second = 9600
Data Bits = 8
Parity = none
Stop Bit = 1
Flow Control = Xon/Xoff

I was hoping for some kind of reponse at this point, but nothing.  I
hard-booted the Ultra60 as a shot in the dark, nothing.  Tried serial
port "B" on the Ultra60, nothing.

I also tried, on the Ultra60 side, to go in via the ethernet jack.  At
that point on my HyperTerminal I could see the charaters I was typing,
but no response from the Ultra60.

There is something I am not doing right...
Rob

 
 
 

Connection problem via cross-over cable

Post by Dave Uhrin » Sun, 18 Sep 2005 05:02:31



> There is something I am not doing right...

Use a standard PC to modem cable with a Radio Shack 26-264 Null Modem
between COM1 on your PC to TTY-A on the U60.  Or construct a null modem
cable - see Google.
 
 
 

Connection problem via cross-over cable

Post by Erlend Legange » Sun, 18 Sep 2005 05:15:52


Robert Mazur wrote on 2005-09-16 21:52:


>>> I have tried various ports, and no love....same error message, but
>>> with a different port number at the end.  What else could I try in
>>> order to get a shell into this box and fix the network configuration?

Do you have another Ultra around? I use Ultra 10s and do this all the
time: Connect the serial ports between the Ultras with a *null-modem*
cable, and then use "tip console" to connect (I added the console entry
to /etc/remote, this is a copy of the hardwire entry, I just changed the
port from /dev/term/b to /dev/term/a). After disconnecting the keyboard
and rebooting the target machine, the serial port will be used.

I have V120 as well, for this one I use tip as described but this time
with the cable that comes with the V120, which seems to be special.
Maybe you just have a cable problem? Try a regular null-modem cable.

--
- Erlend Leganger

 
 
 

1. networking via cross cable

I have two PC's running RedHat 7.2 Linux. Let's call them minsk and pinsk.
Both have ethernet cards and I have connected them with a cross cable and
set up eth0 on both. I was able to run ping successfully on each PC to detect
the other.

Unfortunately, I can't ftp, scp, telnet, ssh, finger, etc. between them. That
is probably my own fault since, when I installed RedHat 7.2, I told the
installation software to set the network security at the highest level.
I routinely use pinsk on the internet, so I don't want to change its
security level but I never connect minsk to the internet, so I have no
problem changing the security levels and facilities on minsk to accomodate
logins and transfers from pinsk. The cross cable from minsk and pinsk
will only be plugged in when I'm not using pinsk to connect to the
internet, so I think that is reasonably safe.

I don't know how to modify the security on minsk to allow this and
I don't know how to actually set up these services. I have two books:
(1) RedHat Linux 9 Unleashed (2) Craig Hunt's book Linux Network Servers.
I've found (1) particularly helpful but so far I don't feel that either book
says enough about how to do this for me to figure it out. One other problem
I have with them is that (1) assumes an earlier version of Linux (RH6)
and (2) is based on a later version (RH9), whereas I'm running RH7. For
example, (1) tells me to examine a file named inetd.conf which doesn't
exist on my system.

What do I have to do to enable:
(a) ftp from pinsk to minsk?
(b) scp requests from pinsk to minsk?
(c) rlogin or ssh or telnet from pinsk to minsk?

Should I just reinstall RedHat 7.2 from scratch on minsk and this time
tell it to set network security at a low or medium level? And if I do,
is that enough for (a), (b) and (c) to work? Alternatively, I vaguely
recall that when RedHat installs from the CDROM, it asks what kind of
installation it will be. I always tell it to make it a workstation,
but I think telling it to make it a network server is also an option.
--
Ignorantly,

* 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.

2. Named pipes and mknod...

3. 100TX Cross-over cable?

4. Het. Network Email Gateway Software

5. Cross-over cable?

6. Cannot MNT RPC: RPC: Program not registered

7. Cross-over cable between NT and Linux

8. syslogd problems

9. crossed cables for direct 10/100 base-T connections

10. Cross-over connection between hosts

11. Latop connection via Cable Modemed Linux Box

12. Connecting a WIN95 & Linux Box via Direct Cable Connection

13. Installing via direct cable connection