PAP authentication bearer with MMCLI 3G/LTE managed modems
Hi!. I'm trying to use a Huawei E3276 modem with NetworkManager, with a bearer that requires PAP authentication. Long ago, modem like this usually used to connect usign ppp, but with newer ones, this is not working any more, since by default, they load the cdc_wdm module, that creates a network interface named wwan0. Even there is some method to prevent this module to load and use the old fashioned ppp, this has became a bit triky. By manualy setting up a bearer with mmcli and option "allowed-auth=pap,apn=blabla....", I can connect to the network using mmcli. But the bearer that NetworkManager creates, fails with PAP. In NetworkManager GUI, there is an option tab named PPP that allow you to set PAP only, but this is meant for PPP only connection. So there is no way to set PAP authentication when your modem works with cdc_wdm and interface "wwan...". Please, add in future release some way to handle this option, or to configure "bearers" with broadband mobile modems. Advanced Linux users can set up connection like this with mmcli, but normal users will have trouble using this kind of modem.
Details (browsing DBus with QDBusViewer, under org.fredesktop.ModemManager1.Bearer):
Manually created bearer that works: Arguments: [Variant: [Argument: a{sv} {"apn" = [Variant(QString): "intranet.vpnantel"], "allowed-auth" = [Variant(uint): 2], "user" = [Variant(QString): "myusername"], "password" = [Variant(QString): "XXXXXXXXX"], "ip-type" = [Variant(uint): 1], "number" = [Variant(QString): "*99#"], "allow-roaming" = [Variant(bool): false]}]]
Bearer created by NetworkManager, does not work: Arguments: [Variant: [Argument: a{sv} {"apn" = [Variant(QString): "intranet.vpnantel"], "user" = [Variant(QString): "myusername"], "password" = [Variant(QString): "XXXXXXXX"], "ip-type" = [Variant(uint): 1], "number" = [Variant(QString): "*99#"], "allow-roaming" = [Variant(bool): false]}]]
Best regards, Gus