CompuServe Thread

#My CIS AmiTCP setup

3 messages in this thread
#192901From: Jonathan BlackwellApr 17, 1995 3:07 AM
This is a brief rundown of how I configured PPP1.3 and AmiTCP4.0 to run on my system. I use it with DaFTP, AMosaic, Grapevine, Gopher, Archie, and GUI-FTP all without any problems. AmiTCP:db/interfaces should have this line added: <<<< ppp0 DEV=Devs:Networks/ppp.device UNIT=0 IPTYPE=33 NOARP P2P >>>> AmiTCP:db/resolv.conf should read: <<<<< ; Name servers NAMESERVER 149.174.64.41 ; Domain names DOMAIN compuserve.com >>>> My startnet script reads: (located in AmiTCP:bin) <<<<< AmiTCP:bin/online ppp0 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 ; Add route to the default gateway AmiTCP:bin/route add default $ppp0IPRemote SetEnv HOSTNAME `AmiTCP:bin/hostname` Assign >NIL: TCP: EXISTS IF WARN Mount TCP: FROM AmiTCP:devs/inet-mountlist EndIF ; Start the internet `super server' Run <NIL: >NIL: AmiTCP:bin/inetd run >NIL: AmiTCP:bin/CLChatServer Assign Inet: AmiTCP: setenv SOCKETCONFIG "UID=100 GID=100 USER=71732.3311 DOMAIN=compuserve.com UMASK=000" loadlib AmiTCP:libs/socket.library >>>> Note that the CLChatServer you would not normally include. It is an add-on that allows you to run as a client/server for chatting. Also note that the Inet: assign, the SOCKETCONFIG, and the socket.library are to make AS225R2 apps runnable on AmiTCP 4.0 and require the socket.library v 1.2. My ENVARC:SANA2/ppp0.config reads: <<<< dialer.device 0 19200 0.0.0.0 7WIRE LOG=40 REMOTEIP=149.174.64.25 >>>> Note that I replaced serial.device with dialer.device. You could easily use the PPP dial script as well. I happen to like the dialer.device for dial control. My ENVARC:dialer0.config reads: <<<<< # Most config commands are optional # keywords are case-insensitive # default: "serial.device" DEVICE serial.device # default: 0 UNIT 0 # default: Prefs setting BAUD 19200 # default: ATZ #INITSTRING ATZ INITSTRING AT&F2&C1&D2 # default: ATDT #DIALSTRING ATDT131,1234567890, #DIALSTRING ATDP9,WT DIALSTRING ATDT*70W # You can have as many phone numbers as you like, including none. They will # be dialled in turn until you get a CONNECT. Dialling will be aborted on # "ERROR" or "NO DIALTONE". If there are no phone numbers, no modem # initialisation will be done. #PHONE 0123-456789 #PHONE 0123-567890 PHONE 889-6009 PHONE 251-8304 PHONE 727-8113 # default: 60 DIALTIMEOUT 100 # You can have as many Conversations as you like, including none. # we wait for the first string, then send the second, with a CR appended # they will be actioned in the order encountered CONVERSE CONVERSE Ho CIS CONVERSE U 71732.3311/GO:PPP89 CONVERSE Password: mypassword # The time we wait in a Conversation for the expected string # default: 30 #TIMEOUT 20 # default: 320 11 320 100 WINDOWSIZE 320 11 320 200 # default: 320 11 320 11 #ZOOMSIZE 320 11 320 11 >>>>> Here is my stopnet script: <<<<< KEY FLUSH/S BRA { KET } ; $Id: stopnet,v 3.1 1994/05/27 07:08:39 jraja Exp $ rx "address AMITCP; KILL" ; Send "KILL" to AmiTCP If {FLUSH} Wait 2 secs If `rx "Say Show(ports, AMITCP)"` EQ 0 Avail >NIL: FLUSH EndIf EndIf offline ppp0 >>>> If you have any questions, just ask. -Jonathan MAC Quadra/486PC compatible courtesy Amiga, Emplant and BB. Emplant beta tester. Running AP v1.80. E-mail: JonathanB@delrina.com http://www.delrina.com
#192960From: Paul IdolApr 17, 1995 2:37 PM
PLEASE force-format that message and re-post it!!!!!! Mr. Zombie
#192987From: Marlene Zenker/SYSOPApr 17, 1995 5:29 PM
Thanks Jonathan! Can you please upload those instructions in an archive to the libraries? I'm sure this question will come up again. Steve