Hi @RangerZ I forgot to mention that my modem interface config is just using DHCP as that script above will connect to the mobile network.

Here is what my config looks like for the modem:

config interface ‘wan’
option proto ‘dhcp’
option ifname ‘wwan0’

config interface ‘wan6’
option proto ‘dhcpv6’
option ifname ‘wwan0’
option reqprefix ‘auto’
option peerdns ‘0’
option reqaddress ‘try’