On Thu, Sep 03, 2009 at 04:50:37PM +0800, James Andrewartha wrote:
>
> On Wed, 26 Aug 2009, Marco d'Itri wrote:
> 
> > On Aug 26, James Andrewartha <tr...@ucc.gu.uwa.edu.au> wrote:
> > 
> > > I want to run a PPPoE client on a server that also runs a PPTP daemon 
> > > (poptop).
> > > For firewalling reasons, I need to rename the ppp interface used by the 
> > > PPPoE
> > > connection so it doesn't match ppp+ which is used for matching the PPTP
> > > connections. However, when using udev to rename the interface, pppd then 
> > > can't
> > > find the interface any more and dies.
> > Send a patch, I have no idea about what needs to be changed to support
> > renaming the interface created by pppd. You should probably change pppd
> > to support arbitrary arguments to the unit configuration directive.
> 
> I had a quick look at the source, and it uses int unit absolutely 
> everywhere as an identifier, so it's probably a lot of work to support 
> arbitrary interface names. I also tried filing a bug upstream, but it 
> never appeared. I guess I'm out of luck on getting this fixed.
> 

One of the SuSe guys wrote a patch a while ago for ppp 2.4.2.
It's available here:
http://marc.info/?l=linux-ppp&m=109025160924399&w=2

I'm not sure how much effort would be involved to port that up to the current 
ppp, though.

Cheers,
Peter



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to