I have managed so far to get it mode switched and the wwan0 interface shows up.
I have configured the wwan0 interface in /etc/network/interfaces like this:
Code: Select all
iface wwan0 inet dhcp
wwan_pin "1234"
wwan_apn "internet.t-mobile"
wwan_user "t-mobile"
wwan_pw "tm"
# enable script debugging
wwan_debug 1
Code: Select all
pi@raspberrypi /etc/qmi $ export IFACE=wwan0
pi@raspberrypi /etc/qmi $ export PHASE=pre-up
pi@raspberrypi /etc/qmi $ export IF_WWAN_APN=internet.t-mobile
pi@raspberrypi /etc/qmi $ export VERBOSITY=true
pi@raspberrypi /etc/qmi $ sudo -E ./qmi-ifupdown
sudo dhcpcd wwan0 then says
Code: Select all
p
err, wwan0: timed out
warn, wwan0: using IPV4LL address 169.254.139.166
dhcpcd.sh: interface wwan0 has been configured with new IP=169.254.139.166
Cheers!