Hot answers tagged

38

Wow, well, what you want is called Emergency Management Services (EMS) redirection. http://msdn.microsoft.com/en-us/library/ff542282(v=vs.85).aspx And it works on modern versions of Windows. In XP/2003, enabling it would look like bootcfg /ems on /port com1 /baud 9600 /id 1 On Windows Vista/2008+ it is enabled by typing the following command where {...


26

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 system. Then the serial port and the QEMU are multiplexed on your output. You can switch between them with ctrl-A + C + ENTER. Long answer: check this blog, ...


14

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 which should make it easier to find in your router's DHCP lease table, or in e.g. journalctl/syslog if you run a DHCP server (e.g. isc-dhcp-server) on a system ...


13

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 number but are there out of thermal and/or design considerations. This is generally true for every server/disk array manufacturer. Usually, you replace disks by ...


12

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 viable, it would be much simpler to configure the switch with a management IP and SSH/telnet access.


12

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?


10

This is tested on FreeBSD 10.0-RELEASE, but will likely work on FreeBSD 9.x. BIOS Configuration Open the BIOS settings and navigate to “Advanced → Serial Port Console Redirection” and ensure “SOL Console Redirection” is set to “Enabled” (you do not need to enable COM1 or COM2 or Out-of-Band management). Open the “SOL Console Redirection Settings” and ...


9

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 number should be irrelevant. Replacements should be based on model number. (One of the downsides of DIY Supermicro hardware is that you aren't dealing with a ...


8

I would start by checking if RDP is listening: netstat /p tcp /a | findstr 3389 if you do not see TCP 0.0.0.0:3389 hostname:0 LISTENING there is an issue preventing remote sessions. Take particular look at HKLM\System\CurrentControlSet\Control\Terminal Server\fDenyTSConnections which determines whether RDP is enabled. # ...


7

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]13) $com.ReadExisting()


7

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 to your virtual machine and link it to the chardev you've just created: -device pci-serial,chardev=hostusbserial Done. Line speed etc must be configured in ...


5

There is a lot of commonality between switches, but you will almost always get the best information about how to connect, by looking up the guide/manual for the specific model/make of the equipment you are using. Sometimes vendors change things. Or they have non-standard equipment since company got merged/purchased with another. 3Com was acquired by HP, ...


5

Usually, a professional switch has either a 9-pin serial port or an 8P8C port for dedicated console access. The 9-pin port can be directly converted to the 8P8C port, for example by using this converter: Once you have the 9-pin connection, you can use a standard USB-to-Serial cable to connect to it. The important part to remember is that a 8P8C console ...


4

Have you thought of using SMTP (email) ? The Raspberry has two processes on it: one reads data and append them to a file, another one (possibly in crontab) moves the files (possibly aggregating some) and send them by email to the destination machine. This way, you have no coupling between the frequency of sampling and the frquency of logging, if it's okay ...


4

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 --unit=1, to use serial port 1. Also, your serial command begins with 115200n8 which is not valid and should not be present. It should instead start with serial.


3

I'm going to assume these are Sun systems. As I mentioned in my comment there are a BUNCH of serial port types on Sun hardware. Some of these are REALLY freaky! As Chris pointed out, your first server's serial port is labeled. You don't tell us what model this is, but since it's just one port I'm betting it's a combined (A+B) port like the SLC has. If you ...


3

A barcode scanner usually requires a device called a "keyboard wedge" that the scanner plugs into which is then plugged into the computer that sends the scanned data to the keyboard input buffer of the computer. The keyboard wedge may also be implemented internally in the scanner or in a device driver or software program installed for the scanner. What does ...


3

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 (systemctl stop serial-getty@ttyS0 , ...ttyS1) Manually run /sbin/agetty -L ttyS1 115200 vt100 (this set of parameters get me a login string on SoL connection) Kill ...


3

The link above is for the pcapng, the next-generation pcap file format. It allows for wonderful features and a great deal of functionality but it's probably overkill for your needs. Assuming you just want to log packets the original pcap file format should suit your neeeds and is easy to write: 24 bytes of global header information followed by a 16-byte ...


3

Not enough rep to comment on the answer above, so: I run FreeBSD 9.2 and Andrew's configuration above enables SOL on COM 3 for me on X8SIL-F / X8SIE-F, from BIOS to login prompt. It is completely based on his above answer but tested on 9.2 with GENERIC kernel--thank you, Andrew! A few notes: It seems to be the order of 'comconsole' or 'vidconsole' in the ...


3

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


3

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 70 mknod -m 666 /dev/ttyS7 c 4 71 The two numbers are the major and minor device numbers. Major device number will stay the same for devices of the same type. ...


3

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 while releasing the Reset button. When the Self Test LED begins to blink, release the Clear button. There is no default password. HP Procurve Switch 2650 ...


3

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 offered in plain text. If you use libvirt to define and manage your VMs, this work has already been done for you. virsh console <VM Name> will connect you to ...


3

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 manual


2

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


2

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 vSphere Client to redirect the direct console to a serial port, the boot option you set persists after subsequent reboots. You can redirect the direct ...


2

You should have this in inittab, and you don't have to reboot. Just telinit q. As for agetty in a shell, it really was not designed to run in the foreground and control some other terminal; while you could pass it a tty argument of -, this would cause it to print a login prompt in your terminal, rather than on the serial port, which isn't what you want.


2

With command line access you could install another remote control application like TeamViewer. A better approach would be to install the Windows Remote Server Administration Tools and diagnose the problem that way. These tools give you access to the Event Viewer. If you decide o give up on this server, get 1and1 to set up a new server for you first. Then ...


2

Generally, everything depends on what you do on the other side. For example: if you need this data to be forwarded to the Zabbix - you use Zabbix agent, for SNMP - you use snmpd, for web application processing - HTTP etc. Rsyslog could be a good option for transport, because it can already solve many problems you may encounter while developing custom ...


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