steptail.com

If I try to fail, but succeed, which one did I do?

User Tools

Site Tools


guides:virtual_modem:section_5

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
Previous revision
Next revision Both sides next revision
guides:virtual_modem:section_5 [2021-04-14 19:26]
omolini [Faked Commands (does not perform any action, always returns OK)]
guides:virtual_modem:section_5 [2022-12-20 05:54]
omolini [Faked Commands (does not perform any action, always returns OK)]
Line 5: Line 5:
   * [[Guides:​Connecting Windows 3.1 to the Internet]] ​   * [[Guides:​Connecting Windows 3.1 to the Internet]] ​
   * [[Guides:​Connecting Windows 9x to the Internet]]   * [[Guides:​Connecting Windows 9x to the Internet]]
 +  * [[Guides:​Connecting Windows 2000 to the Internet]]
 +
 +
  
 /* /*
Line 29: Line 32:
   * Restart Raspberry and test the changes. After rebooting, VModem should automatically start up with system processes and start expecting connections on serial.   * Restart Raspberry and test the changes. After rebooting, VModem should automatically start up with system processes and start expecting connections on serial.
  
-===== Supported ​Modem Commands =====+---- 
 + 
 +===== Supported Commands =====
  
-Hayes commands ​supported:+Functional ​Hayes commands:
  
 +  * **AT** Tests Modem. Returns OK if successful
   * **ATDn** Dial number, where n is a phone number   * **ATDn** Dial number, where n is a phone number
     * **ATDTn** Dial number using touch tone     * **ATDTn** Dial number using touch tone
     * **ATDPn** Dial number using pulse dialing     * **ATDPn** Dial number using pulse dialing
 +    * Note! This command actually runs a shell script by the name of the phone number stored in the same path as vmodem. If you dial ATD1, Vmodem will run 1.sh in the same directory and pass control to it. Any response you receive will be coming from 1.sh. When the script ends, you will be returned back to VModem.
   * **ATE** - Command echo to host   * **ATE** - Command echo to host
     *  **ATE0** Commands are not echoed     *  **ATE0** Commands are not echoed
Line 60: Line 67:
   * **AT&​F** Restore factory settings   * **AT&​F** Restore factory settings
     * **AT&​Fn** Use profile n     * **AT&​Fn** Use profile n
 +
 +==== Other Commands Supported ====
 +  * **EXIT** Quit Virtual Modem
 +  * **HELP** Show quick reference
 +  * **LOGIN** Start a new shell session on serial
  
 ==== Faked Commands (does not perform any action, always returns OK) ==== ==== Faked Commands (does not perform any action, always returns OK) ====
Line 71: Line 83:
     * **ATM2** Speaker always on     * **ATM2** Speaker always on
     * **ATM3** Speaker on only while answering     * **ATM3** Speaker on only while answering
 +  * **ATS** S Register settings
 +    * For example, **ATS0=0**
   * **AT&​Dn** Data Terminal Ready settings   * **AT&​Dn** Data Terminal Ready settings
     * **AT&​D0** Modem ignores DTR     * **AT&​D0** Modem ignores DTR
Line 87: Line 101:
     * **AT&​S0** DSR will remain on at all times.     * **AT&​S0** DSR will remain on at all times.
     * **AT&​S1** DSR will become active after answer tone has been detected and inactive after the carrier has been lost     * **AT&​S1** DSR will become active after answer tone has been detected and inactive after the carrier has been lost
 +
 +----
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
Line 119: Line 135:
   * [[Guides:​Virtual Modem:​Section 3|Section 3 - Setting up Raspbian]]   * [[Guides:​Virtual Modem:​Section 3|Section 3 - Setting up Raspbian]]
   * [[Guides:​Virtual Modem:​Section 4|Section 4 - Setting up Virtual Modem]]   * [[Guides:​Virtual Modem:​Section 4|Section 4 - Setting up Virtual Modem]]
-  * [[Guides:​Virtual Modem:​Section 5|Section 5 - Using Virtual Modem]] << You are here+  ​* **[[Guides:​Virtual Modem:​Section 5|Section 5 - Using Virtual Modem]] << You are here** 
 + 
 +  * [[Guides:​Connecting Windows 3.1 to the Internet]] 
 +  * [[Guides:​Connecting Windows 9x to the Internet]] 
 +  * [[Guides:​Connecting Windows 2000 to the Internet]] 
  
 ---- ----
guides/virtual_modem/section_5.txt · Last modified: 2023-03-07 03:58 by omolini