steptail.com

How many light bulbs does it take to change a penguin?

User Tools

Site Tools


guides:virtual_modem

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 [2018-10-21 04:11]
omolini
guides:virtual_modem [2019-05-27 18:12]
omolini
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-====== VMODEM ​A Raspberry Pi Serial to Ethernet ​interface ​====== +====== VMODEM ​======  
-//Turn a Raspberry Pi into a Modem Simulator ​to provide Ethernet access to serial terminals and legacy computers.//​+====== ​A Raspberry Pi Serial to Ethernet ​adapter ​====== 
 +//Turn a Raspberry Pi into a Dial-up ​Modem to act as a LAN interface for legacy computers ​and serial terminals. //
 {{ :​images:​divider3.png?​nolink |}} {{ :​images:​divider3.png?​nolink |}}
-{{ :​guides:​pics:​google_search_with_ns3.png?​650 |}}+{{youtube>​H-rCLei0sc8?​medium}} {{youtube>​i_Ax0aNYWP0?​medium}} 
 +{{ :​guides:​pics:​google_search_with_ns3.png?​450 |}}
  
 ---- ----
-In this four-part tutorial we will build Raspberry Pi that will be able to present itself as a serial ​modem to client computer which will enable easy connection to Internet using their pre-existing ​serial port on any Windows 3.1/​95/​98/​Me and any other operating system with built-in support ​for [[wp>​Point-to-Point Protocol|PPP]]. In other words we'll be using a Raspberry Pi to translate a serial connection into an Ethernet connection. When all is said and doneyour Windows 3.1/​9x ​computer ​will be fooled to think that it's calling an actual [[wp>​Internet Service Provider]] and establishing an Internet connection with themThis will in fact just be your Raspberry Pi telling your computer ​what it wants to hear, and is just providing access ​to the Internet using your pre-existing Internet connection.+Anyone remember the good old days of dial-up connectivity?​ Well, back in 80's and 90's, computers connected using dial-up ​modem, and the only thing computers needed was a serial ​COM port for communicationwhich was included virtually with every computer ​(USB didn't exist back then!)Nowadays every computer ​sold has some sort of Wi-fi or Ethernet connectivity, and our old legacy computers are just left to rot! Well, I'm planning on changing that! Why? For fun, of course! :-D
  
-The [[.:​virtual_modem:​script|Virtual Modem script]] will not only allow you to connect ​your old computer ​to the Internet, it will allow you to use the serial connection to login to the console of the Raspberry Pi or fake [[wp>Bulletin board system|BBS]] phone calls for example. The script was designed to be modular, ​and will allow you to assign ​your own Linux scripts ​to specific phone numbersaccessed with standard Hayes "​ATD12345"​-style commands. I will be writing specific tutorials about these functions at a later time+In this four-part tutorial we will build a Raspberry Pi that will be able to present itself as a serial modem to a client computer which will enable easy connection to Internet using their pre-existing serial port on any Windows 3.1/​95/​98/​Me and any other operating system with built-in support for [[wp>​Point-to-Point Protocol|PPP]]. In other words we'll use a Raspberry ​to convert a serial connection to an Ethernet connection. When all is said and done, your old legacy ​computer will be fooled ​to think that it's calling an actual ​[[wp>Internet Service Provider]] and establishing an Internet connection with them! Your Raspberry Pi will just be telling ​your computer what it wants to hearand is providing access to the Internet using your pre-existing Internet connection.
  
-The end result will be a Raspberry Pi that will simulate a Generic 57600 baud modemYour client computer ​will be able to communicate with it over serial, and through ​the Raspberryconnect ​to the network and the Internet. The baud rate can be changed ​to your liking. I've tested the virtual modem at the following symbol rates: 96001920038400 and 57600 baud.+The [[.:​virtual_modem:​script|Virtual Modem script]] ​will not only allow you to connect your old computer ​to the Internetit will allow you to use the serial connection to login to the console of the Raspberry Pi or fake [[wp>​Bulletin board system|BBS]] phone calls for example. The VModem script was designed to be modular, and allows you to assign ​your own Linux scripts to specific phone numbersaccessed with standard Hayes "​ATD12345"​-style commands, and the scripts will be able to do whatever you would like them to doI will be writing more specific tutorials about these functions at a later time, so stay tuned!
  
-This guide is useful for anyone who would like to do networking or connect to the Internet without a network card. It could also be useful for anyone who would like to experiment with a Virtual Modem. Since pretty much every IBM compatible computer has a RS-232 serial port, technically you could connect any older PC compatible ​computer to the Ethernet, as long as there is a way to use PPP. Windows 3.1 will need an extra program called Trumpet Winsock, but Windows 95 and later operating systems have PPP built-in!+My goal is to have a Raspberry Pi simulate a Standard 56K modem. Your client computer will be able to communicate with it over serial, and through the Raspberry, connect to the Internet. The baud rate can be changed to your liking. I've tested the virtual modem at the following symbol rates: 9600, 19200, 38400 and 57600 baud. 
 + 
 +This guide is useful for anyone who would like to do PPP networking ​experimentation ​or have a computer ​connect to the Internet without a network card. It could also be useful for anyone who would like to experiment with a Virtual Modem. Since pretty much every IBM compatible computer has a RS-232 serial port, technically you could connect any computer to the Internet, as long as there is a way to use PPP. Windows 3.1 will need an extra program called Trumpet Winsock, but Windows 95 and later operating systems have Dial-up networking ​built-in!
  
 <WRAP center round info 70%> <WRAP center round info 70%>
-==== Heed my word! But just in case... ​==== +==== Before we start ==== 
-There may be better ways to accomplish ​the task at handI've designed this process ​according to what has worked for me, and there are probably a plethora of ways this process ​could be improved. I welcome ​any improvement ideas and fixes to the guide and scripts provided. Also, naturally ​cannot ​take any responsibility direct or indirect of any damages that may be caused ​by following these instructions. All materials are provided ​AS IShowever ​I've taken every reasonable step to make sure everything ​should work as intended.+There may be better ways to accomplish ​these tasksThis process has worked for me, however ​there are probably a plethora of ways this software ​could be improved. ​That's why I welcome improvement ideas and fixes to the guide and scripts provided. Also, obviously, ​do not take any responsibility direct or otherwise for any damages that may be caused ​using the material ​provided ​in this site. This being said, I've taken every reasonable step to make sure everything ​works as intended.
 </​WRAP>​ </​WRAP>​
  
Line 23: Line 27:
 | [[Guides:​Virtual Modem|This Page]] | [[Guides:​Virtual Modem:​Section 2|2 - Shopping list >>]] | | [[Guides:​Virtual Modem|This Page]] | [[Guides:​Virtual Modem:​Section 2|2 - Shopping list >>]] |
  
-==== Skip ahead to other sections ​====+===== Index =====
  
   * [[Guides:​Virtual Modem|Section 1 - Introduction]] << You are on this page   * [[Guides:​Virtual Modem|Section 1 - Introduction]] << You are on this page
Line 32: Line 36:
   * [[Guides:​Connecting Windows 95/98 to the Internet]] COMING SOON   * [[Guides:​Connecting Windows 95/98 to the Internet]] COMING SOON
   * [[Guides:​Connecting a Digital VT100 compatible terminal to the Internet]] COMING SOON   * [[Guides:​Connecting a Digital VT100 compatible terminal to the Internet]] COMING SOON
-  * [[guides:List of Compatible Websites]] List of websites that will work with pre-2000 legacy web browsers.+  * [[Guides:List of Compatible Websites]] List of classic ​websites that work with pre-2000 legacy web browsers. 
 +  * [[Guides:​Virtual Modem:​Script|Source code and Coding Examples]]
  
 ---- ----
guides/virtual_modem.txt · Last modified: 2022-12-17 19:37 by omolini