Tech Journal Back to Tech Journal

How can I make pts's work again in newer linux kernels?

You might be reading this because PPTP said it couldn't allocate a pts or find a free pty. This is because that newer kernels don't have BSD's "ptys-ttys" slave-master pairs. You have to enable this in the kernel .config:

CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

When you run the re-compiled kernel, you'll need to use MAKEDEV pty0 to create a pty.

Last updated on 2006-08-02 14:00:00 -0700, by Shalom Craimer

Back to Tech Journal