steptail.com

Does expecting the unexpected make the unexpected the expected?

User Tools

Site Tools


guides:virtual_modem:section_4

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_4 [2019-12-11 16:56]
omolini [Making Virtual Modem run at startup]
guides:virtual_modem:section_4 [2020-02-14 17:49]
omolini [Download VModem and adjust settings]
Line 25: Line 25:
     * **/​boot/​vmodem/​ppp.sh**     * **/​boot/​vmodem/​ppp.sh**
  
 +  * Make sure they are executable:
 +    * chmod 770 /​boot/​vmodem/​vmodem.sh
 +    * chmod 770 /​boot/​vmodem/​1.sh
 +    * chmod 770 /​boot/​vmodem/​ppp.sh
 ==== Name of the serial port ==== ==== Name of the serial port ====
 The VModem script has been preconfigured to use **ttyUSB0** ​ as the default serial port name. Typically Raspbian will call its first serial port adapter **ttyUSB0** when using USB to Serial converters, and you won't need to modify this script. However, if the name is something **different**,​ such as **ttyAMA0**,​ you may need to update the script to point to the correct serial port name. The following section described how to double-check your serial port name: The VModem script has been preconfigured to use **ttyUSB0** ​ as the default serial port name. Typically Raspbian will call its first serial port adapter **ttyUSB0** when using USB to Serial converters, and you won't need to modify this script. However, if the name is something **different**,​ such as **ttyAMA0**,​ you may need to update the script to point to the correct serial port name. The following section described how to double-check your serial port name:
Line 86: Line 90:
 </​code>​ </​code>​
  
-To automate this process, you can alternatively run the following command on the Raspberry Pi shell which will do the appropriate ​change ​for you:+  * You can alternatively run the following command on the Raspberry Pi shell which will do the appropriate ​changes ​for you:
 <code bash> <code bash>
 sudo sh -c '​printf "`head -n -1 /​etc/​rc.local`\n\ncd /​boot/​vmodem\n./​vmodem.sh &​\n\nexit 0\n" >/​etc/​rc.local'​ sudo sh -c '​printf "`head -n -1 /​etc/​rc.local`\n\ncd /​boot/​vmodem\n./​vmodem.sh &​\n\nexit 0\n" >/​etc/​rc.local'​
guides/virtual_modem/section_4.txt · Last modified: 2023-11-24 23:16 by omolini