Can this be disabled? interface turned of when console cable plugged in.


 
Thread Tools Search this Thread
Operating Systems Solaris Can this be disabled? interface turned of when console cable plugged in.
# 8  
Old 12-01-2006
Quote:
Originally Posted by kingdbag
Before I do anything "break or boot" command it turns off the bge interface i'm not sure if it is locking the whole machine or just turning off the network interface or what. I consoled into my one server to make sure I had my hyper terminal settings correct then 5 seconds later I got an email letting me know bge0 was down on that device I didn't even type a command i think i hit enter once or twice that was it my screen looked like this below.

OK
OK
OK

then i disconnected and walked away without entering anything in console but a few enters...

Yes, I am using winxp/laptop/console cable to serial etc...

When hyperterminal comes up and you hit enter, you should be seeing a login prompt, not an OK prompt. You are indeed sending a break signal - albeit involuntary - to the box and bringing the whole thing to a halt.
# 9  
Old 12-01-2006
Sending a break signal on the system console causes the OS to drop into firmware mode and issue an "OK" prompt. Want the OS to start running again? Just type this command:
go

The reason is that Sun thought it would be cool if you could drop the machine to firmware mode by just unplugging and reconnecting the system console. It is possible for the OS to change this behaviour a second or two after a reboot, but there is still a very tiny window during boot where a break will work.

For solaris 2.6 get patch 105924-10 or later
For solaris 7 get patch 107589-02 or later
After solaris 7, no patch is needed.

Then modify /etc/default/kbd to have line like:
KEYBOARD_ABORT=alternate
Then after next reboot, you drop to firmware with ~^b (tilde, control-b)

There is also a kbd command to do this on the fly.
# 10  
Old 12-01-2006
Ahhhhh.... Thanks a lot, I will mess around with that and see how it works.
# 11  
Old 12-01-2006
You can plug-unplug terminals into any Sun box and it's not going to go to the ok prompt just for that.
The problem used to be that, if you powered off the terminal before disconnecting the serial cable, or powered on the terminal after connecting the serial cable, that would send a break signal to the console, thus bringing the box to the ok prompt.
# 12  
Old 12-01-2006
Quote:
Originally Posted by System Shock
You can plug-unplug terminals into any Sun box and it's not going to go to the ok prompt just for that.The problem used to be that, if you powered off the terminal before disconnecting the serial cable, or powered on the terminal after connecting the serial cable, that would send a break signal to the console, thus bringing the box to the ok prompt.
Hmm, have you ever tried it when the console is a keyboard? Also the electrical glitch of unplugging a serial console can do this and as Perderabo already mentioned it was patched so the key sequence could be a little more complex resloving many of these issues. I have personally seen this happen in the past 12 months with the standard break enabled.
# 13  
Old 12-02-2006
Quote:
Originally Posted by reborg
Hmm, have you ever tried it when the console is a keyboard? Also the electrical glitch of unplugging a serial console can do this and as Perderabo already mentioned it was patched so the key sequence could be a little more complex resloving many of these issues. I have personally seen this happen in the past 12 months with the standard break enabled.

Literary hundreds of times using workstations, laptops, wyse terminals, xyplexes, etc. to connect to the serial console, for years.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

/var/adm/messages (interface turned off/restored) and link up & link down message.

Hi All I am facing an issue with our new solaris machine. in /var/adm/messages root@Prod-App1:/var/tmp# root@Prod-App1:/var/tmp# root@Prod-App1:/var/tmp# cat /var/adm//messages Apr 20 03:10:01 Prod-App1 syslogd: line 25: WARNING: loghost could not be resolved Apr 20 08:24:18 Prod-App1... (0 Replies)
Discussion started by: javeedkaleem
0 Replies

2. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

3. Red Hat

Different hostnames with reboot while lan cable, no lan cable

I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable Reboot with lan cable: The hostname is ubunut Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies

4. Shell Programming and Scripting

how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable

hi, how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable which needs to be connected to one console server having rj11 on its side and db 9 female on other end.i.e. on switch side,console cable has rj45 and db 9 pin female connector on other side of... (1 Reply)
Discussion started by: pankajd
1 Replies

5. AIX

RJ-45 Console Cable Pinout

Does anyone have the pinout for the front RS-232 RJ-45 Port on IBM Power Server 5, 9131-52A? Of course the cabel is straight through, but on the DB9 side is what I need. (2 Replies)
Discussion started by: mrmurdock
2 Replies

6. AIX

need AIX console cable

Hello ... I am newbie and will be very grateful for any help. I need a serial console cable for my AIX boxes (seems we have lost the one we had!). However I am confused about the one one to order - UK based if possible. I wonder if anyone can point me at a specific one or the exact spec i need to... (0 Replies)
Discussion started by: tim441
0 Replies

7. UNIX for Advanced & Expert Users

Detecting USB Flash Devices (plugged and hot-plugged)

I am trying to script the process of looking for a usb-key inside another application. I have gotten some success by recording "ls /dev" and comparing it to a new "ls /dev" periodically. However this has made it so I have to prompt the user to take out the usb-key (if plugged in), let my... (1 Reply)
Discussion started by: jjinno
1 Replies

8. Solaris

Is the cable you are using a null modem cable or a modem cable

Hi all, Is there any difference between a null modem cable or a modem cable ? i assume that a null modem cable is a normal cable that i used from cpu serial ports to a modem for dialup. please correct if i am wrong, thks (2 Replies)
Discussion started by: waterbear
2 Replies

9. HP-UX

Root account disabled and unable to access console

Hi, hope someone could help me here: Our root account was disabled on our production server this morning and usually we would login at the console to re-enable the account. However we are unable to get a login prompt at the console. The console displays the 8 options along the bottom and a... (2 Replies)
Discussion started by: AaronC
2 Replies
Login or Register to Ask a Question