In my earlier post, I showed how to set up the XS4ALL simcard. KPN has now completely taken over XS4ALL in terms of infrastructure, and they have issued new simcards for the free mobile data provided by XS4ALL. However, this post should apply to any simcard provided by KPN.
Configure the connection using the settings provided by KPN:
nmcli con add type gsm ifname cdc-wdm0 con-name kpn \ apn internet gsm.pin 0000 autoconnect false
You can now enable mobile data using
nmcli con up kpn
Also note that that since the previous post the mmcli command has changed a bit.
The PIN commands in the previous post used
mmcli -m 0 (which addresses
the modem); this should now use
mmcli --sim=0 instead.