|
Next
Previous
Contents
7. Conecting a computer to a group of different ISPs with a modem and PPP
Many times, one standalone computer does not only connect to just one network. It is common to connect to different networks or to the Internet using some different service providers. In this case, changing configuration files each time you want to connect to a different site can be annoying. The solution i propose here consist in using different sets of configuration files for each different connection. You can find here some scripts to automate changing from one to another.
7.1 Note about sending mail using a relay host
If your email client program uses a local Message Transfer Agent with a
In the following examples, you will find how to change this parameter in
the Smail configuration files in a simple configuration where all
external messages are sent to a
7.2 Scripts to automate multiple connections and changing from one to anotherStarting up
First of all, create a subdirectory of With the next script this directory is created and filled with the current configuration files from Diald, chat, pppd and Smail, that will be treated as a template for the next configurations.
New provider
With the next script the template configuration will be copied to a new
directory to prepare it for a new provider connection or a new net
connection. This script (
Now, you will modify as you need the new files in
Changing from one to another
At the end, with this script you will change all your configuration files
related to Diald to connect to another provider or net. I use
symbolic links to avoid using duplicate files. Using symbolic links, if
you change any config file in its original location like
Next Previous Contents Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |