On Fri, Feb 15, 2002 at 12:36:27AM +0100, Laurent EVAIN wrote: > Hi, > > I run Debian 2.2 release 3 (stable) > and I use the script ``pon'' to connect > to my IP. > Sometimes I get a connection, sometimes the connection > stops and/or I can't connect. > Since I have 2 providers, I suppose that the problem > comes from my side. > > The analysis in /var/log/syslog of the problem > is not always the same. For instance, sometimes > the problem is ``NO CARRIER'', sometimes
= Not a modem answering at the other end, or the modem at the other end hung up. Modems essentially work by modulating the data on a carrier wave - this refers to the carrier wave not being there (probably a gross simplification!). > it is ``serial link seems to be disconnected'', > ``no response to x requests'', > ``Modem Hangup'' or finally > ``serial line is looped back''. That's ppp discovering that it's talking to itself :-) It doesn't like that too much. > I also saw the line: > Feb 12 09:56:03 debian modprobe: modprobe: Can't locate module net-pf-10 It's a warning only: Basically you IPv6 isn't available in your kernel. If you *want* ipv6, make sure that it is in the kernel. If you don't want ipv6 (and want to eradicate the warning), have a look in /etc/modutils/aliases and activate the line that says: # alias net-pf-10 off and run update-modules. Or you can just ignore the warning. > <SNIP, SNIP, SNIP> > > ################ > Second type of error > ################ > Feb 12 10:29:52 debian pppd[1354]: LCP: timeout sending Config-Requests Here, the two modems are talking OK. But the computer at the (remote) end of the modem isn't answering when PPP wants to intiate the connection. > ################ > Third type of error > ################ > Feb 12 10:24:23 debian pppd[1190]: No response to 4 echo-requests Once the ppp link is up, ppp will send "are you still there" requests (=echo) every so often. If enough of them go unanswered, it will deem the other end "dead" and give up. > ################ > Fourth type of error > ################ > Feb 15 00:00:15 debian pppd[2215]: Hangup (SIGHUP) > Feb 15 00:00:15 debian pppd[2215]: Modem hangup The other end hung up on you. > ################ > Fifth type of error > ################ > Feb 14 23:07:35 debian pppd[2041]: pppd 2.3.11 started by laurent, uid 0 > Feb 14 23:07:36 debian pppd[2041]: Serial connection established. > Feb 14 23:07:36 debian pppd[2041]: Using interface ppp0 > Feb 14 23:07:36 debian pppd[2041]: Connect: ppp0 <--> /dev/ttyS0 > Feb 14 23:07:38 debian pppd[2041]: Serial line is looped back. I'm not sure about this one. ppp doesn't even fire up chat, which I find a bit weird. After which it finds that it is talking to itself. === All of these errors seem to point towards an unreliable modem connection. Perhaps you have noise on the phone line? Can you *hear* the modem when you dial up? (yep - that speaker is a *very* good diagnostic feature!). If they take a long time "handshaking", that's a clue. Especially if they handshare for some 45 seconds and you end up with "NO CARRIER", as this means that the handshaking failed. Noise on the line could also explain the "Modem hangup" errors. -- Karl E. Jørgensen [EMAIL PROTECTED] www.karl.jorgensen.com ... An rfc2324 advocate http://www.rfc.net/rfc2324.html
pgpHmtXyl4EBV.pgp
Description: PGP signature