blacklisting the ttyUSB1 port and also errors in the log

2017-02-03 Thread Russ Westrem
I am using a mc7455 in MBIM mode on a LEDE build using modem manager. QUESTION #1 i am getting these errors 10 min after a reboot. Im also having multiple disconnects where it becomes unregistered. A ifup broadband will take care of reconnecting it but after a few hours ifup broadband no longer

Re: Connection instability

2017-02-06 Thread Russ Westrem
Do you know of any method to send an "ifup broadband" whenever this is logged? 7 daemon.info [1096]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connected -> registered) It seems that any band change or drop produces this and an ifup broadband is needed to bring it back. A

How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Russ Westrem
I asked this in someone else's e-mail but maybe i should have made my own so here it is. My goal is to issue an ifup broadband in LEDE whenever this line is logged from modemmanager. daemon.info [1035]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connected -> registered) My

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Russ Westrem
be instantaneous. daemon.info [1035]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connected -> registered) On Feb 7, 2017 1:55 PM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Tue, Feb 7, 2017 at 5:02 PM, Russ Westrem <lspwaterproof...

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Russ Westrem
I suppose this could be somehow edited into the lib/netfid/proto/modemmanager.sh? On Feb 7, 2017 2:25 PM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Tue, Feb 7, 2017 at 9:03 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > Ping scripts which I'm

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Russ Westrem
Out of it from everything I know. I'm thinking of going the easy route and doing a tail of the logfile On Feb 7, 2017 4:06 PM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Tue, Feb 7, 2017 at 10:49 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote:

Re: How to issue an "ifup broadband" when this is logged

2017-02-08 Thread Russ Westrem
is to issue an ifup. The bearer then changes to Mmcli -b 1 and the connection lasts for another few minutes until the process repeats itself. On Feb 8, 2017 1:29 PM, "Dan Williams" <d...@redhat.com> wrote: On Tue, 2017-02-07 at 10:02 -0600, Russ Westrem wrote: > I asked this

Re: How to issue an "ifup broadband" when this is logged

2017-02-08 Thread Russ Westrem
, 2017 9:34 PM, "Sebastian Sjoholm" <sebastian.sjoh...@gmail.com> wrote: > > On Feb 8, 2017, at 21:14 , Russ Westrem <lspwaterproof...@gmail.com> > wrote: > > > > I have tried locking bands and not locking them. My setup is stationary > and does n

Re: How to issue an "ifup broadband" when this is logged

2017-02-18 Thread Russ Westrem
You're getting error 0x24 (dec 36), and according to 3GPP 24008 that is: Cause value = 36 Regular deactivation This cause code is used to indicate a regular MS or network initiated PDP context deactivation or a regular network initiated MBMS context deactivation. so the network is de-registering

Re: How to issue an "ifup broadband" when this is logged

2017-02-18 Thread Russ Westrem
:25 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > > > On Feb 15, 2017 5:39 PM, "Dan Williams" <d...@redhat.com> wrote: > > On Wed, 2017-02-15 at 17:09 -0600, Russ Westrem wrote: > > On Feb 15, 2017 4:37 PM, "Dan Williams" <d...@redh

Re: How to issue an "ifup broadband" when this is logged

2017-02-09 Thread Russ Westrem
I'm starting to believe it does. On Feb 9, 2017 3:25 PM, "Dan Williams" <d...@redhat.com> wrote: > Is it at all related to the amount of data transferred? > > Dan > > On Thu, 2017-02-09 at 12:54 -0600, Russ Westrem wrote: > > More info on these disconects.

Re: How to issue an "ifup broadband" when this is logged

2017-02-11 Thread Russ Westrem
On Feb 10, 2017 5:00 PM, "Russ Westrem" <lspwaterproof...@gmail.com> wrote: On Feb 10, 2017 4:40 PM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Fri, Feb 10, 2017 at 11:37 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > And g

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
Ok. So it seems I may have spoken a little too soon on the powered usb hub working. Here is something I have noticed. It works for hours and hours at a time on bearer 0. Once an ifup is issued to fix a downed connection the bearer changes to 1 then 2 and so on. On these other bearers the

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
Should I set it to 0? On Feb 10, 2017 2:08 PM, "Russ Westrem" <lspwaterproof...@gmail.com> wrote: > It's unset at the moment. > > On Feb 10, 2017 2:07 PM, "Aleksander Morgado" <aleksan...@aleksander.es> > wrote: > >> On Fri, Feb 10, 2017 at

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
f5 7e Fri Feb 10 14:34:06 2017 daemon.info [1042]: (ttyUSB0): <-- 4b 08 01 00 08 3a 95 70 02 06 52 95 59 00 00 00 00 00 00 00 00 00 0a de ad 00 00 00 00 05 05 09 bc a6 7e Fri Feb 10 14:34:06 2017 daemon.info [1042]: (ttyUSB0): --> 4b 04 0f 00 d5 ca 7e Fri Feb 10 14:34:06 2017 daemon.info [1042

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
Sorry I meant remap =24 to be acceptable? On Feb 10, 2017 2:58 PM, "Russ Westrem" <lspwaterproof...@gmail.com> wrote: > Could we remap =23 to be acceptable? > > On Feb 10, 2017 2:56 PM, "Russ Westrem" <lspwaterproof...@gmail.com> > wrote: &

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
On Feb 10, 2017 3:24 PM, "Bjørn Mork" wrote: Aleksander Morgado writes: > You're getting error 0x24 (dec 36), and according to 3GPP 24008 that is: > > Cause value = 36 Regular deactivation Oh, I didn't fint that. I guess this is in some other table

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
On Feb 10, 2017 4:33 PM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Fri, Feb 10, 2017 at 11:08 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > OK. I think we're getting to the bottom of this. For some reason if I drop > the connection for any r

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
Could we remap =23 to be acceptable? On Feb 10, 2017 2:56 PM, "Russ Westrem" <lspwaterproof...@gmail.com> wrote: > I am using a sprint plan in generic mode on the mc7455. Does this have > anything to do with it? > > On Feb 10, 2017 2:46 PM, "Aleksander M

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
On Feb 10, 2017 4:35 PM, "Russ Westrem" <lspwaterproof...@gmail.com> wrote: On Feb 10, 2017 4:33 PM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Fri, Feb 10, 2017 at 11:08 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: >

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
On Feb 10, 2017 4:40 PM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Fri, Feb 10, 2017 at 11:37 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > And generic firmware on the mc7455 is what I'm referring to. > Oh, so with the Generic firmware

Re: How to issue an "ifup broadband" when this is logged

2017-02-14 Thread Russ Westrem
> > > > Ok, I'm using qmi in kernel 4.9 on LEDE now. So far 1 hour and no > disconects. > Seems to have the same issue using LEDE kernel 4.9 in QMI it will stay up for an hour and then do this. Tue Feb 14 20:54:17 2017 daemon.info [1231]: bearer call end reason (1008):

Re: How to issue an "ifup broadband" when this is logged

2017-02-14 Thread Russ Westrem
You mean you can still use the WWAN even if MM says it's disconnected? Not sure I understood, otherwise. -- Aleksander https://aleksander.es No, nothing is usable untill i ifup. ___ ModemManager-devel mailing list

Re: How to issue an "ifup broadband" when this is logged

2017-02-13 Thread Russ Westrem
On Feb 12, 2017 3:59 AM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Sat, Feb 11, 2017 at 11:48 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > Ok this looks a little different than the last debug. I had a ping going > and logged "LTE Down

Re: How to issue an "ifup broadband" when this is logged

2017-02-13 Thread Russ Westrem
On Feb 13, 2017 8:27 AM, "Russ Westrem" <lspwaterproof...@gmail.com> wrote: On Feb 12, 2017 3:59 AM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Sat, Feb 11, 2017 at 11:48 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > Ok this loo

Re: How to issue an "ifup broadband" when this is logged

2017-02-10 Thread Russ Westrem
Yes. Only when using lede on a router. I just hooked it to a powered usb hub. I am testing now. I will keep everyone posted. The mc7455 on Ubuntu 16.04 with modemmanager went 24 hours with not a single packet dropped while playing 2 hd videos at the same time. On Feb 10, 2017 3:34 AM,

Locking MM to 4g only

2017-02-16 Thread Russ Westrem
Im am trying to lock to 4g only. Modes| supported: 'allowed: 2g, 3g, 4g; preferred: none' |current: 'allowed: 2g, 3g, 4g; preferred: none' root@LEDE:~# mmcli -m 0 --set-allowed-modes=4g error: couldn't set current modes:

Re: Locking MM to 4g only

2017-02-16 Thread Russ Westrem
On Feb 16, 2017 2:00 PM, "Dan Williams" <d...@redhat.com> wrote: On Thu, 2017-02-16 at 17:36 +0100, Aleksander Morgado wrote: > On Thu, Feb 16, 2017 at 4:29 PM, Russ Westrem > <lspwaterproof...@gmail.com> wrote: > > Im am trying to lock to 4g only. > > &

Re: How to issue an "ifup broadband" when this is logged

2017-02-15 Thread Russ Westrem
On Feb 15, 2017 4:37 PM, "Dan Williams" <d...@redhat.com> wrote: On Wed, 2017-02-15 at 21:14 +0100, Aleksander Morgado wrote: > On Wed, Feb 15, 2017 at 9:00 PM, Russ Westrem > <lspwaterproof...@gmail.com> wrote: > > Is there anything in the modemmanager scrip

Re: How to issue an "ifup broadband" when this is logged

2017-02-15 Thread Russ Westrem
On Feb 15, 2017 5:39 PM, "Dan Williams" <d...@redhat.com> wrote: On Wed, 2017-02-15 at 17:09 -0600, Russ Westrem wrote: > On Feb 15, 2017 4:37 PM, "Dan Williams" <d...@redhat.com> wrote: > > On Wed, 2017-02-15 at 21:14 +0100, Aleksander Morgado wrote:

Re: How to issue an "ifup broadband" when this is logged

2017-02-09 Thread Russ Westrem
More info on these disconects. It seems that the better the signal and faster the speed results in faster and more frequent disconects. Around 5 to 10 min. When the speeds and signal is worse it lasts around 30 to 40 min. When no data is being transferred it stays up indefinitely. On Feb 9,

Re: How to issue an "ifup broadband" when this is logged

2017-03-06 Thread Russ Westrem
Ok. So I moved to a router with an onboard pci-e to eliminate any problems with usb cables. The issue of disconects are still there using qmi or mbim. This is only a 4.4 kernel lede build so qmi is a ppp connection. I am getting a strange error though in ppp that might help explain some

Centos 7 with mc7455 help

2017-07-22 Thread Russ Westrem
I'm trying to help out a friend getting his mc7455 working in centos 7 4.12. Modem Manager is installed, network manager is installed. The modem is present and connected in mmcli but we can't figure out how to get this to work. I've tried mbim and qmi both. We did the mmcli simple connect

Sierra em7565

2018-01-18 Thread Russ Westrem
I just ordered a em7565. Does modem manager work with this device? ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Can't seem to compile modemmanager using lede/openwrt snapshots anymore.

2018-02-14 Thread Russ Westrem
I used to be able to compile just fine a few months ago but now I get errors. cc1: all warnings being treated as errors Makefile:617: recipe for target 'libmbim_glib_core_la-mbim-device.lo' failed make[8]: *** [libmbim_glib_core_la-mbim-device.lo] Error 1 make[8]: Leaving directory

Openwrt modemmanager compile error

2018-02-19 Thread Russ Westrem
make[8]: Entering directory '/home/russ/MM/source/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/libmbim-1.15.0-20161123/src/libmbim-glib' CC libmbim_glib_core_la-mbim-device.lo mbim-device.c: In function 'initable_init_async': mbim-device.c:2168:15: error: assignment from incompatible

Re: Openwrt modemmanager compile error

2018-02-20 Thread Russ Westrem
On Feb 20, 2018 5:56 AM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Tue, Feb 20, 2018 at 1:29 AM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > > make[8]: Entering directory '/home/russ/MM/source/build_ dir/target-arm_cortex-a9+vfpv3_musl_eabi/

Re: Openwrt modemmanager compile error

2018-02-20 Thread Russ Westrem
On Tue, Feb 20, 2018 at 11:53 AM, Aleksander Morgado < aleksan...@aleksander.es> wrote: > Hey! > > >> make[8]: Entering directory > >> '/home/russ/MM/source/build_dir/target-arm_cortex-a9+ > vfpv3_musl_eabi/libmbim-1.15.0-20161123/src/libmbim-glib' > >> CC

Re: Openwrt modemmanager compile error

2018-02-20 Thread Russ Westrem
On Feb 20, 2018 12:12 PM, "Aleksander Morgado" <aleksan...@aleksander.es> wrote: On Tue, Feb 20, 2018 at 7:02 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > > > On Tue, Feb 20, 2018 at 11:53 AM, Aleksander Morgado > <aleksan...@aleksander.es> wrot

Re: em7565 QDLoader

2018-04-10 Thread Russ Westrem
1199 SWI9X50C_01.05.01.00.cwe SWI9X50C_01.05.01.00_GENERIC_001.028_000.nvu error: No serial device found to run QDL update operation russ@russ-Studio-1745:/tmp$ On Tue, Apr 10, 2018 at 5:27 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > EM7565 is stuck in qdloader mode. Im tryi

recipe for target 'mbim-enum-types.h' failed openwrt

2018-10-24 Thread Russ Westrem
Trying to compile modemmanager for openwrt and failing here. make[8]: Entering directory '/home/russ/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/libmbim-1.16.2/src/libmbim-glib/generated' GEN mbim-basic-connect.h GEN mbim-sms.h GEN mbim-ussd.h GEN

Ipv6 w/openwrt

2018-10-26 Thread Russ Westrem
Is it possible to get ipv6 using modemmanager with openwrt? I created a dhcp ipv6 protocol interface and covered the wwan0. An ipv6 address shows up but still doesn't work. If I restart modemmanager or reboot while the ipv6 interface is active then nothing works. I have to delete/stop the ipv6

Openwrt with modemmanager

2018-10-20 Thread Russ Westrem
I've compiled and had working modemmanager with lede. Now when trying to use it with openwrt it never establishes a connection. Does something need to be done to use it with openwrt? ___ ModemManager-devel mailing list

MM wont compile on snapshot openwrt

2018-11-08 Thread Russ Westrem
MM fails when trying to compile snapshots. It compiles fine on 18.06.1. Anyone else having this issue? ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: MM wont compile on snapshot openwrt

2018-11-08 Thread Russ Westrem
make[1]: Leaving directory '/home/russ/openwrt2/openwrt' /home/russ/openwrt2/openwrt/include/toplevel.mk:216: recipe for target 'world' failed make: *** [world] Error 2 On Thu, Nov 8, 2018 at 8:11 PM Aleksander Morgado wrote: > On Thu, Nov 8, 2018 at 7:18 PM Russ Westrem > wrote: >

Re: MM wont compile on snapshot openwrt

2018-11-09 Thread Russ Westrem
On Fri, Nov 9, 2018 at 4:32 PM Russ Westrem wrote: > > > On Fri, Nov 9, 2018 at 8:07 AM Aleksander Morgado < > aleksan...@aleksander.es> wrote: > >> Hey, >> >> > make[8]: Entering directory >> '/home/russ/openwrt2/openwrt/build_dir/target-

Re: MM wont compile on snapshot openwrt

2018-11-09 Thread Russ Westrem
On Fri, Nov 9, 2018, 10:52 AM Aleksander Morgado Hey, > > > >> >> >> i installed libglib and got past that error but now have this. this is >> just a small portion of the errors as it goes on and on. >> >> make[9]: Entering directory >>

Re: OpenWRT Sierra EM7455 drops connection while driving

2018-12-18 Thread Russ Westrem
On Dec 17, 2018 at 2:26 PM, > wrote: I have a Sietta EM7455 LTE modem in a recent Lede build: OpenWrt SNAPSHOT r6550-83e1fce I'm using a USA Sprint SIM. I did the AT commands to add the Sprint bands and put the modem in MBIM mode. ModemManager is v1.8.0 /etc/config/network has the following