The main work was done by Glenn McGregor, the author of the ppp rfc 1332.
I found that all software I had tested also run with etherppp. The main problem is that the driver needs 120 Kbytes memory so that some applications suffers. Windows applications using the Trumpet winsockets (Shareware!) by P. Tattam runs also (but the last winsock betas (>19) has a PPP driver implemented).
/c <nr>the serial port on which the modem is connected (if the port address or interrupt is not usual see the READ.ME file)
/s <speed>bit rate of the line between the computer and the modem (should be more than the established bit rate between the two modems)
/d scriptif you say here "script" a dailup script called dial.ppp (or a different file defined in the environment variable DIAL.PPP) is used for dialing and login into the ppp server. You can also put here some modem command but usually you have additionally log into the server!
/p <0x60>address of the vector of the driver in the memory (default 0x60)
Initialization of the modem, new ones have a nvram ...
send "AT<INITSTR>\r"modem should say "I'm ready"
recv 2000 "OK"DP = pulse, DT = tone dialing; number for the ppp server
send "ATDP123456789\r"wait for the login prompt
recv 60000 "login: "put here your username
recv 1000 ""
send "username\r"put here your password
recv 5000 "Password: "
recv 1000 ""
send "password\r"wait for some kind of ppp start message
recv 10000 "PPP start"May be you have to switch the terminal server into ppp mode, so you have to add this into the script.
recv 1000 ""
ppp trace 1
ppp quick
ppp lcp open
winpkt 0x60The option is the vector of the etherppp driver.
If you don't want run windows in standard mode you have to set in the system.ini in the 368 enhanced section the lines:
[386Enh]Whereas X is the serial port # of the modem.
ComXAutoAssign=0
ComXBase=0
ComXIrq=-1
At the Trumpet winsock one has to use rarp for the IP address and put the gateway and name server address manually in. So all winsock applications will know the right addresses.
The gateway address is on ppp not necessary because every packet you had has to go through the serial line to the ppp server behind, which has the task to send the packets to the right place. But some applications need the gateway address, it's always the ppp server at the peer site.
termin 0x60
Juergen Schroeder <js@turn.to>