Issues with IPv4v6 and IPv6 on openwrt with a Quectel EG06-E

Aleksander Morgado aleksander at aleksander.es
Fri Nov 8 09:58:22 UTC 2019


Hey!

> >> Lovely! Thanks for doing this test. If you could try to retest after
> >> rebooting the router to see if the settings are applied correctly,
> >> that would be fantastic.
> >
> > Will try.  I guess I should figure out how to get some debugging out of
> > netifd if I can't make this work.
>
> It went straight up on reboot!  But the IPv4 config was not applied to
> the netdev:
>
>
> root at wrt1900ac-1:/# mmcli -b 0
>   --------------------------------
>   General            |  dbus path: /org/freedesktop/ModemManager1/Bearer/0
>                      |       type: default
>   --------------------------------
>   Status             |  connected: yes
>                      |  suspended: no
>                      |  interface: wwan0
>                      | ip timeout: 20
>   --------------------------------
>   Properties         |        apn: telenor.smart
>                      |    roaming: allowed
>                      |    ip type: ipv4v6
>   --------------------------------
>   IPv4 configuration |     method: static
>                      |    address: 10.193.92.5
>                      |     prefix: 30
>                      |    gateway: 10.193.92.6
>                      |        dns: 193.213.112.4, 130.67.15.198
>                      |        mtu: 1500
>   --------------------------------
>   IPv6 configuration |     method: static
>                      |    address: 2a02:2121:282:b9c0:10d5:4737:ea54:4a39
>                      |     prefix: 64
>                      |    gateway: 2a02:2121:282:b9c0:ac07:eae8:9c4f:ac5a
>                      |        dns: 2001:4600:4:fff::52, 2001:4600:4:1fff::52
>                      |        mtu: 1540
>   --------------------------------
>   Statistics         |   duration: 60
>                      |   bytes rx: 1796
>                      |   bytes tx: 2366
>
> root at wrt1900ac-1:/# ifconfig wwan0
> wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>           inet6 addr: fe80::f925:3377:910a:11b7/64 Scope:Link
>           inet6 addr: 2a02:2121:282:b9c0:10d5:4737:ea54:4a39/128 Scope:Global
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>           RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1796 (1.7 KiB)  TX bytes:2846 (2.7 KiB)
>

Ok! we're close then. Looks like the IPv6 part may be overwriting the IPv4 one.
Could you retry with the attached patch applied?

>
> Not much logged since I didn't change default log settings before
> rebooting.  Is there a standard hook for this somewhere, or am I
> supposed to edit  /etc/init.d/modemmanager?
>

I was expecting netifd protocol logs right away in system log. I truly
don't recall how to setup that.

-- 
Aleksander
https://aleksander.es
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WIP-set-keep.patch
Type: text/x-patch
Size: 1496 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20191108/c07bccb0/attachment.bin>


More information about the libqmi-devel mailing list