[OpenWrt-Devel] Unable to connect with uqmi ("No effect")

Carlo Lobrano c.lobrano at gmail.com
Mon May 29 08:14:24 EDT 2017


>
> Probably.  My point was just that you could try to include
> "--autoconnect", which will disable the autoconnect feature.  I am too
> lazy to bother to write the whole command ;-)


I understand :D

By the way, it looks like that the handle for
when-you-dont-know-what-the-handle-is is 0xFFFFFFFF

$ sudo uqmi -d /dev/cdc-wdm1 --stop-network 0xFFFFFFFF --autoconnect
$ sudo uqmi -d /dev/cdc-wdm1 --get-data-status
"disconnected"




On 29 May 2017 at 13:54, Bjørn Mork <bjorn at mork.no> wrote:

> Carlo Lobrano <c.lobrano at gmail.com> writes:
>
> >> AFAICS, that is the expected result.  The modem is connected and you do
> >> not disconnect, so "start-network" has no effect.
> >
> > Yes, you're right, but why am I connected in the first place? There is no
> > context configured
>
> If autoconnect is enabled, then I believe the modem will try to connect
> with whatever it has. Don't know if it tries an empty APN or reuse the
> default bearer context in this case, but either will most likely work
> (depending on operator, but still..)
>
>
> >> If "--set-autoconnect disabled" does not work as expected, then please
> >> try "--stop-network --autoconnect".
> >
> > doesn't stop-network require an handle?
> >
> >     $ sudo uqmi -d /dev/cdc-wdm1 --stop-network --autoconnect
> >     "Invalid handle"
>
> Probably.  My point was just that you could try to include
> "--autoconnect", which will disable the autoconnect feature.  I am too
> lazy to bother to write the whole command ;-)
>
>
>
> Bjørn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20170529/a614e376/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list