zixenus's blog

how to use serial for both pppd and getty

Submitted by zixenus
on July 22, 2009 - 7:38am

Hi Everybody, I am using our only serial port(/dev/ttyS0) for pppd. We are also getting console output through serial. So, to get things going I blocked getty in inittab. I am currently connecting my box via ssh and then i can run pppd, chat script etc.Can I have a setup so that I can give exlusive access of serial to pppd when it runs and when it exits it will unblock it?