PPPoE server setup using TpLink archer c6

Can someone share some info about installing pppoe server configuration using tp link archer c6?? thanks

I assume that you’re using 22.03.x and have access to LUCI?

  1. Plug your PPPoE connection into the “WAN” port of the router
  2. Log into LUCI and go to “Network” -> “Interfaces”
  3. Edit the “WAN” configuration
  4. Select PPPoE, and fill in the details for your connection
  5. Click Save, then click “Save and Apply”

All done in a couple of minutes.

oh sorry what i mean is that Server Configuration to ditribute pppoe to clients

There is a guide written by @ahorner .

It is imperfect but I believe it should be functional. Any edits and suggestions are welcome and appreciated

thanks for this but i already did this guide and the problem is there is no connection from pppoe server even though it says connected in my pc. is there anything i need to change in config pppoe_relay section like the eth1?because my router has switch vlan instead of lan eth1?

No, it's for a different purpose.

The most important thing is to use the logical interface name in the pppoe config.
Here is an example configuration of the service running on the LAN.

# /etc/config/pppoe

config pppoe_server
        option interface 'lan'
        option ac_name 'my-pppoe-server'
        list service_name 'my-pppoe-service'
        option maxsessionsperpeer '0'
        option localip '192.168.122.1'
        option firstremoteip '192.168.122.2'
        option maxsessions '64'
        option optionsfile '/etc/ppp/pppoe-server-options'
        option randomsessions '1'
        option unit '2'
        option offset '0'
        option timeout '60'
        option mss '1468'
        option sync '0'

# /etc/ppp/pppoe-server-options

ms-dns 8.8.8.8
debug
lcp-echo-interval 10
lcp-echo-failure 2
require-chap
ktune
mru 1492

# /etc/ppp/chap-secrets

#USERNAME  PROVIDER  PASSWORD  IPADDRESS
"user1"    *         "pass1"   *
"user2"    *         "pass2"   *

Add device ppp+ to the lan firewall zone and verify that the service is up and running.

ps w | grep pppoe\-server | grep -v grep

i followed this but where i can see lan interface all i see in my interfaces are wan,wan6,br:lan...and eth0.1 is not tagged as lan..