[ltp] Re: Sierra Wireless EM7345 4G LTE

Bjørn Mork linux-thinkpad@linux-thinkpad.org
Thu, 09 Oct 2014 14:27:54 +0200

Nikos Alexandris <nik@nikosalexandris.net> writes:
> Nikos Alexandris <nik@nikosalexandris.net> writes:
>>> It works! `mmcli -m 0 --simple-connect=pin=1234,apn=yourapn` ends=
>>> in a successful connection :-)
> What remains is to understand how to load the module of interest with
> the specified parameter at boot.

I use a /etc/modprobe.d/foo.conf file with

 # overriding Debian default
 options cdc_ncm prefer_mbim=Y

for this.  It's a bit unfortunate that this is necessary, but I don't
know how to otherwise solve the problem.

As explained earlier, I really did not anticipate the situation caused
by the EM7345 when initially recommending the 'prefer_mbim=N' distro
default.  I expected any device claiming to be NCM+MBIM capable to
actually support NCM...

> And, initialise the ModemManager
> deamon as well (i.e. use rc to add it in the default
> runlevel?). Otherwise it takes manual work everytime.

Normally MM will be started as a d-bus service by NetworkManager.
But starting it from an init script should also work if you prefer that
for whatever reasons.