What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

PPPoE server with accel-ppp on AC66U

c0mm0n

New Around Here
How to get a PPPoE server running ?

Hi,

I'm trying to set up a PPPoE Server on the AC66U.
- Using the latest beta firmware (beta2)
- Enabled the entware
- Installed accel-pppd

I can't get to connect and want to debug.

But I haven't found how I can get any lines of debug !?
- Looked everywhere => nothing
- Looked in path specified in the con file => nothing
- Looked in syslog => nothing
- Tried stdout => nothing
- Created the log files and gave them 777 rights => nothing

I run accel-ppd like this :
accel-pppd -c /opt/etc/acc.conf

Then is stalls nothing happens (service is running if if ps -ax from another shell).

Where are the logs ? Driving me crazy ? :confused: Any alternatives to accel-ppp ?

I've seen this thread, he gets logs...
http://forums.smallnetbuilder.com/showthread.php?t=12872&highlight=accel-ppp

Here's my latest conf file (simplified, also tried the bundled on, same result).

Code:
[modules]
log_syslog

pptp
l2tp
pppoe

auth_mschap_v2
auth_mschap_v1
auth_chap_md5
auth_pap

ippool

chap-secrets

[core]
log-error=/opt/var/log/accel-ppp/core.log
thread-count=4

[ppp]
verbose=1
min-mtu=1280
mtu=1400
mru=1400
ipv4=require
ipv6=deny

[lcp]
echo-interval=30
echo-failure=3

[pptp]
verbose=1

[pppoe]
interface=eth2.835
verbose=1

[l2tp]
verbose=1

[dns]
dns1=172.16.0.1
dns2=172.16.1.1

[client-ip-range]
192.168.10.0/24

[ip-pool]
gw-ip-address=192.168.2.1
192.168.2.2-255

[log]
log-emerg=/opt/var/log/accel-ppp/emerg.log
#syslog=accel-pppd,daemon
copy=1
level=3

[chap-secrets]
gw-ip-address=192.168.0.1
chap-secrets=/opt/etc/ppp/chap-secrets

[cli]
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
#password=123
 
Last edited:
why you install accel-pptpd if it already in firmware? like pptp server

you can use
/jffs/configs/pptpd.conf to replace config
or
/jffs/configs/pptpd.conf.add to add some variables
 
Last edited:
Cause i'm a noob with merlin and failed hard ? :D

Goig to test right now. Thanks for the input, could help someone as noob as me in the future.
 
The /jffs/configs/ folder is empty.

Going to see if enabling ppt server helps or another service in the GUI.

/keep on digging
 
@Andrey

Are you sure I can have a PPPoE server running with pptpd service ? (trivial maybe, but I'm unsure)
 
For a PPPoE server you will need the server portion of rp-pppoe.
 
Thanks RMerlin,

Is it built-in ? Should I install ? Compile ?
I usually know my ways but the asus/ddwrt/merlin are new to me.

I'm doing this to help people replace their ISP box using Merlin (French ISP Orange)
 
I tend to agree with Andrey, I was installer accel-ppp for the pppoe server which is documented.

RMerlin you're sure I can't do that with pptpd/accel-ppp ?

My tests are negative for now, but needs more troubleshooting. I'm gonna use an ERL as a pppoe client, tcpdump and port mirror at last with a switch at last If I still don't get it.

Any help much appreciated.

If you want the big picture I'm trying to set this up

- PPPoE Client on VLAN works
- I've found how to create VLANs and bridge them
- Now *only* the PPPoE server running on vlan 835 on the LAN side.

Orange.png
 
I tend to agree with Andrey, I was installer accel-ppp for the pppoe server which is documented.

RMerlin you're sure I can't do that with pptpd/accel-ppp ?

I don't know then. I'm just surprised to hear that accel-ppp comes with PPPoE functionality since Asus uses rp-pppoe to the firmware to handle PPPoE ISPs, despite the fact they already have accel-pptp/accel-ppp.

No idea if it's available on Optware/Entware.
 
1. rp-pppoe.so present in /usr/lib/ppp
2. in /usr/lib/ppp also present pptp.so and pppol2tp.so

what need for accel-ppp pppoe server - pppoe module.
 
I can't get any pope server to run...

- Using pppd I've tried to mod the conf, but it'll always behave as a client (PADI...)
- Using accel-pppd : I get it running from entware but nothing happens... no log, whatever debug I put, nothing in tcpdump, nothing...
- I even tried to use pptpd which is accel-pptp based = no luck

What puzzles me a bit is that rp-pppoe is in the sources, we have some pieces like pppoe-relay, the pppoe plugin for client... but haven't found a pppoe-server binary.
https://github.com/RMerl/asuswrt-merlin/tree/master/release/src/router/rp-pppoe

Could I had pppoe-server and be done ? Any tips how to do that ? What about the code already in the sources ?

Any help appreciated !
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Back
Top