ttyS0 create on LXC

frankz

Active Member
Nov 16, 2020
364
24
38
Hello everyone , I need to create a ttyS0 on a server that runs on LXC .

Could you help me with how to do it?
 
What is on the other end(s) of this virtual serial connection? Do you want the container to connect a getty process to it? Or will it be accessible as device to some other software running inside the container? Do you need help with that part?

Do you want to connect the other end to a physical serial device on the host? Or is this supposed to be a virtual device that allows you to talk to container from host?

Lots of different ways of interpreting your question.
 
What is on the other end(s) of this virtual serial connection? Do you want the container to connect a getty process to it? Or will it be accessible as device to some other software running inside the container? Do you need help with that part?

Do you want to connect the other end to a physical serial device on the host? Or is this supposed to be a virtual device that allows you to talk to container from host?

Lots of different ways of interpreting your question.
Hello and thank you for replying. I should connect a virtual device in particular an rs485 to eth converter. However, I think I have solved it on SOCAT.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!