-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LTE usage broken with 20.7-RC1 (HBSD/FBSD 12.1) #67
Comments
This issue also affects OPNsense 20.1 installations with activated LTE connection if you do an upgrade to 20.7 RC1. Then I did the necessary upgrade steps via console: After a reboot I went back to the web interface and unlocked the release upgrade. So if you rely on a LTE connection as WAN interface, you shuldn't upgrade OPNsense 20.1 to 20.7 unless this issue is fixed. |
Do you have a screenshot of the crash dump? Usually this is only on the colsole/monitor ... |
I do not only have a screenshot, I made a video... I hope it helps. |
Here you find the serial console output of a test I did with OPNsense 20.7.b_108: In line 297 it starts with a warning when enabling the LTE interace - but like mentioned above this warning causes no problem, because we see it with OPNsense 20.1, too (and there we have no crash): So the interesting part of the output starts from line 300 beginning: I'll re-do the tests tomorrow morning with OPNsense 20.7-RC1 - but the output should be roughly the same. |
@fichtner do you think you can push a test kernel out? |
@tk-wfischer Ah, just saw the patch .. I'm building an image for you to test. |
@tk-wfischer @tniedermeier can you check this usb image (VGA): https://cloud.leute.server.de/index.php/s/tRXDanaS5vQWshp |
@mimugmail Wow - thank you so much. I'm downloading the image and will immediately start installing & testing. I should have a first feedback within 30-60 minutes. |
🥇 🥇 🥇 @mimugmail It seems you are now our new super-hero 🥇 🥇 🥇 In my current test system with a LES v3 and a Huawei ME909u-521 (device cuaUx.0) it worked to configured it via the web interface. system.log shows me the following when I establish the connection:
ppps.log shows no entries, I'll debug further why I see nothing here. But the very good news is this:
I'll do further testing now, but from a first look at it, it seems the patch and your test images resolves the issue. @fichtner @AdSchellevis @jschellevis Could you include this patch to the final 20.7 release? (As mentioned, I'll do further in-depth testing now and I should have definitive test results for all the different modems until 11.00am today) |
Good news! I'll report upstream to FreeBSD ... |
Sure, I'll take it for 20.7, but I have to ask to retest just to be sure later today. |
In any case thanks to all for figuring out the solution! 👍 |
@mimugmail As mentioned I'll do further re-testing also with the other modem brand, so we ensure that both Quectel and Huawei work. I also want to figure out, why ppps.log is empty. I'm testing and I give further feedback until 11.00am. Maybe you can wait until 11.00am to report to upstream FreeBSD so that we are 100% sure that everything is fine. @fichtner Thank you for including it to 20.7. Sure we can do further tests - @tniedermeier and myself are doing the LTE testing - just let us know when there is some new image to test. |
Again good news, I did now a test with a LES compact 4L with the Quectel modem:
Everything went fine, I also got entries in ppps.log: So 👍 for Quectel modems, too. The patch really fixes the issue. I keep on debugging why ppps.log was empty in my first test. I'll let you know once I have more details on that. |
On 20.7.r1 try this....
Cheers, |
I installed 20.7.r1 and issued the commands, configured the LTE connection in the webinterface, looks fine. Here my console output:
|
Thanks @tk-wfischer @tniedermeier and @mimugmail ... commit is queued up for the final 20.7 build now on stable/20.7 ❤️ |
@tk-wfischer @tniedermeier there was a change in upstream patch, can you please test this new image which provides a cleaner patch than the previos one: |
Hi @mimugmail, Cheers, |
Unfortunately after I configured and activated the LTE Interface with the Quectel Modem, OPNsense crashed and rebootet in a similar way like it did before you applied the first patch. I can collect the output from the serial console and attach it if it helps. |
@tniedermeier The crashdump would be nice to see the panic. |
@tniedermeier forget it .. seems I did a mistake in patching .. you'll get a fresh image later .. |
I have just checked the final 20.7 ISO taken from https://mirrors.dotsrc.org/opnsense/releases/20.7/OPNsense-20.7-OpenSSL-vga-amd64.img.bz2 (using link from https://forum.opnsense.org/index.php?topic=18314.0) and I have good news: LTE is working on my LES compact 4L with the Quectel modem using the final OPNsense 20.7 which has been released yesterday on July, 30th. There is no crash when I activate it. 👍 |
@tk-wfischer thanks for confirming. The patch needs to be replaced in a later 20.7.x but for now we are happy this could be solved in time. Thanks again! |
Werner or Thomas, would one of you please give this one a shot please? https://cloud.leute.server.de/index.php/s/Vql9Px1HqUC66UO |
you are welcome :-) @mimugmail: sure :-) I just wanted to write "just let us know in advance when you plan to replace the patch in a later 20.7.x and @tniedermeier and/or me will test it before it gets released." and just 1 second before I could click "Comment" you have written the answer already 🥇 We will let you know soon when we have tested your image. PS @fichtner: you are welcome. And regarding the upgrade path 20.1 -> 20.7 with LTE: I plan to test the upgrade today at home (I have there an LES compact 4L with Quectel LTE modem, too, for my Internet connection. |
Hi @mimugmail I tested it successfully! No problems at all, very good! |
I have tested the upgrade process from 20.1 -> 20.7 with my LTE-based system: everything went fine, LTE keeps on working 👍 |
Please try the new patch via:
Thanks, |
Hi Franco, Best regards, |
If you can use fresh 20.7-RC1 image install and replace kernel accordingly. If it starts working we know the new patch is good and the old one does not interfere. 😊 |
Hi @fichtner, Thanks and best regards, |
Thanks for confirming. We will be adding this to the next kernel update which should be 20.7.1 by the looks of the FreeBSD security advisories released recently. ❤️ |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues and I'm convinced that mine is new.
Describe the bug
When configuring a LTE connection like described in https://docs.opnsense.org/manual/how-tos/cellular.html, the system soon reboots after the LTE connection has been enabled. About 2 seconds after enabling the LTE connection, a lot of outputs runs through the console and after a while the firewall reboots. On the next login the dashboard mentions "A problem was detected. Click here for more information." (I did this and submitted the output multiple times).
Info: Full report of my tests can be found on the forum here: https://forum.opnsense.org/index.php?topic=17417.0
LTE worked without an issue with OPNsense 18.7, 19.1, 19.7, 20.1. Now, 20.7 causes the following issue:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When a LTE connection is configured the system should continue to run and not reboot.
Screenshots
If applicable, add screenshots to help explain your problem.
Relevant log files
ppps.log
system.log
Additional context
The interesting thing is that configuring the LTE connection on the command line does not cause this issue, it works without problems. To reproduce do:
Then it works.
Here are the log files of this manual connection process:
ppps-manual.log
system-manual.log
When I compare the entries in system.log when configuring via web interface compared to configuring via command line, I see following additionals entries (I think that they trigger the issue):
system-additional-when-configuring-via-web.txt
Environment
OPNsense OPNsense 20.7.r1-amd64
Intel(R) Celeron(R) CPU N3160 @ 1.60GHz (4 cores)
LTE Modem: "Quectel EG25-G" and "Huawei ME909u-521"
The text was updated successfully, but these errors were encountered: