CompuServe Thread

#AmiTCP is killin' me

5 messages in this thread
#195152From: Hank DuckmanApr 29, 1995 10:59 AM
I am sending this open message in the hopes that some of you more knowledgeable people in the forum might be so kind as to help me out of this predicament. I am still not able to get AmiTCP (4.0 demo) and PPP running. I have sent in my registration fees for both programs and am awaiting official confirmation. Meanwhile, back in the jungle: My set-up is now connecting to CIS. The hang-up occurs immediately after it connects and the error message says: "error in dialscript line 24" but my dialscript only has 23 lines??? WhenI click the "ok" button in the error window, I get the opening AmiTCP demo screen with the author's "caveats", etc. Then I click on "ok" to close it and I get another error window, saying "AmiTCP version 4 or later must be started first. When I close that window, it says "AmiTCP initialization failed (could not read command line)". It also mentions "AmiTCP/bin/ifconfig failed return code 20". At this point, the modem stays locked onto my serial.device and the only way I can disconnect is to do a warm reboot??? How can I access the modem when it locks onto the serial.device like that? At any rate, here are my set-up parameters: db/resolv.conf ; Name servers NAMESERVER 0.0.0.0 ; Domain names DOMAIN compuserve.com My bin/startnet file: AmiTCP:bin/online ppp0 AmiTCP:AmiTCP WaitForPort AMITCP ; Configure loop-back device AmiTCP:bin/ifconfig lo0 127.0.0.1 ; Configure ppp0 AmiTCP:bin/ifconfig ppp0 $ppp0IPLocal $ppp0IPRemote ; Add route to this host AmiTCP:bin/route add $ppp0IPLocal 127.0.0.1 ; 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 assign Inet: AmiTCP: My env and envarc/sana2/ppp0.config: serial.device 0 57600 0.0.0.0 7WIRE CD dialscript=dh0:net/ppp/dialscript My dialscript: ECHO ON TIMEOUT 2000 REDIAL "BUSY" SEND "ATZ" WAIT "OK" SEND "AT&C1" WAIT "OK" SEND "AT&D2" WAIT "OK" SEND "AT&F2" WAIT "OK" SEND "ATDT6235666" WAIT "CONNECT" SEND "" WAIT "e:" SEND "CIS" WAIT "D:" SEND "74357,2623/GO:PPPCONNECT" WAIT "ord:" SEND "{mypassword}" WAIT "please…" DELAY 50 ECHO OFF I have an A2000, 040 @33, 32 MB 32-bit, 2 MB chip. Any help will be most appreciated. Hank
#195173From: Mike ReidApr 29, 1995 1:48 PM
Hank, Here's the diffrences between my and your files that I see. Myself and a friend just got it working last night after about a week of putzing around. >db/resolv.conf >; Name servers NAMESERVER 0.0.0.0 ; Domain names DOMAIN compuserve.com Should be: DOMAIN compuserve.com NAMESERVER 149.174.64.41 >My bin/startnet file: >AmiTCP:bin/online ppp0 Am…… You need a line at the beginning of this script saying: online SYS:devs/networks/ppp.device 0 >My env and envarc/sana2/ppp0.config: >serial.device 0 57600 Make sure that this ^^ number is the same as what you have set in serial prefs. >My dialscript: .. SEND "AT&D2" WAIT "OK"….Change the D2 to D0 Hope this helps. I know how frustrating it can be. BTW, for anyone just thinking of trying this stuff, there is a file called CobbWeb (something or other) on the Aminet that automates a good deal of the work in setting this thing up. —Mike—
#195192From: Marlene Zenker/SYSOPApr 29, 1995 6:15 PM
NAMESERVER has to be set to 149.174.64.41
#195209From: Hank DuckmanApr 29, 1995 7:35 PM
Steve; <ppp0.config file looks like: < serial.device 0 38400 0.0.0.0 7WIRE DIALSCRIPT=amitcp:db/myscript < that it's all on one line! I put it all on one line <My startnet script's first line is; <online ppp.device 0 and added the above to startnet script. Still no change! <I don't run the AmiTCP:bin/inetd however. Should I remove the above from startnet? < NAMESERVER has to be set to 149.174.64.41 I thought that CIS was a dynamic connection and therefore only requires a default value of 0.0.0.0 for this??? Thanks for the help. Hank
#195304From: Clay SpenceApr 30, 1995 7:07 PM
Your computer gets a dynamic IP address, but the NAMESERVEER is the IP address of a computer through which your computer can look up the IP addresses corresponding to names you might know. You need to set that to something other than 0.0.0.0. BTW, from your other message you were getting a complaint about an error on line 24 when you only had 23 lines. I had a similar problem, which was due to blank lines at the end of the file. You might check that, though I won't guarantee that's the problem. Clay