[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Sheflug] dial on demand with wvdial
> -----Original Message-----
> From: Mr. Adam ALLEN [mailto:adam [at] dynamicinteraction.co.uk]
> Sent: 07 August 2003 21:44
> To: shef-lug [at] list.sheflug.org.uk
> Subject: [Sheflug] dial on demand with wvdial
>
>
> I've been playing with dial-on demand, and a few things
> aren't working- but I'm asking for help now, before I run up
> a big phone bill trying out different options.
>
>
> What isn't working.
> - The idle time (Doing a tcpdump on both ppp interfaces
> while dialed-up shows no traffic for 3/4 minutes)
> - The active-filter option (I've tried active-filter,
> active-filter-out but each time it complains that it is an
> unrecognised option).
>
>
> I've pretty much tried to cobble this together (I'm against
> diald since it doesn't compile). But would appreciate any
> pointers from those who remember the dial-up days (or are
> still stuck in them). This is redhat9 btw.
I can't offer any immediate direct help, but have you considered that
these days, demand dialling is an intergrated part of the pppd daemon
(sorry if that sounds like teaching granny to suck eggs!).
Also, are you sure it's not DNS or some other stray UDP stuff or netbios
(for instance) on the network that's triggering the demand dial? I
remember when I used diald that I had to put extensive filters in for
picking up local domain name lookups etc. Running a caching name server
stopped a lot of mis-triggers.
>
>
> /etc/ppp/options
> ----------------
> lock
> defaultroute
> idle 20
> #active-filter-out 'tcp dst port 20 or tcp dst port 21 or tcp
> dst port 22 or tcp dst port 23 or tcp dst port 25 or tcp dst
> port 443 or tcp dst port 110 or tcp dst port 80'
My SuSE 8.0 man page for pppd (8) says that active-filter "...is
currently only available under NetBSD, and then only if both the kernel
and pppd were compiled with PPP_FILTER defined". Is that a clue? I'm
looking at pppd 2.4.1 (pppd -v)
Of course, if active-filter isn't supported, the link will be coming up
all over the place :-(
At that point, I'd turn to diald :-(((
--
David
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.