Aleksander Morgado <aleksan...@aleksander.es> writes:

> How about this?
> https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/348

Tested now.  Works fine.  Ends up with an ipv4v6 bearer with only ipv4
data, but that is what we asked for so I believe that is the correct
thing to do.

bjorn@miraculix:~$ mmcli -b 0
  ----------------------------------
  General            |         path: /org/freedesktop/ModemManager1/Bearer/0
                     |         type: default
  ----------------------------------
  Status             |    connected: yes
                     |    suspended: no
                     |    interface: wwan0
                     |   ip timeout: 20
  ----------------------------------
  Properties         |          apn: telenor.xxx
                     |      roaming: allowed
                     |      ip type: ipv4v6
                     | allowed-auth: none, pap, chap, mschap, mschapv2, eap
  ----------------------------------
  IPv4 configuration |       method: static
                     |      address: 88.x.x.22
                     |       prefix: 30
                     |      gateway: 88.x.x.21
                     |          dns: 148.122.16.253, 148.122.164.253
                     |          mtu: 1500
  ----------------------------------
  Statistics         |     attempts: 1



This reduces the load on the network by avoiding the extra session
teardown and re-establish.



Bjørn
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to