Hot answers tagged

28 votes

How to start qemu directly in the console (*not* in curses or SDL)

Old question, but it might still interest people. Short anwser : qemu -nographic -serial mon:stdio -append 'console=ttyS0' binary.img ttyS0 valid on most PC. it would be something different on ARM ...
  • 391
15 votes
Accepted

How to enable and use the serial terminal of a HP Microserver Gen9?

The ILO port on the HP server by default asks for an IP via DHCP. So you just need to plug it into a network that has a DHCP server running. It will announce itself with a host name like ILOCZ12345678 ...
  • 736
13 votes
Accepted

Is disk serial readable from supermicro chassis?

There exist no way at all to (optically) read a disk serial number once the disk is inserted into the system - the holes in the front of the disk caddy are not meant to facilitate reading a serial ...
  • 97.3k
12 votes

Connect to switch's console port through ethernet patch panel

You should be able to connect the console port to the patch panel with a rollover cable. You must use a standard straight-through ethernet on the other end - NOT another rollover cable. If it's ...
12 votes
Accepted

Connect to switch's console port through ethernet patch panel

Use a straight through cable from the console port of the Cisco to the patch panel, and then a rollover from the port in the wall to your computer?
11 votes
Accepted

QEMU and serial ports on the guest OS

First you need to define a chardev for the host serial port and attach a name to it (id parameter), like this: -chardev tty,path=/dev/ttyUSB0,id=hostusbserial Next you have to add some serial device ...
9 votes

Is disk serial readable from supermicro chassis?

Supermicro is rough... But so is your hosting company!! There's no excuse for that. Ask for a credit on your monthly bill for the mistake if it caused downtime. So think of this: The disk serial ...
  • 195k
7 votes
Accepted

How can I connect to a cisco switch via serial console cable from powershell?

Figured it out. Slap enter-pssession -computername XXXXXXX in front of this to remotely connect to a system to check. $com = New-Object System.IO.Ports.SerialPort(“COM1”) $com.open() $com.write([char]...
  • 6,877
4 votes

Grub CLI Arrow Keys Don't Work With IPMI SOL

I had exactly the same problem as you but finally I realized we don't need Up arrow and Down arrow to navigate. See the comment at the bottom of the GRUB screen: Use the ^ and v keys to select ...
  • 41
4 votes

Can't get grub2 boot menu via COM2 port

Your GRUB_SERIAL_COMMAND is specifying to use serial port 0, but you specifically said you wanted to use serial port 1. You specified --unit=0, which means serial port 0. You should instead use --...
3 votes

How to tell whether a serial connection is "established"?

No, there is no way to do this. Serial connections are completely stateless, both from an electrical and a software point of view.
  • 97.3k
3 votes

Serial Over Lan doesn't redirect OS terminal

I faced similar problem with SOL on Supermicro server (SYS-1028R-WTRT). I used a Centos 7 OS. I think this sequence of actions help me decide this problem: I shutdown all systemd getty services (...
  • 31
3 votes
Accepted

Unable to attach additional serial ports to a RHEL6 server with 8 serial ports

You need to increment the second number in the mknod command but leave the first one alone. For example ... mknod -m 666 /dev/ttyS4 c 4 68 mknod -m 666 /dev/ttyS5 c 4 69 mknod -m 666 /dev/ttyS6 c 4 ...
  • 4,457
3 votes

HP Procurve 2650 has password set after factory reset

You may not have correctly reset the device the procedure is Simultaneously press the Reset and Clear buttons on the front of the switch with a paperclip. Continue to hold the Clear button ...
  • 114k
3 votes

how to use ssh over serial without using pppd? ( Or how to transfer TCP over serial without using pppd)

You're trying to shove a bunch of protocols that have nothing to do with serial consoles over a serial console. It's not going to yield reasonable results, and the data you want is already being ...
  • 7,016
3 votes

Can't get grub2 boot menu via COM2 port

If you only need the second one, simply change the --unit=0 into --unit=1. The serial unit 0 is usually called ‘COM1’, so, if you want to use COM2, you must specify ‘--unit=1’ instead. -- grub ...
  • 6,895
2 votes

Serial port forwarding over TCP/IP (linux server)

screen does a very good job of this. Ssh into the remote box and screen /dev/ttyWhatever baudrate
  • 21
2 votes

ESXi - serial console as default console

Maybe this will work? Still not sure why you want to follow this path, but the option is available. Redirect the Direct Console to a Serial Port Using the vSphere Client When you use the ...
2 votes

XenServer Guest PV - Serial Port RS232

It's probably too late for you, but your question could be of general interest. If your serial port (or USB port or whatever) can be identified as PCI device, you can avoid XS to take into control ...
2 votes
Accepted

hdparm serial number is garbage

hdparm -I /dev/sdX This command performs an "identify device", which is a specific ATA protocol that requests the identifying information from the device's firmware. In the case of a physical drive, ...
2 votes

How to tell whether a serial connection is "established"?

Just to give a completely contradictory answer... if your software supports it and your connection has more than the bare minimum # of pins, RS-232 connections can have handshaking and flow control. ...
2 votes
Accepted

how to disable serial console after successful boot (systemd/grub2)

This feels awfully hacky, but it does the job. It will stop the serial terminal after the machine has been booted. /etc/systemd/system/killconsole.service: [Unit] Description=kill console after boot ...
  • 236
2 votes

resetting Cyberoam cr 15i UTM console Password

You've probably already sorted this, but just incase someone else gets sent here from google: Connect via serial and hit the "RESET" button at the back. Keep hitting the Enter key to choose which ...
  • 21
2 votes
Accepted

Cisco console, is possible to have DB9 split out to multiple RJ45's?

It's really not going to work like that. Think about what you asked for a moment. They are RJ45, but it's still standard RS232, hence why it's converted to DB9. That means you have a TX line and RX ...
  • 1,025
2 votes

Tcp connection breaking, too fast for serial?

I actually do quite a bit of testing of applications through high-latency situations due to the business I'm in... (we test with a variety of 200 - 1400ms latency links) Typically, I would setup a ...
  • 7,349
2 votes
Accepted

Serial communication between QEMU host and guest

I found a solution to my own question. First the device tree was incomplete so I needed to add 3 additional uart ports. That's the reason I could not find my ports in the guest. Second, I needed to ...
  • 31
2 votes

How to connect a switch and a router to laptop via putty

Setup the ssh/webbased management and connect to both via putty after the initial configuration. A generic's example took from there Q: I have a Cisco switch in my network, which I can access by ...
  • 16.3k
2 votes
Accepted

APC Smart UPS serial connection on Windows Server 2012 R2

Configured http://www.apcupsd.com/ so far, http://www.apcupsd.com/manual/manual.html#a-simple-configuration-for-a-serial-smartups works UPSCABLE smart UPSTYPE apcsmart DEVICE COM1 UPSCLASS standalone ...
2 votes
Accepted

Cut Off My Own Google Cloud Engine SSH Nose

To edit or examine configuration files in the root disk of a VM that you do not have access, follow the steps in the section ¨Inspect an instance without shutting it down¨ of this document. A summary ...
  • 1,385
2 votes

How to enable and use the serial terminal of a HP Microserver Gen9?

Use textcons from the ILO ssh interface. This may require the ILO Advanced license, but at the same time, there's a very low barrier to obtaining one. Most organizations aren't interested in making ...
  • 195k

Only top scored, non community-wiki answers of a minimum length are eligible