RE: 5.1 Restore - can't telnet?

Kieran Jacobsen <[email protected]> Sat, 12 Nov 2011 23:01:49 +0000
Newsgroups gmane.os.netbsd.ports.cobalt
Message-ID <12490664676918459B70F10D2E04F3823D8BCC5D@barad-eithel.umbrella.corp>
Just performed a restore a few days ago myself. I ended up using rlogin to get in and start sshd.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mark Benson
Sent: Sunday, 13 November 2011 5:47 AM
To: Cobalt MIPS NetBSD
Subject: 5.1 Restore - can't telnet?

Hi. I just did a NetBSD 5.1 Restore on my Qube2 (which I just built a new power supply and power plug for).

Restore went great - VERY smooth operation - really nice to be able to just 'do' it with no serial terminal etc.

I changed the IP, netmask, default route to match my LAN once I had it hooked up using the panel (I prefer a fixed IP).

That went fine, I can now ping the Qube2 from another box.

$ ping 192.168.1.103
PING 192.168.1.103 (192.168.1.103): 56 data bytes
64 bytes from 192.168.1.103: icmp_seq=0 ttl=255 time=0.704 ms
64 bytes from 192.168.1.103: icmp_seq=1 ttl=255 time=0.472 ms
64 bytes from 192.168.1.103: icmp_seq=2 ttl=255 time=0.568 ms ^C
--- 192.168.1.103 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.472/0.581/0.704/0.095 ms

All good.

I can't telnet to the box to continue my setup/secure the box though?

$ telnet -l root 192.168.1.103
Trying 192.168.1.103...
Connected to 192.168.1.103.
Escape character is '^]'.
telnetd: Authorization failed.
Connection closed by foreign host.

That's what I get back. I'm guessing I need to telnet as root? I can't remember how to do it. I thought -l root would map 'root' as the user but I might be wrong?

This isn't documented anywhere I can find it. The RestoreCD HowTo gives the impression it should 'just work' which it does... but...

Oh also, when I serial console the box I get a db> (debugger?) prompt not a login? What gives? That used to work :\

--
Mark Benson

My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson

"Never send a human to do a machine's job..."