steptail.com

If I try to fail, but succeed, which one did I do?

User Tools

Site Tools


guides:connecting_windows_9x_to_the_internet

This is an old revision of the document!


Connect Windows 95/98/Me to the Internet with Virtual Modem

This tutorial will get a Windows 95/98/Me computer (the client computer) connected on the network using only it's serial port and a Virtual Modem PPP interface software running on the Raspberry Pi (the host computer), or another device running the interface software. If you have not already, please follow the instructions how to set up Virtual Modem as it is a prerequisite for this tutorial. Make sure the serial cable is connected between the Raspberry Pi and the Windows computer, and that the vmodem.sh script is running on it before attempting this part of the guide.

You can connect to the Internet with the built-in Dial-up Networking (“DUN” for short) of Windows 95/98/Me, no network card needed. We will go through the steps how to set up a modem and then a dial-up connection on your Windows 95 (or later) computer. For the sake of completeness, we will then test the connection using Netscape Communicator 4.0, but you're free to use any web browser.

Once again, please make sure you have VModem set up and running and a serial cable is connected between the Raspberry Pi and your Windows 9x computer before attempting the following steps.

Dial-up Networking has been tested working with a clean install of Windows 95 OSR 2.5 (4.00.950 C), Windows 95 with DUN 1.4 update, and Windows 98 Second Edition.

Modem Setup

For you to connect to VModem running on your Raspberry Pi, you must first tell Windows 95 that you have a modem that you can use, and it is connected to your serial port on your computer and it is a Standard Modem. Once you've set up the modem, you can set up the dial-up connection.

  • Open Control Panel. Double-click on Modems:


  • Click Add:


  • If you get this prompt, go ahead and select Other, then hit Next >:


  • Make sure the check the box Don't detect my modem; I will select it from a list. Then click Next >


  • Under Manufacturers, select (Standard Modem Types). Under Models, select Standard 28800 bps Modem. You will be able to adjust the speed later to communicate faster than 28800 bps, but for now be sure to select this modem, because it is one of the modems supported by the script.


  • Some computers have more than one serial port, usually labeled COM1 and COM2 in Windows. We will be using the first serial port COM1. If you have the Raspberry connected on any other port, make adjustments as necessary.
  • Select the Serial COM port the Raspberry is connected to. If you've connected your Raspberry Pi via Serial cable to Serial Port 1 (COM1), select Communications Port (COM1), then click Next:


  • If you get a prompt for an area code, type in '0' for now.

  • Under Modems Properties window you will want to select the modem you added Standard 28800 bps Modem, and then hit Properties


  • We will now tell Windows that the Raspeberry Virtual Modem is communicating at 57600 bps. This is the default speed of the vmodem script. If you have modified the script, make adjustments as needed. Under Maximum speed, select 57600 and then click OK:


  • Back in Modems Properties hit Close to exit the window.

Dial-up Setup

Almost there! What we need to do next is tell Windows that there is a phone number you want to dial, and the modem you want to use is Raspberry Pi Virtual Modem. Go ahead and open up Dial-Up Networking from the Start menu.

Note!

  • If your computer is a clean Windows 95 install, Go to Start –> Programs –> Accessories –> Dial-Up Networking
  • If your computer is Windows 95 with DUN update 1.4, or Windows 98 or newer, go to Start –> Programs –> Accessories –> Communications –> Dial-Up Networking


  • Double click on Make New Connection


  • Give your new connection an appropriate name. Select your newly installed Modem - Standard 28800 bps Modem, then click Next >


  • Inside the Telephone number box, type in the number 1. Dialing 1 will execute the script 1.sh on the Raspberry Pi, which by default initiates a PPP connection with the client (Windows 95) computer.
  • Country code must match your computer's locale.
  • Leave everything else to their defaults.
  • Then click Next >


  • Hit Finish.


  • Congratulations! This finishes the set up portion of this tutorial.
  • Double click on the newly created dial-up connection. In our case it was called RasPiNet


  • Leave everything to their defaults, as they shouldn't matter here. Hit Connect.


  • You will see Windows attempting a connection.


  • If you have the virtual modem script visible, you will see the Hayes commands being sent at this time:


  • If everything goes well, after a while you will see the Connection Established window. Congratulations!
  • Windows 9x now genuinely thinks that you have connected to your Internet Service Provider. You can close the window.


  • You can check on the status of the connection by double-clicking the dialup connection indicator.


  • On your first connection, you should see some bytes received and sent. The initial data that was received from Raspberry is the pppd handshake, with the usual network configuration information.

Internet Access

You should now be able to access the Internet. However, many modern websites will require modern security and will refuse to communicate with older web browsers.

Troubleshooting

Unable to connect on dial-up

  • Make sure vmodem script is running on Raspberry Pi
  • Did you install the Generic 28800 modem?
  • 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.

Dial-up connects, but no websites open

  • Most current websites do not support unencrypted HTTP connections. As far as I understand, old operating systems do no longer have valid certificates, and this prevents connections to most websites. You can still explore archived websites using a Wayback Proxy server. See the section Internet Access for more information.
  • If your dial-up connection works, but you're absolutely not able to open any website, even after setting up the proxy server, try checking your IP configuration. In Windows 95, 98 and Me you can view your settings by running WINIPCFG from the Run dialog box.

Video recap

  • Video illustrates all the required settings in a Windows 95 OSR 2.5 (Rev C) 486 PC with the DUN 1.4 update.

Questions? Comments? Contact Me!

guides/connecting_windows_9x_to_the_internet.1583366973.txt.gz · Last modified: 2020-03-05 00:09 by omolini