MTU VintageNetQMI with SIM700G - is there any way for QMI or Kernel to automatically detect the MTU and adjust?

Hey folks! I am using vintage_net_qmi for LTE connectivity using the SIM700G, with local SIMs it works perfectly, but when using a SIM with roaming it doesn’t, and the problem is that when a SIM is roaming the MTU drops to 1400, so I have to manually set the MTU to the interface, is there any way for QMI or Kernel to automatically detect the MTU and adjust it?

1 Like

I solved it by getting the network MTU using the WDS Get Current Settings request.

https://github.com/intuitivo-ai/qmi_intuitivo/pulls
https://github.com/intuitivo-ai/vintage_net_qmi_intuitivo/pulls

The solution is in the active branches.

Hi! Would you consider making a PR to GitHub - nerves-networking/qmi: Qualcomm MSM Interface in Elixir for the QMI protocol additions? Those seem pretty good. The vintage_net_qmi one is a little harder since it requires iptables which currently isn’t a hard requirement. Perhaps that needs to change, but the qmi one seems like a no brainer that we might as well include upstream for everyone.

I’m really glad you found the fix. I was very thankful that your post about solving it beat my post where I was trying to guess at a fix.

Hi Frank, yes sure, I will do that. Thanks!

1 Like