Your first line was correct, so I added “uci network.wwan=interface”.
Now I can see that a dhcpclient is started. The problem I have now is that it does not get a lease.
I’ve seen that before when I started the dhcp-client mnually that sometimes it would not get a lease when my laptop would get a lease every time (which makes me believe it’s not the dhcp-server).
uci set network.wwan=interface
uci set network.wwan.proto=dhcp
uci set wireless.@wifi-iface[0].network=wwan
uci set wireless.@wifi-iface[0].device=radio0
… set your other options in wireless
uci commit
/etc/init.d/network restart
It does work in all network, apart from one where for reasons I cannot figure out I cannot seem to get a lease on my 300M, but can get a lease on my laptop and my phone…
Beats me…
But I can’t be bothered anymore as I made a hack for this one network where I simply assign an ip that I hope no one else is using