Article View: comp.sys.amiga.networking
Article #5953Re: Is PPP recoverable after reset???
From: John S. Burger
Date: Fri, 29 Mar 1996 08:10
Date: Fri, 29 Mar 1996 08:10
54 lines
3251 bytes
3251 bytes
On or about 26-Mar-96 21:29:52 Bill Near typed the following words about "Re:
Is PPP recoverable after reset???". My reply is thus...
Hi Bill,
BN> On 25 Mar 1996 23:07:31 GMT, Pacarana articulated:
BN> <> > I don't think that will always work! I've had two service
BN> providers so
BN> <> > far
BN> <> >that use PPP, and both of them drop carrier as soon as the ppp.device
BN> tries
BN> <> >to re-negotiate the link.
BN> <> Evenif they don't drop carrier, it still doesn't seem to work. It
BN> tries to
BN> <> send out all the login and waiting info andjust gets stuck.
BN> I had a system crash yesterday and the modem stayed online.
BN> After a reboot, I executed startnet and the whole connection
BN> was up and running without a redial. I am using AmiTCP 4.2
BN> and PPP 1.45 registered.
I use AmiTCP 4.2 and PPP 1.45 registered also and this works fine. However,
with AmoTCP 4.0demo things are a bit different. The default AmiTCP 4.2
starenet script uses BOOTP to configure the ppp.device. This works fine
using AT&D0 and CD in the ppp0.config file and then running startnet again
the connection is renegotiated. . The startnet script actually creates the
ENV:sana2/ppp0.config file from the defaults you set during the software
installation when the script is run. With AmiTCP 4.0demo the ppp0.config file
resides in env- archive: and is copied to ENV: on bootup. The startnet script
does not use BOOTP (it is not even in the 4.0 archive) it simply uses the
online command to put the ppp.device on line. If you have dynamic connection
it seems the online command (ppp.device) can't reconnect because it doesn't
know the IP addresses. When the startnet script is first run and the
connection negotiated there are two environment variables created--
ppp0IPLocal and ppp0IPRemote -- that contain the current IP addresses. I added
two lines to the end of my V4.0demo startnet script to copy these two
environment variables to env-archive: when the connection is first made. Then
after a reboot they are in ENV: and a simple online command will reconnect
you.
--
// -= John =- jsburger@xmission.com BIX: jburger
\X/ Via
Amateur Radio KB0ES T
Amiga 2000 H
A2630 A2632 John S. Burger Hooper, UT O
2+14megs RAM R
850meg HD This message was composed on... 2.23ß
Iomega ZIP 29-Mar-96 12:48:41 MST
--
Sane? Hell, if I was sane why would I be here?
Technical Details
Message-ID:
<2718.6662T790T1872@xmission.com>Path:
arc1-ca.pugleaf.net!newsfeed.direct.ca!xmission!newsReferences:
<Pine.OSF.3.91.960319105636.3279B-100000@Galeon.uca.es> <4j9620$nt7@guava.epix.net>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newsfeed.direct.ca!xmission!news From: jsburger@xmission.com (John S. Burger) Newsgroups: comp.sys.amiga.networking Subject: Re: Is PPP recoverable after reset??? Date: 29 Mar 96 13:10:37 +0500 Organization: XMission Internet (801 539 0900) Message-ID: <2718.6662T790T1872@xmission.com> References: <Pine.OSF.3.91.960319105636.3279B-100000@Galeon.uca.es> <4j9620$nt7@guava.epix.net> NNTP-Posting-Host: slc134.xmission.com X-Newsreader: THOR 2.22 (Amiga;TCP/IP)