| Linux | Security | Debian | Slax | Tiny Core | Health |
|
Install Tiny Core While Connected to the Internet Install Tiny Core Without Being Connected to the Internet |
Tiny Core 1.XDial Up ModemsMany 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. ModemsSome dial up modems work with Linux, others may not, particularly Winmodems. Most external modems work. Install Tiny CoreBegin by Installing Tiny Core. Install ExtensionsExtensions 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. PPPsetupFollowing 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:
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:
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 ServersUsing the Root Text Editor, open the file /etc/ppp/options. Add the line:
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:
Copy the file /etc/ppp/resolv.conf to /etc/, replacing the existing file. Using the Root Terminal, type:
You can now use the internet. Disconnect from the InternetWhen finished, you can disconnect from the internet by typing:
Save SettingsAt 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 BackupTo save settings in backup, add the following lines to /opt/.filetool.lst.
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 PPPAs 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:
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:
Remove the original compressed version of pppd.tcel
Copy and paste files from the filesystem to /home/myext/ppp.
Make either a tce extension or a tcz extension. Make TCE ExtensionSkip this section if you are making a tcz extension. To make a extension called "myppp.tce," open the Root Terminal, and type:
Make TCZ ExtensionTo make a extension called "myppp.tcz," open the Root Terminal, and type:
Copy to TCE Directory and Remove ExtensionsCopy and paste the new extension to the "tce" directory. You must remove two extensions, pppd and pppsetup. Other OptionsMenu 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 extensionsSome 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 |