This article is from the AmiTCP/IP FAQ, by Mike Meyer with numerous contributions by others.
a) There are many reasons for this problem. The most common is that the serial device in use by another program, for example your comms package. (Term, Terminus etc). If you are using a terminal package to dial into your TCP/IP server this will give this error. And your modem is not set to ignore DTR, so when you quit term the modem hangs up the phone, thus ending your Connection.
b) There are many solutions to avoid this problem. I am going to suggest 2. The first is to use the Dial in arexx script that in on Aminet, this automates the entire connection process, Arexx is used to dial up your Server enter your account details and startup AmiTCP when it has connected and logged in. The script is very flexible and also handles Dynamic IP assign, you may need to modify the script depending on your setup, however this is a very straightforward process.
The script is available from Aminet. <ftp://aminet/comm/net/amitcp_dial10.lha>
Also there is another dialer program caller dialer. This program acts as a go between serial.device and your PPP/SLIP driver. This program dials up your hosts and logs the user in and then puts the SANA-II driver online. This is available from Demon. <ftp://ftp.leo.org/pub/comp/platforms/amiga/aminet/comm/net/>
A similar type program is gwcslip, by Graham Walter. This is a CSLIP SANA-II driver which dials into your host. It works very much like to the above program. This program is available from Demon <ftp://ftp.demon.co.uk/pub/amiga/> in gwslip#?.lha. Look for the revision number which is part of the filename.
c) The other is to set you modem to ignore DTR. For most modems, "AT&D0" will work; if it doesn't, consult your modem manual. After doing that, start your terminal program, dial into your server, login in as normal and issue what commands you need to start up your TCP/IP connection (e.g. sliplogin). When you have started up your serving program QUIT your terminal program leaving the call running and THEN start AmiTCP by executing AmiTCP:bin/startnet
NOTE: You must ensure that the baud rate your terminal program is using is the same as the baud rate you have configured your SLIP/CSLIP/PPP driver to use. Please, remember to set your baud rate to the configuration file of the SANA-II device driver you are using. See the documentation inluded with your SANA-II driver for more information on this file.
 
Continue to: