[OpenWrt-Devel] Quectel RM500Q failing to get ip address assignment with netifd and modemmanager
Alex Ballmer
alexb at meshplusplus.com
Wed May 13 17:33:57 EDT 2020
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 2629 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200513/f2ada0b1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 4727 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200513/f2ada0b1/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 010-fix-autoconf.patch
Type: text/x-patch
Size: 432 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200513/f2ada0b1/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 010-fix-autoconf.patch
Type: text/x-patch
Size: 411 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200513/f2ada0b1/attachment-0003.bin>
-------------- next part --------------
_______________________________________________
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