steptail.com

How many light bulbs does it take to change a penguin?

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
guides:virtual_modem:script [2019-02-18 02:16]
omolini
guides:virtual_modem:script [2019-02-20 02:11] (current)
omolini
Line 4: Line 4:
 ===== vmodem.sh ===== ===== vmodem.sh =====
 The main script. This script will simulate a modem by answering to standard Hayes commands. ​ The main script. This script will simulate a modem by answering to standard Hayes commands. ​
-It will open the serial port for communication and execute the dialed number as a linux script. ​+It will open the serial port for communication and execute the dialed number as a linux shell script, however you could probably use any execututable with minor modification.
 For example, if you issue the command ATD12345, the script will look for a file 12345.sh in  For example, if you issue the command ATD12345, the script will look for a file 12345.sh in 
 the working directory and execute it and output contents to console. the working directory and execute it and output contents to console.
guides/virtual_modem/script.txt · Last modified: 2019-02-20 02:11 by omolini