Uqmi 4.9 kernel and a sierra wireless mc7455 raw ip modem

I have successfully compiled modem manager into a 4.9 kernel build but i am having issues with libqmi. It does not seem to be stable for me and its not an official package yet. I have decided to try and get uqmi working instead. i have tried the luci qmi proto and manually setting it up but i never get an ip on the interface. uqmi shows connected and i get signals but i can never get data to flow. Im using a mc7455 modem. I can use the modem with umbim with modifications to the mbim.sh but i cant get qmi working. QMI should now work in 4.9 kernel. Does anyone have any advice to get this working?

I also have that card on zbt wg3526 and I can't "uqmi -d /dev/cdc-wdm0 --get-data-status" and it returns nothing, it stalls!

I got it figured out. Raw ip must be configured at each boot

I put it as a starting up command

i put a startup script to do the raw ip because it always reverts back to "N"

sleep 5
ifdown wwan
sleep 5
echo y >/sys/class/net/wwan0/qmi/raw_ip
ifup wwan

exit 0

Now on to your problem with the zbt 3526. I have one of those also but lede is only a 4.4 kernel for it unless it was updated within a day or so.

You will need to use mbim mode and add modified mbim.sh to get it going in the zbt.

Here are my instructions for 4.4 kernel and mbim mode.

Maybe try something like this instead?:

Completely untested, so it probably needs some tweaks. But you should get the idea.

Yeah. It may need a tweak or 2. I added it in but it was still a "N" after reboot. I'll mess with it some. Thank you.

I'm still having a strange issue with disconections using qmi. It seems like I can use lan just fine but as soon as something connects to the wlan the connection is dropped.

I even disabled wifi with the mc7455 and ran a wired AP off of it and it does the same thing.

Mbim didn't seem to do this at all.

i get this error every time i turn on 2 wifi devices. shortly after pings will timeout.

br-lan: received packet on wlan0 with own address as source address

i also dont seem to get a mac address.

Uptime: 0h 11m 27s
MAC-Address: 00:00:00:00:00:00
RX: 2.35 MB (5335 Pkts.)
TX: 1.58 MB (5551 Pkts.)

also getting this.

Tue Mar 14 14:31:44 2017 kern.notice kernel: [ 305.103864] EXT4-fs (mmcblk0p2): error count since last fsck: 1
Tue Mar 14 14:31:44 2017 kern.notice kernel: [ 305.112760] EXT4-fs (mmcblk0p2): initial error at time 1488481491: __ext4_new_inode:1066
Tue Mar 14 14:31:44 2017 kern.notice kernel: [ 305.126442] EXT4-fs (mmcblk0p2): last error at time 1488481491: __ext4_new_inode:1066

Ok. It seems like something is broken in uqmi when using a raw ip modem with a routable internet facing public ip. It will work fine until a second device is added to the router.

A natted ip works fine.

Also if i use openvpn it works.