Re: Double radius accounting

Lorenzo Milesi <[email protected]> Wed, 20 Nov 2013 23:29:43 +0100 (CET)
Newsgroups gmane.network.poptop
Message-ID <[email protected]>
> Thanks.  That looks all correct.  I think pptpd has sent the correct
> arguments to pppd, and yet your logs show pppd detects a plugin radius
> option on command line.  It remains a mystery, and I suggest asking
> a pppd mailing list.

... which as been quickly helpful! In 5 minutes I got the answer:

> Is it normal to see the radius plugin initializaion TWICE?

I think because it is reading /etc/ppp/options twice. From 'man pppd':

OPTIONS FILES
   Options can be taken from files as well as the command line.  Pppd reads options from the
   files /etc/ppp/options, ~/.ppprc and /etc/ppp/options.ttyname (in that order) before pro
   cessing  the options on the command line.



So removing the "options /etc/ppp/options" from pptpd.conf solved my issue!
I'm posting here for the benefit of others which may fall into the same mistake.

James, thanks again for your help.
-- 
Lorenzo Milesi - [email protected]

YetOpen S.r.l. - http://www.yetopen.it/


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk