Re: [LEDE-DEV] [PATCH] uqmi: Set data format after clearing previous autoconnect state.

2017-01-26 Thread Nikolay Ledovskikh
--stop-network 0x \ > --autoconnect > /dev/null > > + uqmi -s -d "$device" --set-data-format 802.3 > + uqmi -s -d "$device" --wda-set-data-f

Re: [LEDE-DEV] [LEDE-DEV v3] Add support of using device symlinks.

2016-12-19 Thread Nikolay Ledovskikh
than one targets to patch, this case comgt, uqmi? And it seems that I misunderstood the meaning of --subject-prefix. It should be something like "PATCH V3" (not LEDE-DEV v3)? -- Best regards, Nikolay Ledovskikh. ___ Lede-dev mailing list Le

Re: [LEDE-DEV] [LEDE-DEV v3] Add support of using device symlinks.

2016-12-18 Thread Nikolay Ledovskikh
> pong ... > > "weekend, that thing where people rest" OK. I'll wait for that wonderful moment -- Best regards, Nikolay Ledovskikh. ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [LEDE-DEV v3] Add support of using device symlinks.

2016-12-18 Thread Nikolay Ledovskikh
> It's useful when using multiple usb devices that should be bound to > certain usb ports. Symlinks are created by hotplug handlers. Ping. ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v2] uqmi: Prevent 'POLICY MISMATH' error.

2016-12-16 Thread Nikolay Ledovskikh
t;> > do not reuse previous wds client id to prevent hangs caused by stale data >> > />/+ uqmi -s -d "$device" --sync />/uqmi -s -d "$device" \ >> > />/--stop-network >> > 0x \ />/--autoconnect > /dev/null />// >>

Re: [LEDE-DEV] [LEDE-DEV, 2/3, v2] Add support of using device symlinks.

2016-12-16 Thread Nikolay Ledovskikh
> still pending not had time to look into this. it'll take me a moment as > i am not familiar with the code so i need to find a free moment to > properly review this, sorry for the delay > > John OK. I just offer to use 'readlink' onto 'device', so as a result we always get a real device

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.

2016-12-15 Thread Nikolay Ledovskikh
ting with empty or random APN strings will give > inconsistent results. It can for example be the reason why > autoconnect fails, while a manual connection with an explicit APN > works. Or why autoconnect works with one operator but not with another. > > For some background and bet

Re: [LEDE-DEV] [LEDE-DEV, 2/3, v2] Add support of using device symlinks.

2016-12-15 Thread Nikolay Ledovskikh
"$(basename "$device")" > devpath="$(readlink -f /sys/class/usbmisc/$devname/device/)" > ifname="$( ls "$devpath"/net )" > @@ -213,6 +214,8 @@ qmi_wds_stop() { > > [ -n "$cid" ] || return > > +

Re: [LEDE-DEV] [PATCH] uqmi: Add support for specifying profile index

2016-12-09 Thread Nikolay Ledovskikh
; ___ > Lede-dev mailing list > Lede-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev -- Best regards, Nikolay Ledovskikh. ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.

2016-12-09 Thread Nikolay Ledovskikh
OK. It seems I missed something when doing cleanup. Your patch is working, but only after startup. When you disconnect modem from usb we have old cids saved. Then we connect modems back, modems won't bring up automatically (and I suppose they souldn't). And when we try to bring interface up we

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.

2016-12-09 Thread Nikolay Ledovskikh
> Are all modems the same? Do they have same firmware versions? Are you sure > that the mapping of different /dev/cdc-wdmX nodes always stay the same? It > could be that on some boot the modem with the Megafon SIM gets /dev/cdc-wdm0 > and on the second boot it gets /dev/cdc-wdm1 or some other

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.

2016-12-09 Thread Nikolay Ledovskikh
We are using sierra MC7710, MC7304. 2016-12-09 14:41 GMT+03:00 Nikolay Ledovskikh <nledovsk...@gmail.com>: >> I agree fully. That's why I added the autoconnect option in my last patch >> and defaulted it to disabled. >> >> Matti > > So, what we get: uqmi ex

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.

2016-12-09 Thread Nikolay Ledovskikh
> I agree fully. That's why I added the autoconnect option in my last patch > and defaulted it to disabled. > > Matti So, what we get: uqmi exit with 'Call failed'. -- Best regards, Nikolay Ledovskikh. ___ Lede-dev mailing l

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.

2016-12-09 Thread Nikolay Ledovskikh
dem ignores the APN provided via QMI when enabling autoconnect... Does > your working Czech SIM card have a valid APN string? > > Matti > > >> >>> I agree fully. That's why I added the autoconnect option in my last >>> patch and defaulted it to disabled. >> >> Great, I've missed this patch. Going to take a look at it. >> >> -- ynezz > > -- Best regards, Nikolay Ledovskikh. ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.

2016-12-08 Thread Nikolay Ledovskikh
ld also fix this, since this is typically caused by IPv6 > autoconnect being enabled and trying to disable it with IPv4 client or > vice versa. My patch adds separate commands for IPv4 and IPv6. That > said, I don't like the autoconnect at all, it being so unpredictable > across various models. > > Matti -- Best regards, Nikolay Ledovskikh. ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev