Hi,
I would like to report an issue with luci-proto-modemmanager.
Currently, ipv4v6 is incorrectly set as the default option in LuCI, making it impossible to use through LuCI because every time you save, it is mistakenly deleted and replaced with ipv4.
When I edit the network file and manually add the option in the ModemManager interface to use IPv4/IPv6 (option iptype 'ipv4v6'), it sends this AT command:
AT+CGDCONT=1,"IPV4V6","carrier APN" # For IPv4 and IPv6
However, when I select the option IPv4/IPv6 (both - defaults to IPv4) via LuCI, it deletes the IPv4/IPv6 option I added previously, and ModemManager sends this AT command:
AT+CGDCONT=3,"IP","carrier APN" # For IPv4 only
This happens because the ModemManager package defaults to ipv4, whereas LuCI incorrectly defaults to ipv4v6, causing the conflict that deletes the ipv4v6 option and makes it impossible to use through LuCI.
According to ModemManager's README.md, ipv4 is actually the default option:
But in LuCI, ipv4v6 is the default option, and every time this option is selected, it deletes the option iptype 'ipv4v6' in the network file, I think changing in LuCI the default option from ipv4v6 to ipv4 should fix this issue to prevent ipv4v6 from being deleted on save and replaced by ipv4:
Here you can see the problem it causes, and confirm that ipv4 is the default option as stated in the ModemManager package and not ipv4v6 as stated in LuCI and has by default:
Hope this helps identify the issue. Thanks!
P.S. I think the "Initial EPS Bearer IP Type" option has the same issue as the "IP Type" option described above:
