Article View: comp.sys.amiga.networking
Article #6425reconnect after reboot--amitcp4.3--it's possible again!
From: John Chen
Date: Fri, 12 Apr 1996 04:05
Date: Fri, 12 Apr 1996 04:05
42 lines
2229 bytes
2229 bytes
For those of you who wanted to reconnect after reboot with AmiTCP4.3,
it's actually fairly easy if you have slip and the provider supports
BOOTP. All you have to do is to have another db/provider.conf that has
all the dialing and logging in instructions deleted. AmiTCP will
renegotiate the connection automatically with this so long as you are
still connected to the server. Do the following:
1) make your modem to ignore DTR by issuing AT&D0
2) copy db/provider.conf to db/provider.conf2
3) delete the dialing instructions after Show/HideConsole in the
provider.conf2 file
4) create a script called reconnect in AmitCP:bin with the following
lines
rename AmiTCP:db/provider.conf AmiTCP:db/provider.conf3
rename AmiTCP:db/provider.conf2 AmiTCP:db/provider.conf
rename AmiTCP:db/provider.conf3 AmiTCP:db/provider.conf2
startnet
rename AmiTCP:db/provider.conf AmiTCP:db/provider.conf3
rename AmiTCP:db/provider.conf2 AmiTCP:db/provider.conf
rename AmiTCP:db/provider.conf3 AmiTCP:db/provider.conf2
5) execute the script whenever you want to reconnect.
That's it.
The first set of renames will switch you to the continue Provider.conf
and the second set of renames switches you back to the dialing
Provider.conf. This way, you'll never have to worry about whether you
have the right provider.conf---so "startnet" will get you the normal
connection while "reconnect" will get you the continued connection.
Thanks to Jarno of NSDi who emailed me back quite promptly about this.
You can also play with startnet to make it accept different arguments,
but I prefer this way since it's easier for me.
BTW, has anyone noticed that the slip connection is faster in 4.3? I
used to get about 1.6K/s at best, now I'm getting nearly 1.9K/s (on a
14.4bps modem)!
--
John Chen
jwcj@rlb6000.scs.uiuc.edu
Be happier!
Technical Details
Message-ID:
<4kkkqi$2rn@vixen.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!vixen.cso.uiuc.edu!jwcjShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!vixen.cso.uiuc.edu!jwcj From: jwcj@rlb6000.scs.uiuc.edu (John Chen) Newsgroups: comp.sys.amiga.networking Subject: reconnect after reboot--amitcp4.3--it's possible again! Date: 12 Apr 1996 04:05:38 GMT Organization: University of Illinois at Urbana Message-ID: <4kkkqi$2rn@vixen.cso.uiuc.edu> NNTP-Posting-Host: rlb6000.scs.uiuc.edu