This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
guides:virtual_modem:script [2020-02-27 23:19] omolini |
guides:virtual_modem:script [2020-03-04 04:46] omolini |
||
---|---|---|---|
Line 55: | Line 55: | ||
# Variable: serport | # Variable: serport | ||
# serport specifies which local serial device to use. | # serport specifies which local serial device to use. | ||
- | # For example, using "ttyAMA0" will tell the script | + | # For example, "ttyUSB0" will tell the script to use |
- | # to use /dev/ttyAMA0 for communication. | + | # to use /dev/ttyUSB0 for communication. |
+ | # Common values: ttyUSB0 or ttyAMA0 | ||
# | # | ||
- | # Default: | + | serport=ttyUSB0 |
- | # serport=ttyAMA0 | + | |
- | # | + | |
- | serport=ttyAMA0 | + | |
# Variable: baud | # Variable: baud | ||
Line 415: | Line 413: | ||
#!/bin/bash | #!/bin/bash | ||
# | # | ||
- | # If you have an ANSI color capable terminal, you may want to export TERM=ansi | ||
- | export TERM=vt100 | ||
echo "Terminal type set to $TERM. Running Lynx ..." | echo "Terminal type set to $TERM. Running Lynx ..." | ||
lynx | lynx | ||
</code> | </code> | ||