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-02-18 03:13]
omolini [Making Virtual Modem run at startup]
guides:virtual_modem:section_4 [2019-02-18 03:14]
omolini [Making Virtual Modem run at startup]
Line 78: Line 78:
 There are two ways you can do this: There are two ways you can do this:
  
-You can either run the following command which will automatically add VModem to your /​etc/​rc.local:​+**1)** ​You can either run the following command which will automatically add VModem to your /​etc/​rc.local:​
 <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'​
 </​code>​ </​code>​
  
-Or you can edit your rc.local manually. Make sure your /​etc/​rc.local has the following at the bottom:+**2)** ​Or you can edit your rc.local manually. Make sure your /​etc/​rc.local has the following at the bottom:
 <code bash> <code bash>
 # Start serial port and simulate a modem # Start serial port and simulate a modem
Line 93: Line 93:
  
  
-  * To restart the Raspberry and test the changes, issue the following command: +  * Restart ​Raspberry and test the changesAfter rebooting, VModem should automatically start up with system ​processes ​and start expecting connections on serial.
-<code bash> +
-sudo shutdown -r now +
-</​code>​ +
-  * After the Raspberry Pi boots, VModem should automatically start up with the system and start expecting connections on serial.+
  
 ==== Skip to other sections ==== ==== Skip to other sections ====
guides/virtual_modem/section_4.txt · Last modified: 2023-11-24 23:16 by omolini