Unlocking a serial port that remains locked after reboot

خرید بک لینک

I am using pppd to communicate with a modem connected to a serial port. Sometimes, due to power failure or watchdog resets, the connection to the modem is not closed over a reboot.

pppd is then unable to communicate with the serial device on /dev/ttyO4 because it's apparently locked by another process. The screen command won't open it either for the same reason.

How can I ensure that I clean up all serial locks on this port when I boot to avoid this lockout scenario?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 215 تاريخ: سه شنبه 18 خرداد 1395 ساعت: 9:25

صفحه بندی