I want to configure one port of OpenWRT as a PPPoE-server. Just to test some other routers and doing experiments.
I found a complete package to be installed called luci-app-rp-pppoe-server ( Roaring Penguin PPPoE Server) and all of its language packs. But I haven't got much of a clue on how to set it up. Although I do have experience in running such on a desktop machine there is not much going on when I try this one on OpenWRT (I tried version 19.07.0 as a vmware guest). I believe there should at least appear some interface called ppp0 or such.
For anyone interested in this, I still haven't found out how to use the luci interface. But I did manage to run a pppoe-server by commandline. It is started like this:
This starts the server running on eth1 called myownserver with the IP 10.1.0.1
The first client that connects will get 10.1.0.2 unless a specific address is mentioned for a certain user in /etc/ppp/chap-secrets
#USERNAME PROVIDER PASSWORD IPADDRESS
# if you want to fix ip address
"user1" * "pass1" 10.1.0.25
"user2" * "pass2" 10.1.0.33
You may have to tweak /etc/ppp/pppoe-server-options
I used this: (Rest of the parameters were commented out)