[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: carrier detect with PPP
Has anyone used the Carrier Detect line to control when the PPP daemon dies?
I can connect a GPRS modem using PPP and send and receive data, but if I
disconnect the modem cable or the modem is disconnected from the network
(dropping the CD line) the pppd continues to run.
I have added "modem" to the /etc/ppp/options and I have made sure that
"local" is not being used
I have tried using pppd 2.4.1 instead of pppd 2.4.3b (requiring a new
compile pppd and chat)
Hardware: Axis 82 dev
Software: cris-dist-1.56 devboard82-R1_91 and linux-2.4.22
Tried with both ttyS0 and ttyS2
the debugging on ttyS0 is disabled and the DTR, DSR, RI and CD are enbled
and set with following
I have tried several combinations but can not get the pppd to die
any ideas would be greatly appreciated?
R & D Engineer
Multitrode Pty Ltd