How to get output during ppp connection?



Excuse this basic question:
when I connect, with '# pppd call my_provider', or '# pon my_provider',
I don't get any output, although the 'debug' option is present
in the file '/etc/ppp/peers/my_provider'.
If I want to see what's happening
(wether the connection is proceeding well, wether it is broken,
or whatever else), I have to type also: '# plog'.

Now, how can I get a verbose and complete output straight out of the
commands 'pppd call' or 'pon'?

At

http://www.cl.cam.ac.uk/Research/SRG/netos/coms/unix.html

I read:

---------------------------------------------------------------------------------
This is a trace from a successful GPRS connection using ppp v2.4.1 and
the scripts linked above, on an Ericsson R520m. (To get this output,
edit /etc/ppp/peers/gprs-eric to add a line with the word 'debug', and
add '-e' to the calls to chat.
drummond$ pppd call gprs-eric
GPRS Modem init: press <ctrl>-C to disconnect
+++ATATQ0V1&C1
OK
ATE1
OK
AT&F
OK
---------------------------------------------------------------------------------
.... etcetera.
Now, where shall I put the '-e' option? It is not clear in the above
explanation.
I did many attempts, none of them successful.

Thanks, and excuse again the basicness of my question.

Rodolfo

.



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)
  • Re: Disconnection command?
    ... other Linux distributions don't have 'pon' and 'poff': ... know how to disconnect apart from switching off the phone. ... If you ran that 'pppd call my_provider' and the command prompt returns ...
    (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)