Subject: Re: Using route -interface modifier
To: None <netbsd-help@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 09/12/2001 08:16:58
On Wed, 12 Sep 2001, Manuel Bouyer wrote:

> On Tue, Sep 11, 2001 at 09:35:41PM -0700, Jeremy C. Reed wrote:
> > I am trying to connect to a SunOS 5.5.1 system that doesn't have a monitor
> > or keyboard and the serial console shows the boot messages, but no login
> > prompt.

> >  route add -net -interface 137.134.52 137.134.52.26
> 
> What I would do here is something like:
> ifconfig ne0 137.134.1.1 netmask 0xffff0000 alias

Okay. Thanks (I used 137.134.52.1 netmask 0xffffff00). After doing this,
nmap was able to see over 20 listening ports, including login, telnet, ftp
and finger.

I am able to ping the box and traceroute to it. I am able to get the date
with "telnet 137.134.52.26 daytime". And I am successfully able to use
"telnet 137.134.52.26 echo" and communicate with it.

But, I am unable to receive any login prompt via telnet or rlogin. Plus
ftp closes the connection after about 60 seconds: "421 Service not 
available, remote server timed out. Connection closed".

I assumed this was a DNS problem, but the rlogin and telnet connections
have not timed out and it has been over fifteen minutes.

Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address        State
tcp        0      0  rainier.58926          137.134.52.26.ftp      FIN_WAIT_2
tcp        0      0  rainier.58927          137.134.52.26.ftp      FIN_WAIT_2
tcp        0      0  rainier.1012           137.134.52.26.login    ESTABLISHED
tcp        0      0  rainier.58967          137.134.52.26.telnet   ESTABLISHED

Any ideas about this?

Also, I received suggestions to use single-user mode via my serial
console. (Thank you Rex and Volker.) After learning how to do this I was
able to get into single-user mode and had a chance to login with the root
password. Well anyways, I bought the SPARCstation via ebay and the seller
gave me the wrong password.

So now my next step is try mounting the SunOS filesystem (so I can reset
the password). Hopefully, I can do this with a NetBSD/sparc boot disk. Any
suggestions or hints on what floppy to use and what mount command/syntax
to use?

Thanks,

   Jeremy C. Reed
   http://www.reedmedia.net/