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
guides:virtual_modem:section_4 [2021-04-11 20:17]
omolini [Get In Touch With Us!]
guides:virtual_modem:section_4 [2023-11-24 23:16] (current)
omolini
Line 69: Line 69:
  
   * If you see the READY text on the Raspberry Pi, the script is ready to accept connections.   * If you see the READY text on the Raspberry Pi, the script is ready to accept connections.
-  * Now, open up a SERIAL terminal on the computer, and issue a few basic Hayes commands. First press ENTER a couple of times to sync up. Then type "​AT"​ and then press ENTER. You should receive an "​OK"​ response. ​+  * Now, open up a SERIAL terminal, for example, PuTTY or HyperTerminal ​on the computer, and issue a few basic Hayes commands. ​ 
 +  * **If you are using HyperTerminal as your serial terminal** 
 +    * When you start HyperTerminal,​ hit cancel when it asks for the phone number. This should take you directly to the serial console 
 +  * **If you are using PuTTY as your serial terminal** 
 +    * Under Connection type, select Serial.  
 +    * In Serial Line text box, type in COM1, COM2, or other COM port that you are using. 
 +    * Under Speed, select the connection speed that you are using, by default VModem is set to 57600, so you will match that speed. 
 +  * First press ENTER a couple of times to sync up. Then type "​AT"​ and then press ENTER. You should receive an "​OK"​ response. ​
     * If you receive a garbled or no response, the serial speed settings may be wrong. Make sure both computers are set to the same serial speed.     * If you receive a garbled or no response, the serial speed settings may be wrong. Make sure both computers are set to the same serial speed.
     * If you do not receive any response, something may be wrong with the serial settings, or with the connection to the Raspberry Pi. Does the computer have a fast 16550 UART and a good USB-to-Serial adapter? (check section 2 of this tutorial). ​     * If you do not receive any response, something may be wrong with the serial settings, or with the connection to the Raspberry Pi. Does the computer have a fast 16550 UART and a good USB-to-Serial adapter? (check section 2 of this tutorial). ​
Line 79: Line 86:
 {{ :​guides:​pics:​vmodem_putty2.png |}} {{ :​guides:​pics:​vmodem_putty2.png |}}
  
-===== Getting online ===== +----
-Now you can proceed to check out the system specific guides on how to interface different vintage computers and devices with VModem. Once you are done, return back to this guide!+
  
-  * [[Guides:​Connecting Windows 3.1 to the Internet]]  +Go ahead and continue ​to the next part of this guide, where we will go through using Virtual Modem!
-  * [[Guides:​Connecting Windows 9x to the Internet]]+
  
-/*+| [[Guides:​Virtual Modem:​Section 3|<< 3 - Setting up Raspbian]] | [[Guides:​Virtual Modem:​Section 4|This Page]] | [[Guides:​Virtual Modem:​Section 5|5 - Using Virtual Modem >>]] |
  
-  * [[Guides:​Connecting a Macintosh Classic to the Internet]] COMING SOON +==== Skip to other sections ====
-  * [[Guides:​Connecting a Serial Terminal to the Internet]] COMING SOON +
- +
-*/  +
- +
-Make sure vmodem.sh is running on the Raspberry Pi first before attempting connection! +
- +
-===== Making Virtual Modem run at startup ===== +
-After you have **verified** that the VModem works properly on the console, and you have tested that you are able to connect to your network, you can make VModem run automatically as a background process after the Raspberry Pi is powered on. It will run as a background process so you won't see it's output, so it's highly recommended to thoroughly test the script first. +
- +
-  * Edit the **/​etc/​rc.local file**. Go to end of the file, and find the last line. It should be ''​exit 0''​. Now add the following lines **ABOVE** it.  +
-<code bash> +
-# Start serial port and simulate a modem +
-cd /​boot/​vmodem/​ +
-/​boot/​vmodem/​vmodem.sh & +
-</​code>​ +
- +
-Beware the ampersand "&"​ at the end of the line. Without it, the boot process may not complete correctly (or at all). +
- +
-  * Restart Raspberry and test the changes. After rebooting, VModem should automatically start up with system processes and start expecting connections on serial. +
- +
- +
-===== Troubleshooting ===== +
- +
-**Cannot communicate on serial terminal with the vmodem script**\\ +
-After running the Virtual Modem script on the Raspberry Pi, and connecting it to your computer via the USB-to-Serial adapter and a null modem cable, you should be able to fire up a simple serial terminal on the computer and issue a few Hayes commands to ensure connectivity. Hayes commands are a common way to communicate with Modems, and by typing AT and pressing enter in the terminal, you should see an "​OK"​ response. The vmodem script also recognizes ​other commands, such as HELP which should provide a short list of recognized commands). If you receive a garbled response after typing AT or HELP, your serial speed settings may not be the same on both ends. Make sure you have adjusted the communication speed to match. If you receive no response whatsoever, you might have a problem with the USB-to-Serial adapter or you may be using an older UART on your computer (see section 2 for more on this). If you're still unable to communicate with the VModem script, feel free to join our Discord channel (see bottom of page for link) for further support. Simple tutorials can only go so far... :) +
- +
- +
- +
-**After dialing in, system is disconnected immediately**\\ +
-Make sure you are using the latest version of the Virtual Modem script. An early version had an issue where the serial connection would be cut before the network connection was established. Also, be sure to make sure your serial baud settings are correct, and they match the virtual modem script. Finally, try turning off Flow Control from the Modem Settings under Advanced Settings. +
- +
-**After dialing in, system reports connected, but no network is available**\\ +
-Make sure you have updated the network device in **vmodem.sh** to reflect the correct network interface. By default it is eth0. If you are using Raspberry on WIFI, you may need to change this to wlan0. +
- +
-**Other issues:** +
-  * Some computers are not capable of operating at fast serial speeds. If you're unable to connect at 57600 or faster, try slower speeds, such as 9600 baud at first. Adjust both the vmodem.sh script and the computer to connect at only 9600 baud. If that works, work your way up to see where the limit for your specific computer is. +
-  * If you run into any other issues, take a note of them and look for commonalities in any steps you've taken before this step. Open up the script vmodem.sh for editing to make sure the baud and serial port are properly set. If you're unable to figure it out, feel free to contact us at Discord. We have a channel specific for Virtual Modem support (see bottom of page). +
- +
-==== Related Topics ==== +
-  * [[http://​www.protoweb.org/​|ProtoWeb - The 90's Internet Service Provider]] | Connect your retro computer to surf the 90's Web! +
-  * [[Guides:​List of Compatible Websites]] | List of classic websites that work with pre-2000 legacy web browsers. +
-  * [[Guides:​Virtual Modem:​Script|Virtual Modem Source code and Coding Examples]] | These should help you get started with building new modules for Virtual Modem. +
- +
- +
----- +
- +
-==== Skip to previous ​sections ====+
  
   * [[Guides:​Virtual Modem|Section 1 - Introduction]]   * [[Guides:​Virtual Modem|Section 1 - Introduction]]
   * [[Guides:​Virtual Modem:​Section 2|Section 2 - Shopping list]]   * [[Guides:​Virtual Modem:​Section 2|Section 2 - Shopping list]]
   * [[Guides:​Virtual Modem:​Section 3|Section 3 - Setting up Raspbian]]   * [[Guides:​Virtual Modem:​Section 3|Section 3 - Setting up Raspbian]]
-  * [[Guides:​Virtual Modem:​Section 4|Section 4 - Setting up Virtual Modem]] << You are here+  ​* **[[Guides:​Virtual Modem:​Section 4|Section 4 - Setting up Virtual Modem]] << You are here** 
 +  * [[Guides:​Virtual Modem:​Section 5|Section 5 - Using Virtual Modem]] 
 + 
 +  * [[Guides:​Connecting Windows 3.1 to the Internet]] 
 +  * [[Guides:​Connecting Windows 9x to the Internet]] 
 +  * [[Guides:​Connecting Windows 2000 to the Internet]]
  
 ---- ----
guides/virtual_modem/section_4.1618172222.txt.gz · Last modified: 2021-04-11 20:17 by omolini