Qmi-interface won't startup if another wan interface is active

On lbr20 running 24.10-SNAPSHOT I have configured 4 different interfaces in the WAN-zone.
One attatched ethernet, lan1, to as client-wds and on to QMI cellular interface.
The idea was, that I somewho would configure failover between the interfaces in the priority I mentioned the interfaces.
BUT when I start op with eg client-wds and QMI activated on boot, wthe QMI interface does not get an ipaddress.


When I restart the QMI interface (wwan0), it gets an ip-address after 10-20 seconds.

Can anybody explain this behavior - and maybe a solution?

root@lbr20:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd43:5461:e540::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan2'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.3.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option device '/dev/cdc-wdm0'
        option proto 'qmi'
        option pdptype 'ipv4'
        option auth 'none'

config interface 'wan00'
        option proto 'dhcp'
        option device 'lan1'

config interface 'wwan'
        option proto 'dhcp'
        option disabled '1'
        option auto '0'

config interface 'wwan0'
        option proto 'dhcp
root@lbr20:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'soc/40000000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
        option band '5g'
        option channel '64'
        option htmode 'VHT80'
        option cell_density '0'
        option country 'DK'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'lbr20_5Ghzlow'
        option encryption 'psk2'
        option key '****************'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/soc/a000000.wifi'
        option band '2g'
        option channel '9'
        option htmode 'HT20'
        option cell_density '0'
        option country 'DK'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'lbr20_24GHz'
        option encryption 'psk2'
        option key '****************'

config wifi-device 'radio2'
        option type 'mac80211'
        option path 'platform/soc/a800000.wifi'
        option band '5g'
        option channel '100'
        option htmode 'VHT80'
        option country 'DK'
        option cell_density '0'

config wifi-iface 'wifinet3'
        option device 'radio2'
        option mode 'sta'
        option network 'wwan'
        option ssid 'Ellevangen2_5GHz'
        option bssid '2C:FD:A1:12:B2:DA'
        option encryption 'psk2'
        option key '****************'

config wifi-iface 'wifinet4'
        option device 'radio2'
        option mode 'ap'
        option ssid 'lbr20_5GhzHigh'
        option encryption 'psk2'
        option key '****************'
        option network 'lan'

config wifi-iface 'wifinet5'
        option device 'radio1'
        option mode 'sta'
        option network 'wwan0'
        option ssid 'nelson-slow'
        option bssid 'D4:6E:0E:36:EB:1F'
        option encryption 'psk2'
        option key '****************'
        option wds '1'

I added different metrics - and it solved the probelm.

1 Like