For testing some software, I'm trying to set up a PPP connection between an Ubuntu 18.04 host and an Ubuntu 16.04 guest running in VirtualBox. So far I've tried:
- Creating virtual serial devices on the host with
socat PTY,link=/dev/ttyS14 PTY,link=/dev/ttyS15and then connecting virtualbox's
/dev/ttyS14as a host device - but VirtualBox complains that it can't set options on the port (in this case,
/dev/ttyS14is a link to
- Configuring VirtualBox's
COM1as a host pipe to
pppddoesn't know that the commandline option
/tmp/vbox-serialis a serial port.
- Creating a virtual serial device and linking it to a socket with
socat PTY,link=/dev/ttyS14 PIPE:/tmp/vbox-serialand configuring VirtualBox to connect its
COM1port to and existing socket at
/tmp/vbox-serialusing the host pipe option, but this results in
VERR_NET_CONNECTION_REFUSEDon VM startup (
prw-rw-r-- 1 root ttyand VirtualBox is running as a user who is a member to the
Can anyone point me to the right combination so that VirtualBox and pppd can communicate?