Ashutosh,

Put "debug kdebug 7" in th /etc/ppp/options file. That should produce
sufficient debuging information in the logs [/var/log/messages, /var/log/secure]
as to why the peer is disconnecting the connection.

Post snippets from the logs after turning on this debugging - then
we'll have enough information to try and solve the problem.

Regards,
-Varun
On Thu, Apr 04, 2002 at 08:38:53PM -0800, ashotosh kaul spoke out thus:
> Hello all
> As varun has said i am posting the log as still ppp is
> giving problem to me i am using wvdial to connect from
> (redhat 7.2) the command prompt of my server and also
> put "noccp" in /etc/ppp/options file well not getting
> what would be the problem please help 
> 
>         PPP log output
> -------------------------------------------------
> Apr  5 10:05:16 server1 pppd[2239]: pppd 2.4.1 started
> by root, uid 0
> Apr  5 10:05:16 server1 pppd[2239]: Using interface
> ppp0
> Apr  5 10:05:16 server1 pppd[2239]: Connect: ppp0 <-->
> /dev/ttyS0
> Apr  5 10:05:37 server1 pppd[2239]: LCP terminated by
> peer
> Apr  5 10:05:39 server1 pppd[2239]: Hangup (SIGHUP)
> Apr  5 10:05:39 server1 pppd[2239]: Modem hangup
> Apr  5 10:05:39 server1 pppd[2239]: Connection
> terminated.
> Apr  5 10:05:39 server1 pppd[2239]: Exit.
> 
> 
> ------------------------------------------------------
> 
> 
> Ashutosh,
> 
> try putting "noccp" as a keyword in /etc/ppp/options
> or use it on the command line if that is how you're
> invoking pppd.
> 
> To quote from "man pppd"
> 
> <quote>
>        noccp  Disable  CCP  (Compression  Control 
> Protocol)  negotiation.   This option
>               should only be required if the peer is
> buggy and gets confused by requests
>               from pppd for CCP negotiation.
> </quoute>
> 
> If this doesn't solve the problem, post the relevant
> part of your logs and we'll have a look at it.
> 
> Regards,
> -Varun
> 
> On Thu, Apr 04, 2002 at 03:12:22AM -0800, ashotosh
> kaul spoke out thus:
> > Hello all.
> > I have redhat 7.2 installed on a system 
> > when i connect is get's connected and after some
> time
> > get's disconnected automatically when i saw the log
> it
> > say's
> >  
> >     LCP terminated by peer
> >     Hangup (SIGHUP)
> >     Modem Hangup
> >     Connection Terminated
> > it also say's that pppd daemon died exit code (16)
> i
> > searched for it and then change mod to 
> > chmod u+s /usr/sbin/pppd this also did n't solve
> any
> > problem please help in this regard as a reply to
> first
> > part (LCP) it's says to remove compression
> control
> > protocol
> > Thanks in advance
> > Ashotosh Kaul
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
>           ================================================
> To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
> To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
>header
> Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
>           =================================================

-- 
---------------------------------------
Mindframe Software & Services Pvt. Ltd.

http://www.mindsw.com
---------------------------------------

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to