Previous Page | Table of Contents | Next Page

Step by Step Tutorial - hard disk

What is in this tutorial:

My situation

First something about my situation at home. I am connection to a local network. I want to share my ADSL connection with somebody on this local network, for which I reserved a 486SX computer. In this computer I have put two network interface cards (NIC). One goes to my HUB and one goes into the ADSL modem. I understand that everyone's situation may be different, but understand that this tutorial is based on my situation.

Getting started

I've started from scratch, so I formatted my harddisk en installed the latest release of freeSCO. While setting up I've chosen for option E (the Ethernet Router). Some important settings which you have to keep in mind are:

Back to top

Extracting the file fspptp.tgz and placing it in the right place

It's necessary to extract the file fspptp.tgz (fspptp.tgz) and to put it in the right place. This is done by downloading the file, copying it to disk. The following steps require that you have the disk containing fspptp.tgz in the floppy diskdrive of the freeSCO box.

mount -t vfat /dev/fd0 /fd 
cd /fd
cp * /mnt/router/fix/

cd /mnt/router/fix
zcat <fspptp.tgz | star
rm fspptp.tgz

It is now necessary to REBOOT the computer.

Back to top

The configuration of a couple of files

To create a connection to mxstream you'll have to create some files. It's possible to use the XS4All script as an example (xs4all-script). Although this script needs a couple of changes. This is what I did:

Put your KPN mxstream username and password in /mnt/router/etc/ppp/pap-secrets, e.g.:

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
KPN-username	*	KPN-password		*

Put the following in /mnt/router/etc/ppp/options.adsl:

idle 0
user KPN-username

Hopefully this was succesful. I want to point out that freeSCO has no VI or VIM, but uses EDIT instead.

Back to top

The configuration of the firewall

To those who expect me to actually explain in detail how you may configure a firewall, I have some bad news. Because I won't do that, actually. A firewall is based on rules and those rules are different in every situation. So, instead I'd like to direct you to the following page: (nog te zoeken), so that you may figure out for yourself how to configure your firewall.

So, what do I want to say here? Well, I told you to disable firewalling at the installation of freeSCO. This is the part I spent a lot of time on, just to find the right settings. Because you've disabled firewalling freeSCO will pass all traffic and is completely open to the outside world. But because you need a VPN connection, that is not quit correct. A VPN connection demands encryption (masquerading) which you have to enable, or else the VPN connection won't work at all. The next 3 commands enable the encryption:

ipfwadm -I -i accept
ipfwadm -F -i accept -m 
ipfwadm -O -i accept

Back to top

Making a connection

To establish a connection, the file /mnt/router/etc/ppp/pap-secrets has to be copied to /etc/ppp/pap-secrets at least once. And the firewall commands (see above) have to be executed. I still have to figure out why freeSCO clears the contents of /etc/ppp/pap-secrets everytime after a reboot.

Now you may try the following command:

pptp file /mount/etc/ppp/options.adsl

If everything went well, you have got a connection to the VPN of mxstream!

You may want to check this by pinging to or to

Back to top

The configuration of a client

As freeSCO does not support a scripting language (e.g. perl) the login script of XS4All is not usable. This means you'll have to manually login to your ISP using a browser.

As freeSCO also doesn't have a internet browser is assumable that you setup a client. In my case this is a MS-Windows based client. You need to do two changes to the settings to be able to connect to

You will now be able to surf to and login to your provider :)

Back to top

Previous page | Table of Contents | Next page

Mark Bleeker