Can't use 'break' command, Can't access 'ok' prompt.


 
Thread Tools Search this Thread
Operating Systems Solaris Can't use 'break' command, Can't access 'ok' prompt.
# 1  
Old 08-23-2013
[Solved]Can't use 'break' command, Can't access 'ok' prompt.

Hi

I have A Sun Ultra Enterprise 450 server, it has Solaris installed on it.

I have A serial terminal hooked up to it (nullmodem cable plugged into serial port 1 on the box, and the other end plugged into the serial port of A laptop (NEC Versa M300))
The laptop is running Ubuntu 12.04.2 (Somehow... Incredibly, for such an old machine it still runs 12.04.2 perfectly and smoothly)... It has minicom installed and setup to 9600 8N1, and seems to communicate with the box fine (At login I can type A login and password, which gets denied, so the terminal appears to work fine).

Now, here's my problem... I recently picked the box up from A 2nd hand store for $50 (A nice buy in my opinion, the machine has almost every part available for it's model installed, and not A single scratch, mark or broken/missing part) but I don't have the login details. I have all the install disks needed, I'm all set up and ready to give it A clean start... But to all my efforts and hours of searching online I can't get the box to the "ok prompt", or any prompt or command for that matter, the only interaction I can make with the box is typing a username and password and having the box deny it.

During boot, I've tried countless attempts to use the 'break' command... Break key, Ctrl + key... Many, many times at different stages of the boot, and just about every other suggestion I can find... Not A shred of success.

Has anyone got any ideas how I can get to the 'ok' prompt?

Last edited by SomeoneTwo; 08-25-2013 at 04:30 AM.. Reason: Problem resolved.
# 2  
Old 08-24-2013
If you had a Sun keyboard the keystroke is STOP-A.

If you have a PC keyboard (ie, terminal emulator) the keystroke is CTRL-BREAK.

If this doesn't work then I'd say that there's something wrong with your terminal emulator with regards to this keystroke so try a different terminal emulator (eg, Hyperterminal).

As you are trying to do, if you can get to a 'ok' prompt you can boot from cd into single user, mount the hard disk root filesystem and get in and remove the root password.

Of course, you MUST be connected to the console serial port to get access to the 'ok' prompt.

Last edited by hicksd8; 08-24-2013 at 05:07 AM..
# 3  
Old 08-24-2013
@hicks
your answer will only work if he has a local keyboard attached to the machine.

@SomeoneTwo
try this in minicom 'ctrl-A' and then 'F' to send a break. also you can try to use ctrl [, after this a prompt should appear and you type send break at this prompt.
These 2 Users Gave Thanks to DukeNuke2 For This Post:
# 4  
Old 08-24-2013
Quote:
Originally Posted by DukeNuke2
@hicks
your answer will only work if he has a local keyboard attached to the machine.

@SomeoneTwo
try this in minicom 'ctrl-A' and then 'F' to send a break. also you can try to use ctrl [, after this a prompt should apear and you type send break at this prompt.
You sir have my undying gratitude.

Ctrl-A then F worked perfectly, I can't believe I didn't find this sooner.
Thanks again!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Access to Prompt

Hello, I have a question concerning the following script which I can execute in a terminal: telnet horizons.jpl.nasa.gov 6775 I will be asked to enter a certain number in order to select an object (just for completness 301=moon, the tool yields the ephemeris for solar system objects)... (5 Replies)
Discussion started by: grobian
5 Replies

2. UNIX Desktop Questions & Answers

Can Unix access Windows' File through Command Prompt in Unix

Hi all, I wish to know whether Unix can access window's file in Unix's terminal? Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies

3. UNIX for Dummies Questions & Answers

How can I set DBX to break on an Access Violation?

I'm trying to debug a service crash, and would like to break on an access violation - is this possible? (0 Replies)
Discussion started by: ctote
0 Replies

4. Programming

dbx - break on access violations

Hey everyone, Is there a way to make dbx break on access violations? (2 Replies)
Discussion started by: ctote
2 Replies

5. Shell Programming and Scripting

how do i access db2 instance via telnet command prompt

Hi I have a perl script code in which connecting with db2 database and doing some process. My perl script code and db2 database server present in the same unix server. I am connecting and executing perl script code via windows telnet. Now my question is i could not able to connect db2 server... (4 Replies)
Discussion started by: solo123
4 Replies

6. Shell Programming and Scripting

Break command

have a query on this break. I am using a program where I am using a while loop to execute it. It will get into a file take the first file and then ping it and if the ip is reachable then it will mail. Now what happens is that when i ping the ip it does nopt come out of the loop and it says "reply... (11 Replies)
Discussion started by: venkidhadha
11 Replies

7. UNIX for Dummies Questions & Answers

Can anyone break down this find command for me?

find . "(" -name a.out -o -name core ")" -exec rm {} \; Specifically What files are trying to be found What does the -o do in this command What is the result if the files are found What does the command do if the files are not found What does the . after the word find mean thanks in... (1 Reply)
Discussion started by: knp808
1 Replies

8. Solaris

ultra sparc 2 no video - ok prompt access

I have an ultra sparc 2 with no video - I connect to it with hyperterm. Is there a way to get to the OK prompt? I have tried control/break and that does not work. If not is there a video card I can get to put in this box? I have Solaris 10 installed on this machine. Thanks (7 Replies)
Discussion started by: tribbles
7 Replies

9. SuSE

inconsistent ls command display at the command prompt & running as a cron job

Sir, I using the following commands in a file (part of a bigger script): #!/bin/bash cd /opt/oracle/bin ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out If I run this from the command prompt the result is: 2007-05-16 if I run it as a cron job then... (5 Replies)
Discussion started by: rajranibl
5 Replies

10. Windows & DOS: Issues & Discussions

Wants to delete a file on window 2000 Pro but prompt Access Denied

Kindly give me insight to this problem that l am encountering on window 2000 professional. I want to delete a file with .dll. If l delete the file its prompt access denied. Every option under the file attribute signify that the no deny was checked, but still l can't delete the file. Also l tried... (3 Replies)
Discussion started by: kayode
3 Replies
Login or Register to Ask a Question