OPNsense Forum

English Forums => Development and Code Review => Topic started by: frleonel on April 21, 2019, 08:30:46 pm

Title: PPPoE Server Not WORK!
Post by: frleonel on April 21, 2019, 08:30:46 pm
I'm 1 week working here with Opensense.

I already read several topics on pppoe-server.

but I can not do my work.

and do not think about it by following the same steps.

I think it's some problem in compiling the pppoed-MPD5 package
Title: PPPoE Server Not WORK!
Post by: mix on May 03, 2019, 07:11:58 pm
I have a similar problem. The server is running, the logs are supposed to be listened to on the pppoe1 interface, but there is no such interface. I can not find it in the results of ifconfig in any way.

I can stop the service but when I start I get this:
# service pppoed onestart
Starting pppoed
fxp0: Cannot send a netgraph message: Invalid interface
Title: Re: PPPoE Server Not WORK!
Post by: mix on June 06, 2019, 08:33:54 pm
Aaaah, everything is clear, unfortunately not very clearly described in the OPNSense web interface. The pppoe client is required to complete the Service Name exactly as it was described in the logs (PPPoE Raw). It can be read right after the pppoe server starts. In this case, the first server configuration will receive the service name pppoe1, the next pppoe2, etc.
Title: Re: PPPoE Server Not WORK!
Post by: tregiengchan on September 24, 2019, 11:15:30 am
I have a work around solution. You need to comment out the line then try to change any PPPoE server configuration:

vi /usr/local/etc/inc/plugins.inc.d/if_pppoe.inc
//set pppoe service pppoe{$pppoecfg['pppoeid']}
According to mpd man page:

set pppoe service service-name
Sets the requested PPPoE service name. Setting service name to "*" on link with allowed incoming connections allows to accept incoming connection requests with any service name specified.

Since FreeBSD 6.3-STABLE/7.0-STABLE of 2008-01-30 it is possible to use "AC-Name\Service-Name" syntax to request specified access concentrator for outgoing connection.

The default is "*".