Re: Disconnection command?



On Wed, 19 Apr 2006, in the Usenet newsgroup comp.protocols.ppp, in article
<m21wvtg5ta.fsf@xxxxxxxxx>, Rodolfo Medina wrote:

Under Gnu/Debian Linux, to connect and disconnect I use the commands
'pon' and 'poff' respectively.
Instead, other Linux distributions don't have 'pon' and 'poff':

Yes, that's a Debian application.

then I connect with 'pppd call my_provider', but don't
know how to disconnect apart from switching off the phone.

If you have access to that console/terminal where you ran that command
and it is _running_ the pppd daemon (no command prompt), then pressing
the left Ctrl and C keys will stop the session.

If you ran that 'pppd call my_provider' and the command prompt returns
so that you can do other things while the call is in progress, then
you can disconnect using

killall -TERM pppd

Old guy
.



Relevant Pages

  • Re: Disconnection command?
    ... other Linux distributions don't have 'pon' and 'poff': ... then I connect with 'pppd call my_provider', ... kill SIGHUP `cat /var/run/ppp0.pid` ...
    (comp.protocols.ppp)
  • Re: Disconnection command?
    ... other Linux distributions don't have 'pon' and 'poff': ... if I close the connection with 'killall pppd', when I try to start it again ... Then I have to switch off the phone and switch it on again, ... install Emacs cvs and Gnus cvs under Debian yet. ...
    (comp.protocols.ppp)
  • How to get output during ppp connection?
    ... Excuse this basic question: ... commands 'pppd call' or 'pon'? ... and excuse again the basicness of my question. ...
    (comp.protocols.ppp)
  • Re: How to get output during ppp connection?
    ... pppd sends its logging output to syslog, ... >commands 'pppd call' or 'pon'? ... and the output is sent to syslog with log local2. ...
    (comp.protocols.ppp)