Linux Security Debian Slax Tiny Core Health

Tiny Core

Install on a Hard Drive While Connected to the Internet

Install on a Hard Drive Without Being Connected to the Internet

Window Managers

Install Microcore

Install on a USB Drive

Additional Users

Install Programs

Root Terminal

Root File Manager

Root Text Editor

Mount a Drive or Partition

Backup

Iptables Firewall

Copy and Paste with the Mouse

Change the Screen Resolution

Background Image

Workspaces

Flash Player

Download Large Files

Printer

Update Tiny Core

Update Programs

Make a live CD with Programs

Dial Up Modems

Tiny Core Links


Previous Versions of Tiny Core

Tiny Core 1

Tiny Core 2.1-3


Other Links


Contact Details

Tiny Core

Dial Up Modems

Many people use broadband Internet connections. Some people use dial up modems, either because they are in a location where broadband is not available, or because it is less expensive. This section is included for people who use a dial up modem.


Modems

Some dial up modems work with Linux, others may not, particularly Winmodems. Most external modems work.


Install Extensions

Extensions need to be installed before a dial up internet connection can be set up. Download them using another operating system.

Extensions needed are bash.tcz, pppd.tczl and pppsetup.tcz.

If you plan to make a new extension for your settings using this method, pppd.tczl needs to be mounted. If there is a file called tcz2ram.lst in the tce directory, and pppd.tczl is listed in it, delete it from the list.

If you plan to make a new extension for your settings, the squashfs-tools-4.0 extension needs to be installed.

A text editor needs to be installed for editing files, such as leafpad, including dependencies (if you are familiar with vi, you can use it).

Copy and paste these extensions to the "tce" directory.

For more information, see Install Programs.


PPPsetup

Following is an explanation of how to set up ppp using common options. In some situations the information which needs to be entered may be different. Enter information as appropriate for your situation.

Open the Terminal and type:

sudo pppsetup

You will see a new window. In the first window you do not need to enter any information, just press "Enter."

You will see a new window where you need to type:

atdt(phone number)

After typing "atdt" type the phone number the computer dials to connect to the internet, with no spaces. Then press "Enter."

You will see a new window where you select how the modem is connected to the computer. You need to make the correct selection here. Most external modems connected to a serial port should be "ttyS0." Then press "Enter." If the option for your modem is not included, after setting up ppp, edit the file /etc/ppp/options, inserting the correct information.

You will see a new window where you select the modem connection speed. Use the down arrow to make the appropriate selection. Most people can select "115200." Then press "Enter."

You will see a new window where you indicate whether your internet service provider uses callback. Most people should select "No." Press "Tab" to highlight "No." Then press "Enter."

You will see a new window where you can change the modem init string. Most people don't need to type anything here, but just press "Enter."

You will see a new window asking for your internet service provider's domain name. Most people don't need to type anything here. Just press "Enter."

You will see a new window where you select whether your internet service provider use PAP, CHAP or another script. If you are not sure, leave it as it is, and see if it works. If it doesn't work you can run pppsetup again and select another option. Press "Enter."

You will see a new window where you type the Username for connecting to the internet. Then press "Enter."

You will see a new window where you type the Password for connecting to the internet. Then press "Enter."

You will see a new window displaying the ppp configuration. Press "Enter."


Connect to the Internet

To connect to the Internet, in the terminal, type:

sudo ppp-go

Disconnect from the Internet

When finished, you can disconnect from the internet by typing:

sudo ppp-off

Save Settings

At this stage, when the computer is turned off, the settings will be lost. Following are two different methods to save settings.


Method 1: Save Settings in Backup

To save settings in backup, add the following lines to /opt/.filetool.lst.

etc/ppp
etc/resolv.conf
usr/local/sbin/ppp-go

If you also include

usr/local/bin/ppp-off

you can remove the extension pppsetup.tce from the tce directory after setting up the connection. This also removes ppp from the menu, so you connect to the internet using the terminal.

To save settings, Backup when shutting down Tiny Core. For more information see Backup.


Method 2: Make a New Extension for PPP

As more files are added to backup, it takes longer. If you make extensions for things which don't need to be in backup, it will be a little quicker.

If you install Tiny Core on another computer, or reinstall it on the same computer, you can just copy the extension, and won't need to run pppsetup again.

You need to have run pppsetup, as explained above.

Create a directory for the new extension. Type:

mkdir -p /home/myext/ppp

Using the Root File Manager, copy the directories and their contents from /tmp/tcloop/pppd to /home/myext/ppp (these are etc and usr).

Create another directory. Using the Root Terminal, type:

mkdir -p /home/myext/ppp/usr/local/bin

Copy and paste files from the filesystem to /home/myext/ppp.

cp -p /etc/ppp/* /home/myext/ppp/etc/ppp/
cp -p /etc/resolv.conf /home/myext/ppp/etc/
cp -p /usr/local/sbin/ppp-go /home/myext/ppp/usr/local/sbin/
cp -p /usr/local/bin/ppp-off /home/myext/ppp/usr/local/bin/

Make an Extension

To make a extension called "myppp.tcz," open the Root Terminal, and type:

cd /home/myext
mksquashfs ppp/ myppp.tcz

Copy to TCE directory and Remove Extensions

Copy and paste the new extension to the "tce" directory.

You must remove two extensions, pppd and pppsetup.


Other Options

Menu files have not been included in this extension, so you connect to the internet using the terminal. Another option is to also include menu files.

Another option, instead of adding new files to pppd, is to make an extension using only those files you added, and not remove the pppd extension from the tce directory. For this to work the new extension must be loaded after pppd. Extensions are loaded in alphabetical order. You could use a name for your new extension starting with a letter of the alphabet after p, for example, zmyppp.tcz.


Downloading Large extensions

Some extensions may be large. An example is Open Office. If you use a dial up internet connection, and plan to use programs with large extensions, it is a good idea to download these extensions and dependencies using a method other than the Appbrowser. Then copy and paste them to the directory "tce." Include .dep files, as these ensure dependencies are loaded in the appropriate order when starting Tiny Core.

Tip: If you install Leafpad, it contains all of the dependencies of open office.


Other Linux Distributions

People using dial up modems with other Linux distributions can find more information here.


© Copyright Guy Shipard 2009