I want to use a serial Modem like Huawei E303
or Huawei MS2372 for my project.
And I want to use SIM cards from a special M2M provider.
Now I already got the setup working on a normal RaspberryPi with Raspbian Stretch and NetworkManager and ModemManager installed.
When I try the exact same hardware and exact same configuration files with NetworkManager and ModemManager on ResinOS, the ModemManager goes into a loop and never finishes the connection.
I think part of the reason might be that my (working) configuration file in /etc/NetworkManager/system-connections/my-m2m-conf specifies an EMTPY apn field. This is accepted and used successfully by the ModemManager on Stretch and is not used for some reason by the ModemManager on resinOS (it just tries a default APN instead - without success, as you can see in the logs).
Does Resin have special requirements for the config files that other systems do not?
Attached, you will find a log of
ModemManager --debug on both systems.
stretch-ms2372-telekom-success.log (67.2 KB)
resin-ms2372-telekom-fail.log (571.3 KB)
Here is the config:
[connection] id=Telekom_M2M type=gsm autoconnect=true [gsm] number=*99# username=t-mobile password=tm [ipv4] method=auto [ipv6] addr-gen-mode=stable-privacy method=auto
For any help, I am sincerely grateful!