1&1 VDSL DS-Lite - problem with wan4

Hi,

I'm a newbe here and I had a real struggle to configure OpenWrt on FRITZ!Box 7412 with ds-lite dual stack.

The section https://openwrt.org/docs/guide-user/network/wan/isp-configurations#vdsl_ds-lite mention an interface 'wan4'. After configuring it together with ds-lite package I have got two IPv4 Upstream interfaces: wan4 and automatically created ds-wan_6_4. Test with https://ipv6-test.com reported that IPv4 wasn't working.

After removing of the 'wan4', IPv4 was working. Should the documentation be updated?

If yes, the MTU setting part could be:

if [ ifup = "$ACTION" ] && [ wan_6_4 = "$INTERFACE" ] ; then
MTU=$(ifconfig pppoe-wan | grep MTU | awk 'match($0, /:[^ ]*/) { print substr($0, RSTART+1, RLENGTH-1) }')
logger -t ds-lite "setting ds-wan_6_4 mtu=$MTU"
ip link set ds-wan_6_4 mtu $MTU
fi

Interface beeing pulled up had no prefix "ds-", it came later for a tunel name. Log was:

Sun Apr 25 19:17:05 2021 user.notice root: 00-netstate executing, ACTION=ifup, INTERFACE=wan_6
Sun Apr 25 19:17:05 2021 daemon.notice netifd: Interface 'wan_6_4' is setting up now
Sun Apr 25 19:17:05 2021 user.notice firewall: Reloading firewall due to ifup of wan_6 (pppoe-wan)
Sun Apr 25 19:17:06 2021 daemon.notice netifd: Interface 'wan_6_4' is now up
Sun Apr 25 19:17:06 2021 daemon.notice netifd: tunnel 'ds-wan_6_4' link is up
Sun Apr 25 19:17:06 2021 user.notice root: 00-netstate executing, ACTION=ifup, INTERFACE=wan_6_4
Sun Apr 25 19:17:06 2021 user.notice ds-lite: setting ds-wan_6_4 mtu=1492
Sun Apr 25 19:17:06 2021 user.notice firewall: Reloading firewall due to ifup of wan_6_4 (ds-wan_6_4)
Sun Apr 25 19:17:07 2021 daemon.info dnsmasq[1687]: read /etc/hosts - 4 addresses
Sun Apr 25 19:17:07 2021 daemon.info dnsmasq[1687]: read /tmp/hosts/odhcpd - 2 addresses
Sun Apr 25 19:17:07 2021 daemon.info dnsmasq[1687]: read /tmp/hosts/dhcp.cfg01411c - 8 addresses
Sun Apr 25 19:17:07 2021 daemon.info dnsmasq-dhcp[1687]: read /etc/ethers - 0 addresses
Sun Apr 25 19:17:12 2021 daemon.notice netifd: Interface 'wan6' is now up
Sun Apr 25 19:17:13 2021 user.notice root: 00-netstate executing, ACTION=ifup, INTERFACE=wan6
Sun Apr 25 19:17:13 2021 user.notice firewall: Reloading firewall due to ifup of wan6 (pppoe-wan)

A second point: it isn't obvious, how to install ds-lite with all the dependencies without working WAN interface. The easy trick is to connect first to WLAN hotspot provided for example by mobile phone ( https://openwrt.org/docs/guide-user/network/wifi/connect_client_wifi ). Pls. add that hint to lover a confusion for other beginners.

My OpenWrt version was 19.07.7 r11306-c4a6851c72