Questions tagged [serial]

The general purpose communication interface and related protocols. Specifically, a serial interface transfers one bit at a time ("in serial"), and complies with the RS-232 standard.

The general purpose communication interface and related protocols. Specifically, a serial interface transfers one bit at a time ("in serial"), and complies with the RS-232 standard.

215 questions
2
votes
2 answers

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

There are many virtual machine based on QEMU in my server. Some of them are forbbiden to use networking, and only way to attach them is via virtual serial port. Due to serial console's bad features (such as working badly with tmux and vim), I want…
2
votes
1 answer

Linux: logoff the user after its serial console terminated

I connected to Linux (in the case here, I used Ubuntu 1604) by serial console. Now, the serial console is closed (terminated), but, when I connect back to the serial port again I saw all the sessions are left there. How can I configure Linux to…
Howard Shane
  • 131
  • 1
  • 2
2
votes
1 answer

Serial communication between QEMU host and guest

I'm trying to set up a pair of serial ports between my QEMU host (Debian Jessie x86_64) and guest (also Debian Jessie, but on ARM). Everything except the serial port part works. I'm really new to QEMU so there might be a better way but I've tested…
walle
  • 51
  • 1
  • 8
2
votes
1 answer

Palo Alto PA-4020 cannot connect to terminal through Serial to USB

I have a PA-4020 that I messed up the configuration on, and I am trying to do a factory reset. I went ahead and ordered a few different serial to USB cables, and cannot connect through a Mac App Called Serial, PuttyTel (Windows) or Mac Terminal. I…
David Eisen
  • 643
  • 5
  • 21
2
votes
1 answer

hdparm serial number is garbage

I'm trying to read the model and serial number from a drive using "hdparm -I /dev/sda" and I find on some systems (eg: VMware virtual machines) the serial number and model often return garbage (see below). And the garbage seems to change over time…
TSG
  • 1,674
  • 7
  • 32
  • 51
2
votes
2 answers

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

I enable the serial console during the boot process on centos7 which uses grub2 and systemd (instead of inittab) I would like to undo that serial input/output at the very end of the boot, after a completely successful start, for security…
ck_
  • 459
  • 1
  • 7
  • 20
2
votes
1 answer

udev rule running setserial low_latency don't work

My server runs Ubuntu 14.04.1. I created udev rules in /etc/udev/rules.d/09-pps.rules to get GPS with PPS support work. KERNEL=="ttyS0", SYMLINK+="gps0", MODE="0666" KERNEL=="ttyS0", RUN+="/bin/setserial -q /dev/%k low_latency" KERNEL=="ttyS0",…
wenzul
  • 225
  • 1
  • 4
  • 11
2
votes
0 answers

Create a symlink to a serial port

I have a software that outputs some info to a text file. Now I want to redirect that output to a serial port. The file name is hard coded in the software. So I decided to create a symlink to the serial port. The symlink will have the same name as…
smsrecv
  • 131
  • 2
2
votes
1 answer

Agetty terminating during login on serial connection

I'm trying to login to a server through the serial port using agetty. When I start agetty and open the serial connection, I see the login prompt but as soon as I enter the username (in my case root), agetty gets killed. Not only that, along with…
AKR1989
  • 23
  • 4
2
votes
2 answers

Need help setting up an HP Procurve 2650 switch via serial using Linux.

I recently bought an HP Procurve 2650 (J4899A) off ebay and it came out without a serial cable. So I also purchased a null modem serial cable (rs232) to connect to it (Assuming this is the right one). I have plugged it into a box running debian and…
user168209
  • 23
  • 1
  • 1
  • 3
2
votes
0 answers

Linux: serial port forwarding via RDP to Windows machine

I'm trying to redirect serial device on /dev/ttyUSB0 to RDP session with Windows (XP or server 2003) through FreeRDP or rdesktop. Like this for example: xfrerdp /a:serial,COM3,/dev/ttyUSB0 /v:server rdesktop -r comport:COM4=/dev/ttyUSB0 server At…
Dmitry Bastron
  • 121
  • 1
  • 3
2
votes
2 answers

Powervault MD circular console cable

We have two Powervault MD SAS devices, the specific model eludes me as these are remote and not accessible to me and anyone on-site doesn't have the capability to locate a service tag/serial or model number. I was able to get some pictures in which…
TryTryAgain
  • 1,152
  • 5
  • 22
  • 41
2
votes
2 answers

USB/Serial converter, data passes only one way

There's an USB/Serial converter connecting two boxes. Box A has USB end, box B has serial port end. On box A: screen /dev/ttyUSB0 9600 On box B (the one I'm trying to connect to from box A): /etc/inittab: ... T0:23:respawn:/sbin/getty -L ttyS0…
Karolis T.
  • 2,719
  • 7
  • 33
  • 45
2
votes
1 answer

Virtual COM port to TCP server?

I've got a project that there's no budget for. Basically I need to get a null modem connection set up between our phone systems(physical servers running Win2K8 32b) and our new reporting system(virtual server running Win2K3) in another location. I…
Justin Popa
  • 45
  • 1
  • 1
  • 7
2
votes
2 answers

Cisco Serial vs T1/E1

I have a router and I have the chance to receive the WAN connection either from a Serial port (Smart Serial) or T1/E1. I have both cards for Serial and E1/T1 interfaces. I really don't know what are the pros/cons from one to another. Can anyone…
Andre
  • 1,341
  • 4
  • 19
  • 34