[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] dial on demand with wvdial



On Mon, 2003-08-11 at 08:22, Morris, David (Allvac, UK) wrote:
> > 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!).
> 

Yes, that's what I'm trying to configure- using wvdial for the chat
scripts.

> 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.
> 

The machine was isolated- and if there was extra traffic it certainly
wasn't IP traffic. (It could have been ppp options been re-negogiated,
but my understanding was only IP traffic counted)..

I've not really spent much more time looking at this, it at least does
the dialing up as required, and using a FRIACO account it would at least
drop after 2 hours (worst case). It would be nice to get it to drop the
line when it's finished.


> 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)

So does mine- must have missed that one.

> Of course, if active-filter isn't supported, the link will be coming up
> all over the place :-(
> 

Off to test putting iptables on the interface to restrict the traffic.

> At that point, I'd turn to diald :-(((

Thanks for the pointers.

-- 
Regards,
Adam Allen.

adam@dynamicinteraction.co.uk
pgp http://search.keyserver.net:11371/pks/lookup?op=vindex&search=adam%40dynamicinteraction.co.uk

Attachment: signature.asc
Description: This is a digitally signed message part