This shows you the differences between two versions of the page.
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-11-18 23:51] omolini [Required packages] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Section 4 - Setting up Virtual Modem ====== | ====== Section 4 - Setting up Virtual Modem ====== | ||
==== Required packages ==== | ==== Required packages ==== | ||
- | * For the connection script to work properly, your Raspbian installation needs a few prerequisite packages. The most important of these is the PPP daemon "pppd" and IP Tables to route packages. | + | For the connection script to work properly, your Raspbian installation needs a few prerequisite packages. The most important of these is the PPP daemon **"pppd"** and **IP Tables** to route packets. |
* Run the following commands to install pppd and iptables: | * Run the following commands to install pppd and iptables: | ||
<code bash> | <code bash> | ||
Line 26: | Line 26: | ||
==== Name of the serial port ==== | ==== Name of the serial port ==== | ||
- | The VModem script has been preconfigured to use **ttyUSB0** as the default serial port name. Usually Raspbian will call its first serial port adapter **ttyUSB0** when using USB to Serial converters, and you will not need to modify this script. However, if the name is something **different**, such as **ttyAMA0**, you may need to update the script to point to the correct serial port name. The following section described how to double-check your serial port name: | + | The VModem script has been preconfigured to use **ttyUSB0** as the default serial port name. Typically Raspbian will call its first serial port adapter **ttyUSB0** when using USB to Serial converters, and you won't need to modify this script. However, if the name is something **different**, such as **ttyAMA0**, you may need to update the script to point to the correct serial port name. The following section described how to double-check your serial port name: |
To confirm your serial port name, do the following: | To confirm your serial port name, do the following: | ||
Line 65: | Line 65: | ||
===== Getting online ===== | ===== Getting online ===== | ||
- | Check out specific guides on how to interface different computers and devices with VModem: | + | Now you can proceed to check out the system specific guides on how to interface different vintage computers and devices with VModem: |
* [[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 | ||
Line 78: | Line 79: | ||
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 94: | ||
- | * To restart the Raspberry and test the changes, issue the following command: | + | * Restart Raspberry and test the changes. After rebooting, VModem should automatically start up with system processes and start expecting connections on serial. |
- | <code bash> | + | |
- | sudo shutdown -r now | + | ==== Further steps ==== |
- | </code> | + | You can now proceed to connect your retro machine to the Internet using Virtual modem. |
- | * After the Raspberry Pi boots, VModem should automatically start up with the system and start expecting connections on serial. | + | |
+ | * [[Guides:Connecting Windows 3.1 to the Internet]] | ||
+ | * [[Guides:Connecting Windows 9x to the Internet]] | ||
+ | * [[Guides:Connecting a Macintosh Classic to the Internet]] | COMING SOON | ||
+ | * [[Guides:Connecting a Dumb/Smart Terminal to the Internet]] | COMING SOON | ||
==== Skip to other sections ==== | ==== Skip to other sections ==== | ||
Line 104: | Line 109: | ||
* [[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 on this page | + | * [[Guides:Virtual Modem:Section 4|Section 4 - Setting up Virtual Modem]] << You are here |
- | * [[Guides:Connecting Windows 3.1 to the Internet]] | + | |
- | * [[Guides:Connecting Windows 95/98 to the Internet]] | + | ==== Related Topics ==== |
- | * [[Guides:Connecting a Digital VT100 compatible terminal to the Internet]] | + | |
* [[Guides:Virtual Modem:Script|Source code and Coding Examples]] | * [[Guides:Virtual Modem:Script|Source code and Coding Examples]] | ||
+ | * [[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]] | ||
+ | * [[Guides:Web Archive Proxy|Steptail Wayback Proxy Server]] | Connect your retro computer to a mirrored copy of the Internet as it was in 1996! | ||
---- | ---- |