Quectel RM500Q failing to get ip address assignment with netifd and modemmanager
Alex Ballmer
alexb at meshplusplus.com
Mon May 18 18:41:41 UTC 2020
On Sat, 16 May 2020 09:18:46 +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?
> >
>
> If enough testing gets done with git master in the following weeks, we
> can probably have a new stable 1.14 release at the beginning of June
> or so. Please test with git master as much as you can!
>
Ok, thanks a lot. I will let everyone here know if I find anything
wrong with master.
More information about the ModemManager-devel
mailing list