Re: PPP Carrier Detect problem.

From: Louis Swart (louis_at_louisswart.co.za)
Date: 08/22/05

  • Next message: Adrian von Bidder: "Re: xserver-xorg: - Matrox G550 Dualhead woes!"
    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
    

  • Next message: Adrian von Bidder: "Re: xserver-xorg: - Matrox G550 Dualhead woes!"

    Relevant Pages

    • Re: UART timing
      ... HyperTerminal connection to GPRS modem at 9600 baud works fine. ... connected messages sent come out as garbage at server end. ...
      (comp.arch.embedded)
    • Re: GPRS internet Wince5.0
      ... You could try to connect your gprs modem to a pc with windows xp or 2000. ... that connection progress. ... the problem is not in your ce platform. ... will probably see it as a hangup request and disconnect the gprs connection. ...
      (microsoft.public.windowsce.platbuilder)
    • Re: PPP Carrier Detect problem.
      ... "Louis Swart" wrote: ... > When I unplug the GPRS modem from the serial port I can ... > But pppd does not close the connection and the ppp0 interface remains available. ...
      (Debian-User)
    • Re: PPP Carrier Detect problem.
      ... > When I unplug the GPRS modem from the serial port I can ... > But pppd does not close the connection and the ppp0 interface remains ... Have you tried lcp-echo-interval and lcp-echo-failure? ... -- Harry Mudd, "I, Mudd", stardate 4513.3 -- ...
      (Debian-User)
    • Re: UART timing
      ... > * HyperTerminal connection to GPRS modem at 9600 baud works fine. ... > * Embedded device connection to GPRS modem at 9600 baud doesn't work ...
      (comp.arch.embedded)