Well,
I've seen similar problems actually. This is why I created my ADSL
auto-reconnect script. What I saw is that sometimes the connection
wasn't established, and I need to re-connect several times until it
was up properly. I don't think this is pppd problem, what I saw is
that pppd times out and exits. Sometimes connection simply dies (modem
remains synchronized, but pppd exits due to lack of lcp-echo-reply),
and it takes 10 tries or more to bring it back. Since the reconnection
is automatic and always succeeds, sooner or later, I don't worry about
it much. I connect to different ISP then Solomon, so I think the
problem is on Bezeq's side.

My system:

RedHat 7.0 with all the patches, etc. and 2.4.2 kernel, pppd 2.4.0.
Orkit ATUR3 ADSL modem connected to Barak.
My ADSL auto-reconnect script
(http://www.hageltech.com/download/adsl-connect-0.1.tar.gz)

Haim.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of [EMAIL PROTECTED]
> Sent: Thursday, April 12, 2001 4:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ADSL problem
>
>
> As I write this I've been on-line for about an hour without
> PPP dying so maybe
> whatever was wrong has **solved itself**. I didn't do
> anything to solve the
> problem - but then again, an hour is still not enough time
> to know if the
> problem is gone :-). I've added a part of the log at the
> end of this message.
>
>
> On 12-Apr-2001 mulix wrote:
> > it is not my intention to open an ISP flame war, but if
> your ISP is so
> > ignorant of linux, why don't you switch to a
> linux-friendly ISP? (i'm
> > not going to recommend one, just take a quick look at my
> mail headers).
> I don't think we should need a **linux-friendly ISP**.
> Until now, it hasn't
> made any difference to me who my ISP is. The same was true
> of my dial-up ISP,
> who knew nothing about LINUX. I had very few problems with
> either until now.
> The truth is, that I don't think the ISPs are WINDOWS
> friendly either since I've
> heard many stories of Windows users being told the
> **solution** to a problem is
> to re-install Windows. In any case, the reason I chose my
> ISP is MONEY - If I'm
> not mistaken, you pay three times what I do per month!!! (I
> pay 99 shekels and
> will get two months free after the first 10).
>
>
> > ppp doesn't start points to a configuration problem on
> your machine.
> That would be logical if it was a situation where it never
> started, but in my
> case it sometimes does (and dies after a few minutes) and
> sometimes won't start
> at all. Turning the ALCATEL modem off and on again
> **sometimes** helps - but
> not always.
>
> > there is no such things as no error messages! are you sure you are
> > giving ppp the  debug command line option? if yes,
> compile it again and
> > make sure you have debugging enabled.
> I'm running the compiled version of PPTP (acording to the
> HOWTO instructions),
> but I never compiled pppd - I'm using it as installed on
> Mandrake 7.2 and it
> does write to /var/log/syslog. I also get debug messages,
> from pptp but:
> 1 - When PPP does start, the messages are normal and I get
> no message when it
> dies.
> 2 - When PPP doesn't start, I get the same debug messages
> as usual. The only
> difference is that I don't get the warning message that I
> usually get. I have
> no idea what this warning message is, but I do get it every
> time I connect, so I
> assume it's normal:
> warn[decaps_gre:pptp_gre.c:239]: discarding out-of-order
>
> To summarize, when I run a script to connect (called
> myisrasrvsolomon) I get the
> following when the connection is successful:
>
> [root@shlomo1 /root]# myisrasrvsolomon
> starting ADSL on Israsrv   -  solomon
> (unknown)[1760]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:538]: Client
> connection established.
> (unknown)[1760]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:644]: Outgoing call
> established.
> [root@shlomo1 /root]# warn[decaps_gre:pptp_gre.c:239]:
> discarding out-of-order
>
>
> I get the following when PPP doesn't come up.
>
>
> [root@shlomo1 /root]# myisrasrvsolomon
> starting ADSL on Israsrv   -  solomon
> (unknown)[2508]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:538]: Client
> connection established.
> (unknown)[2508]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:644]: Outgoing call
> established.
>
>
>
>
>
> As far as logs are concerned, here's a sample of
> /var/log/syslog when I
> tried to connect unsuccessfully a few times. I turned the
> ALCATEL off and on
> again a few times and finally was able to connect - see the
> log entries
> starting at Apr 12 15:41:24   -  I added a line of ******
> to make it easier to
> find.
>
> These line look **strange** to me but I don't know what they mean:
> Apr 12 15:25:12 shlomo1 pppd[2511]: sent [LCP ConfReq
> id=0x1 <asyncmap 0x0>
> <magic 0x787197a3> <pcomp> <accomp>]
> Apr 12 15:25:40 shlomo1 last message repeated 9 times
> Apr 12 15:25:43 shlomo1 pppd[2511]: LCP: timeout sending
> Config-Requests
>
>
>
> I was not able to find anything in the log at the times
> when PPP died, but
> that's probably because I don't remember at exactly what
> time it happened and I
> have so many PPPD messages in the log that I don't know
> which are **crashes**
> and which are disconnects that I did by killing PPTP. I'll
> try to find log
> messages if it happens again.
>
>
>
>
> Apr 12 15:24:00 shlomo1 pppd[2487]: pppd 2.4.0 started by
> root, uid 0
> Apr 12 15:24:00 shlomo1 pppd[2487]: Using interface ppp0
> Apr 12 15:24:00 shlomo1 pppd[2487]: Connect: ppp0 <--> /dev/ttya0
> Apr 12 15:24:00 shlomo1 pppd[2487]: Warning - secret file
> /etc/ppp/pap-secrets
> has world and/or group access
> Apr 12 15:24:00 shlomo1 pppd[2487]: sent [LCP ConfReq
> id=0x1 <asyncmap 0x0>
> <magic 0x239602d5> <pcomp> <accomp>]
> Apr 12 15:24:27 shlomo1 last message repeated 9 times
> Apr 12 15:24:30 shlomo1 pppd[2487]: LCP: timeout sending
> Config-Requests
> Apr 12 15:24:30 shlomo1 pppd[2487]: Connection terminated.
> Apr 12 15:24:31 shlomo1 pppd[2487]: Exit.
> Apr 12 15:24:32 shlomo1 named[689]: ns_forw:
> sendto([192.203.230.10].53):
> Network is unreachable
> Apr 12 15:24:49 shlomo1 (unknown)[2483]:
> log[pptp_conn_close:pptp_ctrl.c:282]:
> Closing PPTP connection
> Apr 12 15:25:11 shlomo1 (unknown)[2508]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:538]: Client
> connection established.
> Apr 12 15:25:12 shlomo1 (unknown)[2508]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:644]: Outgoing
> call established.
> Apr 12 15:25:12 shlomo1 modprobe: modprobe: Can't locate
> module char-major-108
> Apr 12 15:25:12 shlomo1 pppd[2511]: pppd 2.4.0 started by
> root, uid 0
> Apr 12 15:25:12 shlomo1 pppd[2511]: Using interface ppp0
> Apr 12 15:25:12 shlomo1 pppd[2511]: Connect: ppp0 <--> /dev/ttya0
> Apr 12 15:25:12 shlomo1 pppd[2511]: Warning - secret file
> /etc/ppp/pap-secrets
> has world and/or group access
> Apr 12 15:25:12 shlomo1 pppd[2511]: sent [LCP ConfReq
> id=0x1 <asyncmap 0x0>
> <magic 0x787197a3> <pcomp> <accomp>]
> Apr 12 15:25:40 shlomo1 last message repeated 9 times
> Apr 12 15:25:43 shlomo1 pppd[2511]: LCP: timeout sending
> Config-Requests
> Apr 12 15:25:43 shlomo1 pppd[2511]: Connection terminated.
> Apr 12 15:25:44 shlomo1 pppd[2511]: Exit.
> Apr 12 15:27:42 shlomo1 (unknown)[2508]:
> log[pptp_conn_close:pptp_ctrl.c:282]:
> Closing PPTP connection
> Apr 12 15:27:52 shlomo1 (unknown)[2520]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:538]: Client
> connection established.
> Apr 12 15:27:53 shlomo1 (unknown)[2520]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:644]: Outgoing
> call established.
> Apr 12 15:27:53 shlomo1 modprobe: modprobe: Can't locate
> module char-major-108
> Apr 12 15:27:53 shlomo1 pppd[2523]: pppd 2.4.0 started by
> root, uid 0
> Apr 12 15:27:53 shlomo1 pppd[2523]: Using interface ppp0
> Apr 12 15:27:53 shlomo1 pppd[2523]: Connect: ppp0 <--> /dev/ttya0
> Apr 12 15:27:53 shlomo1 pppd[2523]: Warning - secret file
> /etc/ppp/pap-secrets
> has world and/or group access
> Apr 12 15:27:53 shlomo1 pppd[2523]: sent [LCP ConfReq
> id=0x1 <asyncmap 0x0>
> <magic 0xa458bf8a> <pcomp> <accomp>]
> Apr 12 15:28:20 shlomo1 last message repeated 9 times
> Apr 12 15:28:23 shlomo1 pppd[2523]: LCP: timeout sending
> Config-Requests
> Apr 12 15:28:23 shlomo1 pppd[2523]: Connection terminated.
> Apr 12 15:28:24 shlomo1 pppd[2523]: Exit.
> Apr 12 15:29:50 shlomo1 (unknown)[2520]:
> log[pptp_conn_close:pptp_ctrl.c:282]:
> Closing PPTP connection
> Apr 12 15:30:00 shlomo1 CROND[2537]: (root) CMD (   /sbin/rmmod -as)
> Apr 12 15:33:12 shlomo1 postfix/smtpd[2543]: connect from
> localhost.localdomain[127.0.0.1]
> Apr 12 15:33:12 shlomo1 postfix/smtpd[2543]: disconnect from
> localhost.localdomain[127.0.0.1]
> Apr 12 15:40:00 shlomo1 CROND[2557]: (root) CMD (   /sbin/rmmod -as)
> Apr 12 15:40:00 shlomo1 kernel: PPP: ppp line discipline
> successfully
> unregistered
>
>
> ******************************
>
>
> Apr 12 15:41:24 shlomo1 (unknown)[2564]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:538]: Client
> connection established.
> Apr 12 15:41:25 shlomo1 (unknown)[2564]:
> log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:644]: Outgoing
> call established.
> Apr 12 15:41:25 shlomo1 modprobe: modprobe: Can't locate
> module char-major-108
> Apr 12 15:41:25 shlomo1 kernel: CSLIP: code copyright 1989
> Regents of the
> University of California
> Apr 12 15:41:25 shlomo1 kernel: PPP: version 2.3.7 (demand dialling)
> Apr 12 15:41:25 shlomo1 kernel: PPP line discipline registered.
> Apr 12 15:41:25 shlomo1 kernel: registered device ppp0
> Apr 12 15:41:25 shlomo1 pppd[2568]: pppd 2.4.0 started by
> root, uid 0
> Apr 12 15:41:25 shlomo1 pppd[2568]: Using interface ppp0
> Apr 12 15:41:25 shlomo1 pppd[2568]: Connect: ppp0 <--> /dev/ttya0
> Apr 12 15:41:25 shlomo1 pppd[2568]: Warning - secret file
> /etc/ppp/pap-secrets
> has world and/or group access
> Apr 12 15:41:25 shlomo1 pppd[2568]: sent [LCP ConfReq
> id=0x1 <asyncmap 0x0>
> <magic 0xb88de9b6> <pcomp> <accomp>]
> Apr 12 15:41:28 shlomo1 pppd[2568]: sent [LCP ConfReq
> id=0x1 <asyncmap 0x0>
> <magic 0xb88de9b6> <pcomp> <accomp>]
> Apr 12 15:41:28 shlomo1 pppd[2568]: rcvd [LCP ConfRej
> id=0x1 <asyncmap 0x0>
> <pcomp> <accomp>]
> Apr 12 15:41:28 shlomo1 pppd[2568]: sent [LCP ConfReq
> id=0x2 <magic 0xb88de9b6>]
> Apr 12 15:41:28 shlomo1 pppd[2568]: rcvd [LCP ConfAck
> id=0x2 <magic 0xb88de9b6>]
> Apr 12 15:41:31 shlomo1 pppd[2568]: sent [LCP ConfReq
> id=0x2 <magic 0xb88de9b6>]
> Apr 12 15:41:31 shlomo1 pppd[2568]: rcvd [LCP ConfAck
> id=0x2 <magic 0xb88de9b6>]
> Apr 12 15:41:31 shlomo1 pppd[2568]: rcvd [LCP ConfReq
> id=0xdd <mru 1500> <auth
> pap> <magic 0x1cfee61>]
> Apr 12 15:41:31 shlomo1 pppd[2568]: sent [LCP ConfAck
> id=0xdd <mru 1500> <auth
> pap> <magic 0x1cfee61>]
> Apr 12 15:41:31 shlomo1 pppd[2568]: Warning - secret file
> /etc/ppp/pap-secrets
> has world and/or group access
> Apr 12 15:41:31 shlomo1 pppd[2568]: sent [PAP AuthReq id=0x1
> user="solomon@IIsrasrv" password=<hidden>]
> Apr 12 15:41:34 shlomo1 pppd[2568]: rcvd [PAP AuthAck id=0x1 ""]
> Apr 12 15:41:34 shlomo1 pppd[2568]: sent [IPCP ConfReq
> id=0x1 <addr 0.0.0.0>
> <compress VJ 0f 01>]
> Apr 12 15:41:34 shlomo1 kernel: PPP BSD Compression module
> registered
> Apr 12 15:41:34 shlomo1 kernel: PPP Deflate Compression
> module registered
> Apr 12 15:41:34 shlomo1 pppd[2568]: sent [CCP ConfReq
> id=0x1 <deflate 15>
> <deflate(old#) 15> <bsd v1 15>]
> Apr 12 15:41:34 shlomo1 pppd[2568]: rcvd [LCP EchoReq
> id=0x0 magic=0x1cfee61]
> Apr 12 15:41:34 shlomo1 pppd[2568]: sent [LCP EchoRep
> id=0x0 magic=0xb88de9b6]
> Apr 12 15:41:34 shlomo1 pppd[2568]: rcvd [IPCP ConfReq id=0x44 <addr
> 192.117.196.1>]
> Apr 12 15:41:34 shlomo1 pppd[2568]: sent [IPCP ConfAck id=0x44 <addr
> 192.117.196.1>]
> Apr 12 15:41:34 shlomo1 pppd[2568]: rcvd [LCP ProtRej
> id=0xde 80 fd 01 01 00 0f
> 1a 04 78 00 18 04 78 00 15 03 2f]
> Apr 12 15:41:37 shlomo1 pppd[2568]: sent [IPCP ConfReq
> id=0x1 <addr 0.0.0.0>
> <compress VJ 0f 01>]
> Apr 12 15:41:37 shlomo1 pppd[2568]: rcvd [IPCP ConfRej
> id=0x1 <compress VJ 0f
> 01>]
> Apr 12 15:41:37 shlomo1 pppd[2568]: sent [IPCP ConfReq
> id=0x2 <addr 0.0.0.0>]
> Apr 12 15:41:37 shlomo1 pppd[2568]: rcvd [IPCP ConfNak id=0x2 <addr
> 192.117.196.104>]
> Apr 12 15:41:37 shlomo1 pppd[2568]: sent [IPCP ConfReq id=0x3 <addr
> 192.117.196.104>]
> Apr 12 15:41:37 shlomo1 pppd[2568]: rcvd [IPCP ConfReq id=0x44 <addr
> 192.117.196.1>]
> Apr 12 15:41:37 shlomo1 pppd[2568]: sent [IPCP ConfAck id=0x44 <addr
> 192.117.196.1>]
> Apr 12 15:41:37 shlomo1 pppd[2568]: rcvd [IPCP ConfAck id=0x3 <addr
> 192.117.196.104>]
> Apr 12 15:41:37 shlomo1 pppd[2568]: local  IP address
> 192.117.196.104
> Apr 12 15:41:37 shlomo1 pppd[2568]: remote IP address 192.117.196.1
> Apr 12 15:41:37 shlomo1 pppd[2568]: Script /etc/ppp/ip-up
> started (pid 2571)
> Apr 12 15:41:37 shlomo1 pppd[2568]: rcvd [LCP EchoReq
> id=0x0 magic=0x1cfee61]
> Apr 12 15:41:37 shlomo1 pppd[2568]: sent [LCP EchoRep
> id=0x0 magic=0xb88de9b6]
> Apr 12 15:41:37 shlomo1 pppd[2568]: Script /etc/ppp/ip-up
> finished (pid 2571),
> status = 0x0
> Apr 12 15:43:13 shlomo1 postfix/smtpd[2596]: connect from
> localhost.localdomain[127.0.0.1]
> Apr 12 15:43:13 shlomo1 postfix/smtpd[2596]: disconnect from
> localhost.localdomain[127.0.0.1]
> Apr 12 15:46:37 shlomo1 pppd[2568]: rcvd [LCP EchoReq
> id=0x1 magic=0x1cfee61]
> Apr 12 15:46:37 shlomo1 pppd[2568]: sent [LCP EchoRep
> id=0x1 magic=0xb88de9b6]
> Apr 12 15:50:00 shlomo1 CROND[2611]: (root) CMD (   /sbin/rmmod -as)
> Apr 12 15:51:37 shlomo1 pppd[2568]: rcvd [LCP EchoReq
> id=0x2 magic=0x1cfee61]
> Apr 12 15:51:37 shlomo1 pppd[2568]: sent [LCP EchoRep
> id=0x2 magic=0xb88de9b6]
>
> //-------------------------
> Shlomo Solomon
> E-Mail: [EMAIL PROTECTED]
> http://come.to/shlomo.solomon
> Date: 12-Apr-2001   Time: 16:55:27
>
> Message sent by XFMail on a LINUX Mandrake 7.2 machine
> //-------------------------
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>
>


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to