OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: mtltt on September 13, 2024, 08:16:03 AM

Title: 24 7.4: 4G modem (PPP) connection broken
Post by: mtltt on September 13, 2024, 08:16:03 AM
After upgrading to 24.7.4 my 4G modem (PPP) isn't working anymore.
In the logs I can see the following (descending):
[...]
Informational ppp [opt10] IPCP: parameter negotiation failed
Informational ppp [opt10] IFACE: IfaceChangeAddr() error, closing IPCP
Informational ppp [opt10] IFACE: Adding IPv4 address to ppp0 failed: Destination address required
Informational ppp [opt10] 77.1xx.xxx.xxx -> 0.0.0.0
Informational ppp [opt10] IPCP: LayerUp
Informational ppp [opt10] IPCP: state change Ack-Sent --> Opened
[...]

Any idea how to fix this?
Thanks!
Title: Re: 24 7.4: 4G modem (PPP) connection broken
Post by: franco on September 13, 2024, 08:28:32 AM
Can you "diff -u" your /var/etc/mpd_wan.conf ?

Like it is now vs. when using

# opnsense-revert -r 24.7.3 opnsense

Please send a PM.


Thanks,
Franco
Title: Re: 24 7.4: 4G modem (PPP) connection broken
Post by: franco on September 13, 2024, 10:14:20 AM
As feared:

-  set ipcp ranges 0.0.0.0/0 10.64.64.0/0
+  set ipcp ranges 0.0.0.0/0 0.0.0.0/0

I'll prepare a patch.


Cheers,
Franco
Title: Re: 24 7.4: 4G modem (PPP) connection broken
Post by: franco on September 13, 2024, 10:26:54 AM
How about this patch for 24.7.4:

# opnsense-patch https://github.com/opnsense/core/commit/b7c86e3481


Cheers,
Franco
Title: Re: 24 7.4: 4G modem (PPP) connection broken
Post by: mtltt on September 13, 2024, 06:55:42 PM
After a reboot, the patch is working.
Thanks!
Title: Re: 24 7.4: 4G modem (PPP) connection broken
Post by: franco on September 13, 2024, 09:06:25 PM
Thanks, I'll hotfix this now.


Cheers,
Franco