Linux Security Debian Slax Tiny Core Health

Tiny Core

Install Tiny Core While Connected to the Internet

Install Tiny Core Without Being Connected to the Internet

Window Managers

Install on a USB Drive

Encrypted Home

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

Printer

Make a live CD with Programs

Dial Up Modems

Tiny Core Links


Other Links


Contact Details

Click Here for
Current Version of Tiny Core

Tiny Core 1.X

Dial Up Modems

Many people now 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 Tiny Core

Begin by Installing Tiny Core.


Install Extensions

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

For dial up pppd, pppsetup and bash need to be installed. If you plan to make a new extension to save your settings, you need pppd.tcel (not pppd.tczl).

If you plan to make a tcz extension, the cramfs-utils extension needs to be installed.

For editing files a text editor needs to be installed, such as leafpad, including its 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 need to 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. Don't type anything here. Just press "Enter."

You will see a new window asking for the IP address of the Domain Name Server. This will be done later, so don't type anything here. Just press "Enter."

You will see a new window where you need to 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."


Add IP Addresses of Domain Name Servers

Using the Root Text Editor, open the file /etc/ppp/options. Add the line:

usepeerdns

After adding this line, when you connect to the internet, the computer will get the IP addresses of the domain name servers, and write them in the file /etc/ppp/resolv.conf.

Connect to the Internet. In the terminal, type:

sudo ppp-go

Copy the file /etc/ppp/resolv.conf to /etc/, replacing the existing file. Using the Root Terminal, type:

cp -p /etc/ppp/resolv.conf /etc/

You can now use the internet.


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

For more information see Backup.

To save settings, you must Backup when shutting down Tiny Core.

(Another option is to also add /usr/local/bin/ppp-off to .filetool.lst. You can then remove the extension pppsetup.tce from the tce directory. This also removes ppp from the menu, so you connect to the internet using the terminal.)


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.

Begin by creating directories. Open the Root Terminal and type:

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

You can use different directories, but /usr/local/bin must be used.

If you use different directories, also use them in the following commands.

Copy pppd.tcel to the directory ppp, you created in /home/myext.

Extract this extension. Open the Root Terminal and type:

cd /home/myext/ppp
tar xzf pppd.tcel

Remove the original compressed version of pppd.tcel

rm pppd.tcel

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 either a tce extension or a tcz extension.


Make TCE Extension

Skip this section if you are making a tcz extension.

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

cd /home/myext/ppp
tar czvf myppp.tce etc usr

Make TCZ Extension

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

cd /home/myext
mkfs.cramfs 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 the order, tce extensions a to z, then tcz extensions a to z. You could use a name for your new extension starting with a letter of the alphabet after p, such as 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 App Browser. Then copy and paste them to the directory "tce."


© Copyright Guy Shipard 2009