This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
guides:virtual_modem:section_4:changing_the_serial_port [2018-09-23 01:48] omolini [Finding out the name of the serial device] |
guides:virtual_modem:section_4:changing_the_serial_port [2018-09-23 01:50] omolini [Update vmodem.sh script] |
||
---|---|---|---|
Line 15: | Line 15: | ||
===== Update vmodem.sh script ===== | ===== Update vmodem.sh script ===== | ||
* To update the **vmodem.sh** script stored in **/boot/vmodem/**, do the following: | * To update the **vmodem.sh** script stored in **/boot/vmodem/**, do the following: | ||
- | * Edit **/boot/vmodem/vmodem.sh** by running ''sudo nano /boot/vmodem/vmodem.sh'' | + | * Run ''sudo nano /boot/vmodem/vmodem.sh'' |
- | * Find the line ''serport=ttyUSB0'' and update it to reflect the correct serial device. For example, if your USB device is called "ttyAMA0", then type in ''serport=ttyAMA0''. | + | * Find the line ''serport=ttyUSB0'' and update it to reflect the correct serial device. |
+ | * For example, if your USB device is called "/dev/ttyAMA0", then make sure the line says ''serport=ttyAMA0''. | ||
+ | * Save by pressing CTRL + o, then ENTER to save under the same name. | ||
+ | * Exit editor with CTRL + x. | ||
| [[guides:virtual_modem:section_4|Go back to the main article]] | | | [[guides:virtual_modem:section_4|Go back to the main article]] | |