steptail.com

Does expecting the unexpected make the unexpected the expected?

User Tools

Site Tools


guides:virtual_modem:script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
guides:virtual_modem:script [2019-11-18 23:54]
omolini [2.sh]
guides:virtual_modem:script [2019-11-18 23:58]
omolini [ppp.sh]
Line 300: Line 300:
  
 ===== ppp.sh ===== ===== ppp.sh =====
-This script will initiate a PPP session but will not wait around for user input. ​This is in place only to make Trumpet Winsock 3.0 think that it's logging on, and make it proceed when it receives the expected printouts. The built-in dial-up connection in Windows 95 and later operating systems ​by default do not expect a login prompt unless specifically told to do so.+This script will initiate a PPP session ​and will present a fake login shell, ​but will not wait around for user input. ​The fake login shell is in place for compatibility with Trumpet Winsock 3.0, as it by default expects one, so we're fooling it to make it think that it's logging on. It will then proceed when it receives the expected printouts. The built-in dial-up connection in Windows 95/​98/​Me ​by default do not expect a login prompt unless specifically told to do so.
  
-Specifically when Trumpet Winsock is in PPP mode, by default it will expect the following output after dialing the ISP's number and establishing a connection: ​+When Trumpet Winsock is in PPP mode, by default it will expect the following output after dialing the ISP's number and establishing a connection: ​
   * A username prompt, matched by the text "​sername:"​   * A username prompt, matched by the text "​sername:"​
   * A password prompt, matched by the text "​ssword:"​   * A password prompt, matched by the text "​ssword:"​
guides/virtual_modem/script.txt · Last modified: 2022-12-28 03:32 by omolini