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
guides:virtual_modem [2019-05-27 18:12]
omolini
guides:virtual_modem [2019-08-22 18:20] (current)
omolini [Virtual Model (vmodem)]
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-====== ​VMODEM ======  +====== ​Virtual Model (vmodem) ​======  
-====== A Raspberry Pi Serial to Ethernet adapter ​====== +//Turn a Raspberry Pi into a virtual ​Dial-up Modem (Serial-to-Ethernet Adapter) to facilitate Internet connections with legacy computers and terminals.//​
-//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 |}}
 {{youtube>​H-rCLei0sc8?​medium}} {{youtube>​i_Ax0aNYWP0?​medium}} {{youtube>​H-rCLei0sc8?​medium}} {{youtube>​i_Ax0aNYWP0?​medium}}
  
 ---- ----
-Anyone ​remember the good old days of dial-up connectivity? ​Well, back in 80's and 90'​s, ​computers connected using a dial-up ​modem, and the only thing computers needed was a serial COM port for communication,​ which 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 funof course! :-D+Do you remember the early days of Internet and dial-up connectivity? ​Early computers ​used to be connected ​to the Internet ​using a modem connected to a telephone network, and the only thing computers needed was a serial COM port for communication,​ which virtually every computer ​had. Nowadays every computer sold has some sort of Wi-fi or Ethernet connectivity, ​but our legacy computers are just left to rot offlineThere are many ways you can get a PC online, including getting a 3com 3C503 or 3C509 network adapter, but sometimes a PC just doesn'​t support network card expansion, or maybe you're not even connecting a PC. Well, if the computer has a serial port, or you'd like to experience the Internet just like in the good old daysyou can always use Virtual Modem. ​
  
-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 hear, and is providing access to the Internet using your pre-existing Internet connection.+In this four-part tutorial we will build a Raspberry Pi that will act as a serial modem to a legacy ​computer which will enable ​a straightforward ​connection to Internet using pre-existing serial port on any computer ​with support for [[wp>​Point-to-Point Protocol|PPP]], this includes all Windows computers starting from Windows 3.0 and early Macintosh classics. But PPP support is not strictly required, and even simple serial terminals can connect to the Internet using Linux as a login host. In other words we'll use a Raspberry to convert a serial connection to an Ethernet connection. When all is said and done, your legacy computer will think it's calling ​a real [[wp>​Internet Service Provider]] and establishing an Internet ​link with them! Your Raspberry Pi will just be telling your computer what it wants to hear, and is actually the one providing access to the Internet using your pre-existing Internet connection.
  
 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 VModem script was designed to be modular, and allows you to assign your own Linux scripts to specific phone numbers, accessed with standard Hayes "​ATD12345"​-style commands, and the scripts will be able to do whatever you would like them to do. I will be writing more specific tutorials about these functions at a later time, so stay tuned! 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 VModem script was designed to be modular, and allows you to assign your own Linux scripts to specific phone numbers, accessed with standard Hayes "​ATD12345"​-style commands, and the scripts will be able to do whatever you would like them to do. I will be writing more specific tutorials about these functions at a later time, so stay tuned!
Line 17: Line 16:
 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. 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!+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, or any other network, as long as there is a way to use dial-up ​PPP. Windows ​3.0, 3.1 and 3.11 will need an extra program called Trumpet Winsock, but Windows 95 and later operating systems have built-in ​Dial-up networking.
  
 <WRAP center round info 70%> <WRAP center round info 70%>
 ==== Before we start ==== ==== Before we start ====
-There may be better ways to accomplish these tasks. This 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, ​I 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.+There may be better ways to accomplish these tasks. This process worked for me, but if you have improvement ​suggestions,​ I'd love to hear from you! Especially if you have ideas how to improve the documentation,​ or the scripts provided. Also a little disclaimer: ​I do not take any responsibility direct or otherwise for any damages that may be caused using the material provided in this site. That being said, I've taken all reasonable ​steps to ensure ​everything works as intended.
 </​WRAP>​ </​WRAP>​
  
Line 35: Line 34:
   * [[Guides:​Virtual Modem:​Section 4|Section 4 - Setting up Virtual Modem]]   * [[Guides:​Virtual Modem:​Section 4|Section 4 - Setting up Virtual Modem]]
   * [[Guides:​Connecting Windows 3.1 to the Internet]]   * [[Guides:​Connecting Windows 3.1 to the Internet]]
-  * [[Guides:​Connecting Windows ​95/98 to the Internet]] COMING SOON+  * [[Guides:​Connecting Windows ​9x to the Internet]] 
 +  * [[Guides:​Connecting a Macintosh Classic ​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 classic websites that 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.1558980752.txt.gz · Last modified: 2019-05-27 18:12 by omolini