Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re-establishing PPP connection?

0 views
Skip to first unread message

Scott Cape

unread,
Aug 8, 1995, 3:00:00 AM8/8/95
to
Is there any way to re-establish a PPP connection without redialling
the PPP host? Example: I'm using my PPP connection, and my computer
crashes, or I have to reset for some reason. My modem stays connected
(I use ignore DTR). Is there any way to go back on-line without
hanging up and redialling?
--
Scott Cape Scott...@mail.coretech.com
=================================================================
Amiga 4000/040 25 MHz
10 Megs RAM
120 Meg HD SPAM RULES!
105 Meg SyQuest Removable
Emplant Deluxe (w/e586dx)
=================================================================

Rodney E. Loisel

unread,
Aug 8, 1995, 3:00:00 AM8/8/95
to
Sc...@mail.coretech.com (Scott Cape) writes:

With a SLIP connection I just restart AmiTCP after a reboot and
that's all I have to do.

rlo...@dartmouth.edu


Douglas Russell

unread,
Aug 9, 1995, 3:00:00 AM8/9/95
to
Scott Cape (Sc...@mail.coretech.com) wrote:
: Is there any way to re-establish a PPP connection without redialling

: the PPP host? Example: I'm using my PPP connection, and my computer
: crashes, or I have to reset for some reason. My modem stays connected
: (I use ignore DTR). Is there any way to go back on-line without
: hanging up and redialling?
: --


My provider uses dynamic connections so I just modified my PPPStart
script in a couple of places and it works perfectly. I called my
new script 'PPPResume.' When I have to reset, I just run PPPResume
instead of PPPStart. Hope this helps.

Doug

-------------------------- cut here -------------------------------

echo > env:sana2/ppp0.config "serial.device 0 19200 0.0.0.0"
online ppp0

AmiTCP:bin/umask 022
AmiTCP:AmiTCP
WaitForPort AMITCP
; Configure loop-back device
AmiTCP:bin/ifconfig lo0 localhost
; Configure ppp0
AmiTCP:bin/ifconfig ppp0 $ppp0iplocal $ppp0ipremote
; Add route to this host
AmiTCP:bin/route add $ppp0iplocal localhost
AmiTCP:bin/route add default $ppp0ipremote
; Add route to the default gateway

setenv HOSTNAME `AmiTCP:bin/hostname`
Assign TCP: Exists > NIL:
IF Warn
Mount TCP: from AmiTCP:devs/Inet-Mountlist
EndIf
; Start the internet `super server'
run AmiTCP:bin/inetd

-----------------------------------------------------------------

Nick

unread,
Aug 9, 1995, 3:00:00 AM8/9/95
to

Scott Cape (Sc...@mail.coretech.com) wrote:
: Is there any way to re-establish a PPP connection without redialling
: the PPP host? Example: I'm using my PPP connection, and my computer
: crashes, or I have to reset for some reason. My modem stays connected
: (I use ignore DTR). Is there any way to go back on-line without
: hanging up and redialling?

Just have a script that copies an alternate ppp0.config to env:sana2
that doesn't have the DIALSCRIPT entry in it.

;recover network
delete env:Sana2/ppp0.config
copy AmiTCP:db/no_dialppp0.config ENV:Sana2/ppp0.config
startnet

your normal ppp0.config may be something like

serial.device 0 19200 0.0.0.0 7WIRE IPCP BADXONXOFF
DIALSCRIPT="DH0:Networking/PPP/ppplogin"

your no_dialppp0.config would only have the first line in it,

serial.device 0 19200 0.0.0.0 7WIRE IPCP BADXONXOFF

Of course your ppp0.config isn't like mine, but you get the idea. :)

--
\ / Pope Rev. Dr. Nick the Eversilly Fruitbat of Cornvalley, K.S.C.
--X-- mas...@peak.org -><- | My oppinions in no way represent those of |
/ \ Finger for PGP, fnord.|Yog-Sothoth, Cthulhu, The FBI, or Nick Rusnov.|
-- http://www.peak.org/~masked --


Stewart Skelt

unread,
Aug 9, 1995, 3:00:00 AM8/9/95
to
On 08-Aug-95 20:04:08 Scott Cape wrote:

>Is there any way to re-establish a PPP connection without redialling
>the PPP host? Example: I'm using my PPP connection, and my computer
>crashes, or I have to reset for some reason. My modem stays connected
>(I use ignore DTR). Is there any way to go back on-line without
>hanging up and redialling?

Just restarting AmiTCP works for me.

o-----------------------------o
o| Stewart Skelt |o
----=====O (ste...@defcen.gov.au) O=====----
o| Queanbeyan, NSW, Australia |o
o-----------------------------o


Michael O'Connell

unread,
Aug 9, 1995, 3:00:00 AM8/9/95
to

In article <408fvo$q...@homer.alpha.net> Sc...@mail.coretech.com (Scott Cape)
writes:

> Is there any way to re-establish a PPP connection without redialling
> the PPP host? Example: I'm using my PPP connection, and my computer
> crashes, or I have to reset for some reason. My modem stays connected
> (I use ignore DTR). Is there any way to go back on-line without
> hanging up and redialling?

I've created a new startnet file without the dialup script line in it. This
resumes startnet without calling my provider.

Hope this helps.

Mike

__| __| _/_/_/ _/_/_/ _/ _/ __/ _/_/_/ Beam me up up
_/_| _/_| _/ _/ _/ _/__/ __/ _/ _/ Scotty, I'm
_/ _|_/ _| _/ _/ _/ _/ _| __/ _/ _/ surrounded by
_/ __/ _| _/_/_/ _/_/_/ _/ _| __/ _/_/_/ Bastards!!


Jens Huenerberg

unread,
Aug 10, 1995, 3:00:00 AM8/10/95
to
Sc...@mail.coretech.com (Scott Cape) wrote:

> Is there any way to re-establish a PPP connection without redialling
> the PPP host? Example: I'm using my PPP connection, and my computer
> crashes, or I have to reset for some reason. My modem stays connected
> (I use ignore DTR). Is there any way to go back on-line without
> hanging up and redialling?

Just use:

online devs:networks/ppp.device 0

It won't try a dialup but reestablish the
protocol-connection.

--
Regards, Jens


Elad Tsur

unread,
Aug 10, 1995, 3:00:00 AM8/10/95
to
Nick (mas...@PEAK.ORG) wrote:

: Scott Cape (Sc...@mail.coretech.com) wrote:
: : Is there any way to re-establish a PPP connection without redialling
: : the PPP host? Example: I'm using my PPP connection, and my computer
: : crashes, or I have to reset for some reason. My modem stays connected
: : (I use ignore DTR). Is there any way to go back on-line without
: : hanging up and redialling?

: Just have a script that copies an alternate ppp0.config to env:sana2


: that doesn't have the DIALSCRIPT entry in it.

There is even simpler solution: if you use te CD (carrier detect) option
in ppp0.config , ppp.device will execute the dialscript if and only if
the modem is offline. If the modem is still online, it tries to reashtablish
the link.

--
Elad Tsur http://www.tau.ac.il/~eladts/

John Crookshank

unread,
Aug 11, 1995, 3:00:00 AM8/11/95
to
On 08-Aug-95 20:04:08, Scott Cape (Sc...@mail.coretech.com) posted:

> Is there any way to re-establish a PPP connection without redialling
> the PPP host? Example: I'm using my PPP connection, and my computer
> crashes, or I have to reset for some reason. My modem stays connected
> (I use ignore DTR). Is there any way to go back on-line without
> hanging up and redialling?

> --
> Scott Cape Scott...@mail.coretech.com

Sure - just open a shell, and type Startnet. That will re-start the AmiTCP
software, and you can then launch whatever software you want to use,
AMosaic, FTP, etc.

----------------------------------------------------------------
| John Crookshank | jo...@mcs.com |
| MicroTech Solutions, Inc. | http://www.digiweb.com/~johnc/ |
|----------------------------------------------------------------|
| Desktop video systems dealer - finger/www for more info. |
----------------------------------------------------------------

David Salbego

unread,
Aug 14, 1995, 3:00:00 AM8/14/95
to
John Crookshank (jo...@mcs.com) wrote:
: On 08-Aug-95 20:04:08, Scott Cape (Sc...@mail.coretech.com) posted:

This is only true if the "CD" option is present in the SANA2OPTIONS.
Otherwise, if a DIALSCRIPT option is present, it will try to re-dial,
connect, etc even if the connection is still active. I simply type
STARTNET again.

--Dave


0 new messages