[Gllug] pppd demand dial help

Brent Geach brent at telecom1.com
Tue Apr 1 08:56:19 UTC 2003


There is only 1 config that I need that connects to a central point from which
vaious vpn's link me to the various geographical sites.
So I'll just have to put in various routes to the effect of if it needs to see
1 of several ip ranges then dont go via default gw but via the pppd connection

What I have at the moment I have this

noauth
connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/routetocrappyanalogue"
debug
/dev/modem
115200
defaultroute
noipdefault
user xxxxxxxx

chatscript

ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIALTONE"
ABORT "NO ANSWER"
"" ATZX3
OK ATDT0000000000000
CONNECT \d\c


and in options

demand
idle 600
ipcp-accept-remote
ipcp-accept-local
:172.19.1.1
lock

Where 172.19.1.1 is the remote ip that the pppd server assigns me
So to get it working now I added a route for a particular ip via the pppd then tried to ping
it, which caused it to try dial up failed once for unknown reason and on retry
got through and then deleted my original route which I added again and pinged
fine then. So that means that pppd is changing my routing table when it
connects and I cant find where that script is at the moment.

What package does pon come from?



On Mon, 31 Mar 2003, Chris Bell wrote:

> On Mon 31 Mar, Brent Geach wrote:
> > 
> > Hi all,
> > Someone Im hoping should have experience with this
> > 
> > Im trying to get pppd to demand dial when trying to access a number of
> > geographically different ip's (ie a number of different ranges)
> > 
> > I can get pppd up and working and manually add all the routes but am wanting
> > to automate it all with the demand option in pppd but can seem to figure out
> > how to implement it!
> > 
>    The pppd can be configured for more than one destination and setup, and
> each configuration can be given a simple short name, and called using
>    pon <name>
> Are you trying to get the system to select, run, and close particular
> configurations according to need?
> 
> -- 
> Chris Bell
> 
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug

-- 
  (    (                                                         _______
  ))   ))   .-"There's always time for a good cup of coffee."-.   >====<--.
C|~~|C|~~| (>-----Brent Geach - brent.geach at telecom1.com------<) |    = |-'
 `--' `--'  `---------------                   ---------------'  `------'


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list