How to make a dynamic PPP connection with your Amiga (help for beginners) ========================================================================= (le texte en français suit) Here are some information and sample scripts for Ping (Belgian IAP) users or anybody who is trying to setup a dynamic PPP connection with his Amiga. Please note that Iam not a kind of telecom specialist at all. I had such a hard time when trying to set up my first Internet connection in September 95, that I thought my experience could benefit to other Amiga users who cannot get Amiga support from their Internet Access Provider... rem: If you use the scripts provided in the scripts dir of netbegin.lha archive, add a -s (script) protect bit to those files. This can be done with this command: protect StartInternet +s protect StopInternet +s protect startnet +s protect stopnet +s WHAT IS NEEDED: * TCP/IP protocol stack available from Aminet and Aminet CD-ROM in the comm/tcp/ dir (Aminet:comm/tcp/AmiTCP_demo_40.lha, fully usable demo version) If you are using the commercial version 4.1 or 4.2 of AmiTCP/IP: * Update it to v4.3 using the patch available on Aminet: (Aminet:biz/patch/Patch2AmiTCP43.lha) * skip the "installation with AmiTCP/IP DEMO 4.0" part and jump to Installation using AmiTCP/IP 4.3 (commercial version) * PPP device driver available from Aminet and Aminet CD-ROM in the comm/net/ dir (Aminet:comm/net/PPP1_45.lha, shareware) WHAT MIGHT BE USEFULL TOO: * Serline by Christopher Laprise. (no more needed with AmiTCP/IP 4.3) from InterInstall (included in netbegin.lha) * Online-o-Meter (check how long you are online) available from Aminet and Aminet CD-ROM in the comm/misc/ dir (Aminet:comm/misc/Online1_5.lha, shareware) * PhoneBill (excellent phone bill preview and stats) available from Aminet and Aminet CD-ROM in the comm/misc/ dir (Aminet:comm/misc/pbill34.lha, shareware) * socket.library (needed by some client, included with AmiTCP/IP 4.3) available from the Thor Homepage (and from other places too) ************************************************************ *** Installation using the demo version of AmiTCP/IP 4.0 *** ************************************************************ * Unarchive PPP1_45.lha and read the docs. * Unarchive AmiTCP_demo_40.lha and read the docs too. * Install both following the guidelines in PPP docs. * Check if your user-startup have the new following lines:  ;BEGIN AmiTCP/IP  assign AmiTCP: Work:Comms/AmiTCP-4.0  path AmiTCP:bin add  Assign APIPE: Exists > NIL:  IF Warn    Mount APIPE: from AmiTCP:devs/APipe-Mountlist  EndIf  ;END AmiTCP/IP (change Work:Comms/ to the path on YOUR disk) * Reboot to make sure the new assigns are taken in account. * Copy the file scripts/startnet (found in netbegin.lha) to AmiTCP:bin/  copy scripts/startnet AmiTCP:bin (DON'T overwrite the AmiTCP:bin/startnet script if you installed a COMMERCIAL version of AmiTCP/IP v4.x !) * Read and modify the PPP.dial script (found in netbegin.lha) , copy it where you want or follow the suggestion in PPP docs. * Check in ENVARC: and ENV: if the directory Sana2 exists, and if ppp0.config exists. Compare ppp0.config with this:  serial.device 0 57600 0.0.0.0 SHARED 7WIRE CD SERBUF=4096 DIALSCRIPT=Work:Data/Comms/Scripts/PPP.dial (change Work:Data/Comms/Scripts/ to where you put PPP.dial) (re-read PPP docs to learn about the parameters if you wish) * Read the scripts/StartInternet and scripts/StopInternet (both found in netbegin.lha) and modify them to suit your need. Copy them where you want. and have a test: start your connection from shell with StartInternet, stop the connection with StopInternet. (I use ToolManager to start and stop Internet connection) *************************************************************** *** More about the installation of the DEMO (4.0) AmiTCP/IP *** *************************************************************** * when asked for a login name, it's NOT the login your IAP gave you. Just enter what you want. The login from your IAP (for Ping in Belgium, it's in the form pingxxxx) is to be put in the PPP.dial script. * if asked for a userID, just reply 200 (default) * if asked for a groupID, just reply 100 (default) * if asked for a password, leave this blank; you already have too much password to remember ;-) (the password given by your IAP is to be put in PPP.dial) * if asked for a host name, leave this blank * when asked for domain name of your site (domain suffix), enter the one your IAP supply you (for Ping in Belgium, it's ping.be). * if asked for an Internet protocol address for your computer, leave this blank (or default 0.0.0.0), as it is dynamic. * when asked for a netmask, accept the default. * when asked for the address of the Domain Name Server (DNS), enter the one given by your IAP (for Belgian Ping users, it's 193.74.114.1) *************************************************************** *** Installation using the commercial version AmiTCP/IP 4.3 *** *************************************************************** * If you have used the Patch2AmiTCP43, then you probably already have installed PPP 1.45 too. If not, start with this and read the PPP doc. * Unarchive Patch2AmiTCP43.lha and double-click on the install icon * Check if the files AmiTCP:bin/startnet and AmiTCP:bin/stopnet have the -s protect bit set. If not, type from a shell:  protect AmiTCP:bin/startnet +s  protect AmiTCP:bin/stopnet +s * If you are a belgian Ping (IAP) user, then you can copy the supplied BEL_Ping script (in netbegin.lha) to your AmiTCP:providers/ directory:  copy AmiTCP43/providers/BEL_Ping AmiTCP:providers * If you would like the Online-o-Meter to be started each time you connect, then:  copy AmiTCP43/db/User-Startnet AmiTCP:db  copy AmiTCP43/db/User-Stopnet AmiTCP:db Edit those (netbegin.lha) scripts to suit your need. * Reboot to take the changes in account. * Open the directory where you installed AmiTCP, and double-click on "config AmiTCP" icon. Follow the configuration steps. When asked for a modem init string, be carefull not to enter a string too long, or there will be an error in the loggin procedure. With my USR Courier V34, I have shorten the previously used  AT&F&H1&R2&B1&C1&D2&M4&K0&A3E1X4Q0V1 to  AT&F&H1&R2&B1&C1&D2X3 * After configuring, edit the AmiTCP:db/Provider.conf and replace the YOUR LOGGIN string with your loggin YOUR PASSWORD string with your password both were given by your IAP. For Ping users, the loggin is in the form pingxxxx * If your connection was started from ToolManager, don't forgett to change the (CLI) exec path to:  execute "AmiTCP:Start AmiTCP" and  execute "AmiTCP:Stop AmiTCP" Fell free to send me comments, suggestions, a turbo 512k priority modem ...(last updated: 08 Apr 96). Author: Philippe.Duchenne@ping.be Homepage: http://www.ping.be/~ping3412/. *************************************************************************** (français) Voici quelques informations et exemples de scripts pour les utilisateurs de Ping (fournisseur d'accès en Belgique) et pour toute personne cherchant à établir une connection de type PPP dynamique avec son Amiga. Remarque: Je ne suis pas DU TOUT un spécialiste en télécommunications. Mes première tentatives de connection Internet (septembre 95) ont étési pénibles que j'ai pensé que mon expérience pourrait être profitable à d'autres utilisateurs Amiga qui n'ont pas de soutient Amiga chez leur fournisseur d'accès. rem: Si vous utilisez les scripts du répertoire scripts de l'archive netbegin.lha, ajoutez le bit de protection -s (script) à ces fichiers. Ceci peut être fait avec la commande suivante: protect StartInternet +s protect StopInternet +s protect startnet +s protect stopnet +s CE QUI EST INDISPENSABLE: * TCP/IP protocol stack disponible sur Aminet et Aminet CD-ROM dans le répertoire comm/tcp/ (Aminet:comm/tcp/AmiTCP_demo_40.lha, version démo utilisable) Si vous utilisez la version commerciale AmiTCP/IP 4.1 ou 4.2: * Faites une mise-à-jour vers la version 4.3 avec le patch disponible sur Aminet: (Aminet:biz/patch/Patch2AmiTCP43.lha) * sautez la partie "installation avec AmiTCP/IP DEMO 4.0" et lisez Installation avec AmiTCP/IP 4.3 (version commerciale) * un pilote PPP disponible sur Aminet et Aminet CD-ROM dans le répertoire comm/net/ (Aminet:comm/net/PPP1_45.lha, shareware) EGALEMENT UTILE: * Serline de Christopher Laprise. (n'est plus nécessaire avec AmiTCP/IP 4.3) dans InterInstall (inclus dans netbegin.lha) * Online-o-Meter (chronomètre votre temps en ligne) disponible sur Aminet et Aminet CD-ROM dans le répertoire comm/misc/ (Aminet:comm/misc/Online1_5.lha, shareware) * PhoneBill (excellent pour prévoir votre facture téléphonique) disponible sur Aminet et Aminet CD-ROM dans le répertoire comm/misc/ (Aminet:comm/misc/pbill34.lha, shareware) * socket.library (réclamée par certains clients, inclus avec AmiTCP/IP 4.3) disponible entre-autre sur la Homepage Thor. ******************************************************* *** Installation avec la version démo AmiTCP/IP 4.0 *** ******************************************************* * Desarchivez PPP1_45.lha et lisez la doc. * Désarchivez AmiTCP_demo_40.lha et lisez aussi la doc. * Installez ces 2 logiciels en suivant les conseils de la doc PPP. * Vérifiez si les lignes suivantes ont été ajoutées à votre User-Startup:  ;BEGIN AmiTCP/IP  assign AmiTCP: Work:Comms/AmiTCP-4.0  path AmiTCP:bin add  Assign APIPE: Exists > NIL:  IF Warn    Mount APIPE: from AmiTCP:devs/APipe-Mountlist  EndIf  ;END AmiTCP/IP (changez Work:Comms/ par le chemin sur VOTRE disque dur) * Rebootez pour être sûr que les nouvelles assignations sont prises en compte. * Copiez le fichier scripts/startnet (dans netbegin.lha) dans le répertoire AmiTCP:bin  copy scripts/startnet AmiTCP:bin (N'ECRASEZ PAS le script AmiTCP:bin/startnet si vous installez une version COMMERCIALE de AmiTCP/IP 4.x !) * Lisez et modifiez le script PPP.dial (dans netbegin.lha), copiez le où vous voulez ou suivez les suggestions de la doc PPP. * Vérifiez si le répertoire Sana2 existe dans ENVARC: et ENV: vérifiez la présence dans ce répertoire de ppp0.config et comparez avec:  serial.device 0 57600 0.0.0.0 SHARED 7WIRE CD SERBUF=4096 DIALSCRIPT=Work:Data/Comms/Scripts/PPP.dial (changez Work:Data/Comms/Scripts/ par le chemin d'accès à PPP.dial) (relisez la doc PPP pour des explications sur les paramètres) * lisez les scripts scripts/StartInternet et scripts/StopInternet (tous les deux dans netbegin.lha) et faites les modifications nécessaires. Copiez-les où vous voulez. et faites un essai: démarrez la connection à partir du shell avec StartInternet stoppez la connection avec StopInternet (J'utilise ToolManager pour lancer et arrêter une connection Internet) ********************************************************************** *** A propos de l'installation de la version démo 4.0 de AmiTCP/IP *** ********************************************************************** * lorsque l'on vous demande votre login name, ce n'est PAS le login que votre fournisseur d'accès vous à donné. Entrez ce que vous voulez. Le login de votre fournisseur (pour Ping en Belgique, il a la forme pingxxxx) est à encoder dans le script PPP.dial. * si l'on vous demande un userID, entrez juste 200 (défaut) * si on vous demande un groupID, entrez juste 100 (défaut) * si on vous demande d'entrez un mot de passe, n'en faites rien; vous avez déjà assez de mots-de-passe à retenir ;-) (le mot de passe délivré par votre fournisseur est à encoder dans le script PPP.dial) * si on vous demande un host name, laissez à blanc. * lorsque l'on vous demande le domain name of your site (domain suffix), entrez celui que votre fournisseur vous a confié (pour Ping en Belgique, c'est ping.be). * si on vous demande un Internet protocol address for your computer, laissez à blanc (ou par défaut 0.0.0.0), puisque l'accès est dynamique. * lorsque l'on vous demande un netmask, acceptez le défaut. * lorsque l'on vous demande le Domain Name Server (DNS), entrez celui donné par votre fournisseur (pour les utilisateurs belges de Ping, c'est 193.74.114.1) ************************************************************** *** Installation avec la version commerciale AmiTCP/IP 4.3 *** ************************************************************** * Si vous avez utilisé Patch2AmiTCP43, alors vous avez probablement aussi déjà installé PPP 1.45. Sinon, commencez par là et lisez la doc PPP. * déarchivez Patch2AmiTCP43.lha et double-cliquez sur l'icône d'installation * Vérifiez si AmiTCP:bin/startnet et AmiTCP:bin/stopnet possèdent le bit de protection -s. Sinon tapez depuis une fenêtre shell:  protect AmiTCP:bin/startnet +s  protect AmiTCP:bin/stopnet +s * Si vous êtes un utilisateur de Ping (fournisseur d'accès en Belgique), vous pouvez copier le script BEL_Ping fourni (dans netbegin.lha) dans votre répertoire AmiTCP:providers/:  copy AmiTCP43/providers/BEL_Ping AmiTCP:providers * Si vous souhaitez que Online-o-Meter soit lancé dès le début de la connection, alors:  copy AmiTCP43/db/User-Startnet AmiTCP:db  copy AmiTCP43/db/User-Stopnet AmiTCP:db Editez ces scripts (de netbegin.lha) selon vos besoins. * REBOOT, pour prendre les changements en considération. * Ouvrez le répertoire où vous aviez installé AmiTCP/IP, et double-cliquez sur l'icône "config AmiTCP". Suivez la procédure de configuration. Lorsque l'on vous demandera une chaîne d'initialisation pour le modem, veillez à ne pas rentrer une chaîne trop longue, ou la procédure de loggin comportera une erreur. Avec mon modem USR Courier V34, j'ai raccourci la chaîne précédemment utilisée  AT&F&H1&R2&B1&C1&D2&M4&K0&A3E1X4Q0V1 en  AT&F&H1&R2&B1&C1&D2X3 * Une fois la configuration terminée, editez AmiTCP:db/Provider.conf et replacez les chaînes YOUR LOGGIN par votre loggin YOUR PASSWORD par votre password Tous deux vous ont été donné par votre fournisseur. Pour les utilisateurs Ping, le loggin est de la forme pingxxxx * Si votre connection était démarée à partir de ToolManager, n'oubliez pas de changer le chemin vers les exec (CLI) en:  execute "AmiTCP:Start AmiTCP" et  execute "AmiTCP:Stop AmiTCP" Fell free to send me comments, suggestions, a turbo 512k priority modem ...(last updated: 08 Apr 96). Author: Philippe.Duchenne@ping.be Homepage: http://www.ping.be/~ping3412/. < Converted by HTMLess v1.1 by Troglobyte\Darkness >