Mail from ILUG-BOM list (Non-Digest Mode)


On Tue, 4 Jul 2000, Satya wrote:

> Is it possible to set up a ppp link for multiple ISPs?
> As in, ifup ppp0 would bring up a connection through VSNL with the
> appropriate info in /etc/resolv.conf and the correct smtp relay server
> (bom2), while ppp1 would do bring it up with DNS and mail config
> appropriate for another ISP.

use pppd with "call" option instead.

so "pppd call vsnl" would read options from /etc/ppp/peers/vsnl where you
would specify vsnl specific options. notably a 
"connect /path/to/chatscripts/vsnl"

similarly "pppd call mtnl" would call mtnl ...

to setup DNS automagically you can use the $DNS1 and $DNS2 variables 
which are passed to /etc/ppp/ip-up by pppd in simple shell scripts which
overwrite resolve.conf.
   
mail me if you want mine for vsnl & mtnl.

mail reconfiguration would depend on the mail server in use. Shouldn't be
more difficult then s///ing a line in some control file and sending a HUP
to the server.

                                        - cnb

-- 

Chandrashekhar Bhosle.                 Email: [EMAIL PROTECTED]    
Webmaster.                             ICQ  : 7616948            

FreeOS.com - The Resource Center for Free Operating Systems. 
------------------------------------------------------------



_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to