Re: PPP Carrier Detect problem.
From: Louis Swart (louis_at_louisswart.co.za)
Date: 08/22/05
- Previous message: J.A. de Vries: "Re: ANSI color code chart"
- In reply to: M-L: "Re: PPP Carrier Detect problem."
- Next in thread: Bill Marcum: "Re: PPP Carrier Detect problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <debian-user@lists.debian.org> Date: Mon, 22 Aug 2005 14:45:53 +0200
>> Hi,
>>
>> I have a Debian GNU/Linux 3.1 Intel x86 installation that has pppd version 2.4.3.
>>
>> I have a GPRS modem connected to /dev/ttyS0.
>> I can connect and get a ppp0 interface.
>> When I unplug the GPRS modem from the serial port I can
>> see the modem signals change state including CD (Carrier Detect):
>>
>> >From : 0: uart:16550A port:000003F8 irq:4 tx:2276 rx:2864 RTS|CTS|DTR|DSR|CD
>> To : 0: uart:16550A port:000003F8 irq:4 tx:2329 rx:2911 CTS|DSR
>>
>> But pppd does not close the connection and the ppp0 interface remains available.
>>
>> If I do the same test on Fedora Core 3 that has pppd version 2.4.2 all works 100%.
>>
>> Can anyone confirm this and possibly give a solution?
>>
>> I have tried different combinations of "crtscts", "cdtrcts" and "modem" with no good result.
>>
>> Thanks,
>>
>> Louis.
>
>
> Use <top> to discover the pid and then kill it, or maybe try poff before you disconnect?
>
> Just thinking aloud.
>
Yes, I do that currently. But the correct way would be for ppp to respond when the modem
indicates that the connection was lost with Carrier Detect. My script now first needs to findout
if the connection is lost before it must kill ppp and then restart it.
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: J.A. de Vries: "Re: ANSI color code chart"
- In reply to: M-L: "Re: PPP Carrier Detect problem."
- Next in thread: Bill Marcum: "Re: PPP Carrier Detect problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|