AX23 set up? PPPOE VLAN ID

Hi all,

I just installed OpenWrt on my AX23 and am struggling to connect to the internet.
https://imgur.com/a/TmrJ4R2

I thought all I would need to do is change the eth0 interface to PPPOE and enter my credentials but its not working.
(https://imgur.com/a/ttFU8qH)
(https://imgur.com/a/XN7mb5O)

Is worth noting that on my other router, I had to also specify the VLAN ID 35 to be able to connect. I don't know where to enter that info in OpenWRT.

Can anyone tell me how this works?

Cloned the WAN MAC of the previous router ?

Please put a copy of what you get from uci show network command.

You need to configure the L3 configuration which goes to wan/wan6 interfaces in LUCI, something like this:

network.wan=interface
network.wan.device='wan.35' # if the internet VLAN ID is 35, some operators offers or give you an option to leave it untagged so in that case just leave "wan"
network.wan.proto='pppoe'
network.wan.username='youruser'
network.wan.password='youpassword'
network.wan.ipv6=1 # get IPv6

network.wan6.device='@wan' # the "@" points to the l2 interface in which the l3 "wan" , interface is running, in our case the dhcpv6 protocol should run inside the pppoe tunnel which it will be named wan-pppoe and run over the "wan" ethernet iface.
network.wan6.proto='dhcpv6'

So, to set and apply this you can try:

uci set network.wan=interface
uci set network.wan.device='wan.35' 
uci set network.wan.proto='pppoe'
uci set network.wan.username='youruser'
uci set network.wan.password='youpassword'
uci set network.wan.ipv6=1
uci set network.wan6.device='@wan' 
uci set network.wan6.proto='dhcpv6'
uci commit
service network reload

Hi,

Thanks for your answer.

This is my initial uci show network

root@OpenWrt:~# uci show network
network.loopback=interface
network.loopback.device='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd9e:303c:2b7b::/48'
network.globals.packet_steering='1'
network.@device[0]=device
network.@device[0].name='br-lan'
network.@device[0].type='bridge'
network.@device[0].ports='lan1' 'lan2' 'lan3' 'lan4'
network.lan=interface
network.lan.device='br-lan'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.device='wan'
network.wan.proto='dhcp'
network.wan6=interface
network.wan6.device='wan'
network.wan6.proto='dhcpv6'
root@OpenWrt:~#

And this is what I have now after entering the code you provided:

root@OpenWrt:~# uci show network
network.loopback=interface
network.loopback.device='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd9e:303c:2b7b::/48'
network.globals.packet_steering='1'
network.@device[0]=device
network.@device[0].name='br-lan'
network.@device[0].type='bridge'
network.@device[0].ports='lan1' 'lan2' 'lan3' 'lan4'
network.lan=interface
network.lan.device='br-lan'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.device='wan.35'
network.wan.proto='pppoe'
network.wan.username='MY_LOGGIN'
network.wan.password='MY_PASSWORD'
network.wan.ipv6='1'
network.wan6=interface
network.wan6.device='@wan'
network.wan6.proto='dhcpv6'
root@OpenWrt:~#

Unfortunately, still no internet access..

still haven't answered the 1st question you got in your thread ...

I can try but this wasn't necessary with my other router. Any reason I would need to do it for this one specifically?

How do I clone?
This is what I'm using on the other router

Possible MAC address caching implemented by your ISP.

https://openwrt.org/docs/guide-user/network/ipv4/examples#custom_mac_address

If you have 0B/0B in Tx/Rx probably your VLAN is incorrect. Try just with "wan" no "wan.35" if that at least start to count. As I commented previously:

# if the internet VLAN ID is 35, some operators offers or give you an option to leave it untagged so in that case just leave "wan"

Without a VLAN tag assigned the Tx/Rx count should to increment, having success on the pppoe stablishment or not.

You can install tcpdump to show the traffic on that interface.

I do not think that the problem is the mac address spoofing here, or at least is not the only problem. You need to see traffic first on the interface. But anyway, to spoof the MAC Address you can do:

uci set network.wan_port=device
uci set network.wan_port.name='wan'
uci set network.wan_port.macaddr='xx:xx:xx:xx:xx:xx'
uci commit network
service network reload

You should refer to "wan" L2 interface, no "eth0", eth0 is just the ethernet switch and won't work. In your L3 "wan" interface says clearly network.wan.device=wan and if you run an ifconfig command you will see the "wan" interface there.