AX-1800 - How to change VPI/VCI to 0/35 for PPPoE connection?

I got a AX-1800 and I am trying to connect it directly to the modem provided by my ISP.

It’s a FTTH service that requires me to connect via PPPoE with a VLAN ID 35.

The problem is, the router only asks for the user/pass and it does not let me change the VPI and VCI to 0,35. I then installed luci but when I go to the switch section and I enable VLAN, I still cannot add or edit any values.

I though of editing the /etc/config/network file but I am not sure what to use there.
How can I set the router to PPPoE with my user/pass with VLAN ID 35 ?

Thanks

Alright, I managed to find it with trial and error, here is how anyone can do it for Turk Telekom and similar providers.

login via ssh and edit the /etc/config/network as follows:

uci set network.wan.ifname=wan.35
uci commit network
/etc/init.d/network restart

Open /etc/config/network and check that it has the wan as follows:

config interface 'wan'
        option hostname 'GL-AX1800-27a'
        option metric '10'
        option username 'USERNAME@ttnet'
        option password 'PASSW'
        option disabled '0'
        option ifname 'wan.35'
        option peerdns '1'
        option proto 'pppoe'
        option ipv6 '0'
1 Like