Upgraded to FreeBSD 14.1 and now it works.
I'm starting to suspect that problem is not in mpd5, but in ng_ kernel modules that are being used here. If I disable ipcp the link stays up. And ipcp happens in ng_ module (as far as I understand).
There is only one relevant initialization setting in mpd.script (AT+CGDCONT), which is same for both.
Is it possible to have mpd5 log serial line data ? Something like this in user-mode ppp: Sep 17 10:00:59 synciot-174 ppp[28658]: tun1: Debug: proto_LayerPush: Using 0xc021 Sep 17 10:00:59 synciot-174 ppp[28658]: tun1: HDLC: hdlc_Output Sep 17 10:00:59 synciot-174 ppp[28658]: tun1: HDLC: ff 03 c0 21 01 01 00 18 08 02 07 02 02 06 00 00 ...!............ Sep 17 10:00:59 synciot-174 ppp[28658]: tun1: HDLC: 00 00 01 04 05 dc 05 06 8f d7 8c 75 33 58 ...........u3X
It's not ISP I'm talking to. It's LTE/4G modem, which uses PPP between it and host system. This is very common with such devices, but there is now PPP going out from modem's radio! https://source.sierrawireless.com/resources/airprime/minicard/75xx/41111748-airprime-em75xx-at-command-reference/ Section 13 in manual "GSM/WCDMA AT COMMANDS", page 131. As these modems can achive quite high network speeds, we have been preferring mpd5 instead FreeBSD's user mode ppp (which pushes all the traffic thru...
Tried that. Unfortunately no luck.
Oh yes, I tried to add it because there was something similar in ppp.log. Removed now, fresh log and config attached.
Here is the latest log.