DLYNXPPP Updated Sept 96 to include Doslynx version 0.16a This file revised Oct 96 This Package containing Doslynx and PPP has been assembled by John Lewis (VE3LGS) lewis@king.igs.net for the benefit of all It may be only distributed without charge. ************************************************************************* **** VERY IMPORTANT**** use the -d suffix with pkunzip YOU MUST USE PKUNZIP -d DLYNXPPP.ZIP TO CREATE THE CORRECT DIRECTORIES. ************************************************************************* It incorporates a free shareware dialer and PPP program. However the writer of the KLOSPPP program requests that you get your own copy from his ftp site ftp.klos.com and we are no longer permitted to supply it in the package. We have supplied what we think is the necessary information to get PPP running and how to fill in the missing parts via the internet. I am no expert with PPP but have struggled for months to get this program as bug free as I can. I have worked many new users through to getting the package going. This package is assembled to help you get over some of the hurdles, by passing on what I have learned, and get you running with a minimum of fuss. This document is continually being revised from what we have learned from others. Please pass on your problems or successes. The writer of the PPP (KLOS) does not want to provide any information or any support. Please do not contact him with problems. Post them to doslynx-dev@raven.cc.ukans.edu. (The doslynx listserv) or preferably contact me at lewis@king.igs.net After you unzip -d dlynxppp.zip you have to connect to either ftp.klos.com or www.klos.com and get a copy of a program called PPPSHARE.EXE in directory /pub/demo. Once you have the self extracting KLOS package called PPPshare.exe, It should be placed in the same directory as the batch file diallynx.bat. Run pppshare and it will self extract. DO NOT get PPPDEMO.exe as it is crippled and has a time limit of 15 minutes Then proceed to revise the various files for your comport, logon sequence, provider etc. as described below. I have written and included a small program to automatically pass the dynamically assigned IP address to DosLynx, and here it works smoothly. Contact me for more information. I have only removed my password from the logon sequence in net.cfg There is a very good explanation of how the various parts in PPPshare works at ftp site ftp.agate.com/users/01935/internet. Having a copy on hand when you do the following steps, will help a lot. Get the file called klosppp.txt. Some of the information does not apply to this setup since a working batch file is supplied, but in general it helps understand what you are trying to do. Do not blindly change the diallynx.bat batch file if you are having problems. 1.DIALLYNX.BAT: Look at diallynx.bat with an editor. Note that there are some parts of the sequence which are loaded in high memory to save space for DosLynx. Don't change these unless you do not have any high memory. In fact if you do not, the LH instructions will just be ignored and the line loaded in low memory. There is a line which says pppmenu 5443006. Change the phone number to your provider's phone number. 2.NET.CFG: (PPPMENU.EXE) Look at net.cfg with an editor. You can change parts of this file ( very very carefully) with an editor or by running PPPMENU.EXE (best) and filling in everything. Do Not fill in the dial number in net.cfg. Erase this line if it exists. The phone number is taken from the batch file number you changed in step 1 If you don't know that something is different on your computer don't change it. PPPmenu revises the file net.cfg in setup mode when you run it. This is where the logon sequence is entered, as well as the com port stuff. If you are changing with an editor change only the lines marked with a #: # This file was created by PPPMENU LINK SUPPORT BUFFERS 4 1504 MEMPOOL 8192 LINK DRIVER PPP CONFIGURATION "Current" FRAME PPP PORT COM3 # BAUD 38,400 # FLOW CONTROL HARDWARE CONNECTION AUTODIAL OPEN ACTIVE MODEM NAME "Fred" MODEM INIT1 "at&F&c1&d2" # MODEM INIT2 "" MODEM ANSWER "OK" CONNECTION PAUSE 30 MRU 1024 MAGIC NUMBER 0000EAB2 SCRIPT1 "ogin:" "lewis\r" 10 # SCRIPT2 "assword:" "xxxxxx\r" 10 # 3.DOSLYNX.CFG Change to .\lynx directory and look at the file doslynx.cfg. This file is how I setup my doslynx, and must be changed for your provider. There is another file called sample.cfg which contains more details on what each line means. Revise the doslynx.cfg. Each one of the items if incorrect will prevent communications with the name server and therefore cause you not to be able to look up an address. The most important line is the include=..\path.cfg. It includes a file containing the my_ip= address as part of the doslynx.cfg. But the other lines are critical too. In the dlynxppp.zip file there is a program to grab and pass the ip address which now works for Doslynx, Gopher-b, Minuet, Spin and Aranche. It writes a file called path.cfg in the directory where PPP is run (a parent directory to the directory where doslynx is located). Note: MYIP, Rarpset, and similar programs do not work with klosppp and doslynx, but only with etherppp. PROBLEMS: The most common problem I have encountered is the inability to complete the dial and logon properly. I have put in a trap to catch a bad IP. If you get the error suggesting you dial again, it may really be your script in error. One good way to work out the login sequence is to use a regular modem program and log on manually to get to PPP. Note the critical strings in the exchange. Klosshare hides the exchange so it is difficult to see but using a simple modem dialer lets you see and usually capture the required script. The second most common problem is in the doslynx.cfg. The include=..\path.cfg line is changed to something else and then nothing works. From here blind changes cause overlapping problems that require outside help. There is also a new program included in the latest klosshare.exe which can pass a dynamically assigned gateway in addition to a dynamically assigned IP address. This is a special case and not very common. The output of pppwat can be found in file test.cfg. If you are having problems connecting to a URL, the problem may be a changing gateway address. Look at test.cfg. If there are different addresses for the gateway each time then change doslynx.cfg to include=..\test.cfg instead of include=..\path.cfg and comment out the netmask and gateway lines in doslynx.cfg. If you are using a proxy server and only mail send works, then the problem is the address of the proxy server. Make sure everything is correct including the port number. Reports are that PPPshare does not work with 2400 baud modems. I confirmed this, by trying it on my 486sx laptop, with a built in 2400 baud modem. In this case, you are better to use another shareware ppp called etherppp. If you do, I find etherppp works better with dos 4.1 on slower computers. Hint: use a program called MYIP to pass the address to Doslynx with etherppp. If you have slip with dynamic addressing but without bootp I have written another program to pass the Ip address because Sympatico in Canada does just that. I have pppshare working on an 8088 but it has a 14.4 modem with faster uart. I find that the Klos program has a maximum baud rate of 38,400 on my machine. On slower machines you may find that 19,200 is max. The Klos program will not run in Windows 3.1 and I do not know what happens with windows 95. But then this is a dos program and we are all DOS users still or you would not be interested in downloading this file. Do not use the sample batch file supplied by KLOS. It seems to confuse everyone rather than help. If you are still having problems reaching URL's don't be afraid to ask. Even if you get it going without help let me know. Your feedback can help others. Kingston, Ont. Oct 31 96 Hi, Wayne here with a little addition. When you get this all situated, PLEASE come back and check for the latest DosLynx and set it up in the /lynx subdirectory. Enjoy. ################################################################### # Sample # Dos Lynx Configuration file # for DLYNXPPP # include=..\path.cfg netmask=255.255.255.0 gateway=192.169.33.11 nameserver=192.169.33.3 domainslist="sample.net" hostname=doslynx mailaddr=user@sample.net nntphost=news.sample.net smtphost=smtp.sample.net #http_proxy=http://proxy.sample.net:8080/ #ftp_proxy=ftp://proxy.sample.net:8080/ sockdelay=60 mss=512 tempdir=.\temp\ textmode=LOW printer=NUL loaded=4 home=file:///./hotlist.htm loadhome=On graphicsmode=640x480x16 hotlistfile=keys.HTM errorhtml=ERROR.HTM networked=yes ems=no emspages=0x0 xms=no xmslength=0x0 xmsstart=0x0 ###End of File