[OpenWrt-Devel] Quectel RM500Q failing to get ip address assignment with netifd and modemmanager

Alex Ballmer alexb at meshplusplus.com
Fri May 15 17:17:02 EDT 2020


On Wed, 13 May 2020 16:33:57 -0500
Alex Ballmer <alexb at meshplusplus.com> wrote:

> On Tue, 12 May 2020 10:41:36 +0200
> Aleksander Morgado <aleksander at aleksander.es> wrote:
> 
> > Hey,
> > 
> > >
> > > root at localhost:~# mmcli -b 2
> > >   --------------------------------
> > >   General            |  dbus path:
> > > /org/freedesktop/ModemManager1/Bearer/2
> > >                      |       type: default
> > >   --------------------------------
> > >   Status             |  connected: yes
> > >                      |  suspended: no
> > >                      |  interface: wwan0
> > >                      | ip timeout: 20
> > >   --------------------------------
> > >   Properties         |    roaming: allowed
> > >   --------------------------------
> > >   IPv4 configuration |     method: dhcp
> > 
> > This is the issue here. It shouldn't say DHCP, it should say
> > "static", because the WWAN network interface of all the new 5G
> > modules are always in raw-ip instead of 802.3, and therefore MM
> > should fallback to request static IP addressing instead of DHCP.
> > 
> > Please try to backport the following fix:
> > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/a8fd33ebaa80a0844c375fdb39173736d18f71cb
> > 
> > I really haven't spent much time backporting 5G related fixes to the
> > 1.12 branch, because they will all be released together in 1.14
> > soon.
> > 
> 
> I found it easier to switch my own setup to use the libqmi master
> branch and modemmanager from the commit you mentioned. It works just
> fine so far, wwan0 gets the correct address and the modem can ping
> fine now. 
> 
> I attached the makefiles and patches I used for my openwrt build if
> anyone needs them. In order to build the master branch, I also needed
> to add 
> 
> https://github.com/autoconf-archive/autoconf-archive
> 
> as a build dependency. 





I have another quick question about modemmanager support for the
Quectel RM500Q. The commit a8fd33ebaa80a0844c375fdb39173736d18f71cb on
the modemmanager git isn't in the current release. Will it be slated
for the next release, and if so is there a rough time estimate as to
when that will be?


Thanks

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list