-
Notifications
You must be signed in to change notification settings - Fork 154
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
Quectel LTE MODEM not working starting with 24.7 #214
Comments
Not sure where the error would be. Core repo:
|
Can you do a health audit first? |
Sure, sorry.
|
I am not the only one with this issue, there is at least one more person which I know about, the same issue... similar modem |
Looks clean. If it's the modem/driver I don't know where to look. It would perhaps be something in FreeBSD 14.1 that's not as it should be. Cheers, |
I have found something in System > Log Files > General.
|
I can confirm the same problem with an Quectel EG25-G. Besides the message |
No solution? Or at least a reason for why is not working anymore? :-( |
Same problem here, with Quectel EG25-G and OPNsense 24.7.1. |
Hope it will be fixed soon. I was using the quectel for backup internet line... |
You will have to do some research here because I have no idea where the change is coming from. |
I don't know too much about programming, but if you want me to test something, please, don't hesitate to tell me, I will do all the needed tests and share all the needed logs :-D |
I'm going to need a dmesg output first. I checked the u3g driver and it doesn't deviate much between FreeBSD 13.2 and 14.1. Looking for clues... |
it's probably this change freebsd/freebsd-src@d3a83456e1 changing "LTE modem" to "Quectel XYZ" ? |
It this ok? root@OPNsense:~ # dmesg | grep -i "usb"
|
I was looking at the code.... something silly could be happening but I need to be sure. For now let's test a full revert of said commit:
(and reboot) Cheers, |
Done it, but the issue it is still here
|
Ok, I'm entirely out of ideas then. |
I have "upgraded" to 24.7.1 back, till new thoughts :-) Thank you! |
Still, I have a question... This could not work because the modem I use, quectel, it it used through USB? If I add the modem through the Mini PCIe port, it could work? I need to know if the issue is from the connectivity with USB port, or the modem itself. |
If the problem is in the USB stack then yes. If it is elsewhere maybe. |
Then... I will try the modem on Mini PCI port as well. Still, even if this will be the issue, there are other people which uses the modem with the USB adapter :-| I will come back with results |
I mounted the modem on Mini PCI port and still nothing...
A friend of mine made the same test, he have the same equipment as me, but older version of opnsense, everything is working flawless :-( |
Just to be sure that I am doing everything good. Even if with the older opnsense version was working, maybe something changed with the new version... Added a Point-to-Point device, type PPP, with the proper configuration (dialing the proper number, APN, and so on...) All saved, opnsense reboot. Thats it. There is something more which I need to do, more than I did now? |
Any tunable the modem itself? Even if is connected to Mini PCI port? :-( |
I'm in the same boat as @pickonedev, my system is currently disconnected and sitting on my lab-bench if there is any mods or patches I would be more than happy to try. |
I posted a thing to try: |
@fichtner Hardware: Modem: Software |
@jjabba I can't find SIM7600G at a first glance. All of this feels stabbing in the dark. I have some knowledge with u3g driver and USB here but what to look for in mini-pci is beyond my abilities at the moment. My latest theory is 4722ceb7d5 caused this particular issue. I can try to revert and let you have a test kernel, but it's a bit of a stab in the dark at the moment with FreeBSD also not knowing what's going on. Cheers, |
Try this one then, but just a working theory:
Cheers, |
I gave it a go, installed the kernel update, but unfortunately the same issue as before:
Happy to do more testing, provide logs, whatever it takes. Is there a way to verify the patched kernel installed correctly? |
I dug around and found this: which mentions /etc/remote |
Hmm, /etc/remote has been unmodified since 2008 and we're clearly looking for an immediate regression from FreeBSD 13.2 to 14.1. If it's not in the kernel/base it may be in mpd5 but I have no clue to be honest why it transforms a string from "MomIdentGeneric" to MomIdentGeneriicc". Here is the same issue reported with pfSense which may have some pointers for users with the issue ... https://forum.netgate.com/topic/175737/netgate-2100-micro-sim-4g-lte-5g |
I'm loading the mpd5 source code now via git-svn to sift through this. I'm afraid the code visibility isn't very good... |
@jjabba btw thanks for trying the kernel, appreciate it ❤️ |
Ok I see what's going on here. The label is misread by mpd5 and then mismatched:
This is really bad mangling, but likely fixable. |
I can't even get this code on github, wow, but well the problem seems to be this function reading the label wrong:
|
@jjabba et al: can you let me have the ppp log again with the new binary? it's probably long but worth the effort:
Cheers, |
Thanks for your hard work @fichtner,
full log attached |
Let me know if there is anything else I can do to help, more tests, HW access even. In the meanwhile, is there a convinient way to rollback opnsense to the latest release build on FreeBSD 13? |
@jjabba I looked briefly at the log but not in full yet, sorry. There is no good way to roll back a major OS upgrade so it needs a reinstall with 24.1. About HW access it would probably be easiest to get hold of such an USB device exhibiting the issue, but I understand the implications and limitations of such a request. Digging on a remote box for a mpd5 and possible ASLR issue isn't going to be very productive as it requires recompiling and possibly inspecting core dumps. |
I confirm the same problems on the Fibocom L850-GL. |
I'm also running into the same thing with a Sierra EM7455 on OPNsense 24.7. Re-installing OPNsense 24.1 fixed it. |
Same Problem with brandnew Build. LTE modem is Quectel EM05-G. After Reading this Issue and that one on FreeBSD Project, i have installed 24.1... i hope there is a fix soon. |
The issue appears real but I don't expect much progress at the moment as developer involvement is currently at a bare minimum. |
comment 41 seems to have fixed their issue - "You should remove or disable the cellular package. It doesn't work with the Sierra devices as it requires two AT ports." |
Ok, great now what's a "cellular" package in OPNsense/FreeBSD? And how does this relate to a bug coming from FreeBSD 13 to 14 with mangled strings in mpd5? I'm not an expert on these things. ;) |
Part of OPNsense I believe, pfsense has a package manager, OPNsense does not. Sounds like this package is being used that doesn't work. |
Ok, can we talk specifics now? |
This shouldn't have anything to do with something missing in opnSense and wouldn't be availbale in stock FreeBSD aswell 🙈 |
Could someone please help me understand what 'remove or disable the cellular package' would translate to in opnsense? |
Having the same issue with Quectel EC20 connected via USB interface on N100 miniPC.
|
Using the Init String &F&C1&D2E0S0=0${temp} in the advanced options and rebooting opnsense has worked for me |
This is what an acquaintance of mine told me about using &F&C1&D2E0S0=0${temp} as an init-string:
Based on that I'm thinking that the only thing that would effect parsing things like "MomIdentGeneriicc" is the E0 command to disable echoing. I have no idea how relevant that thought is. |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
The modem it is not connecting to the internet, I only get this in the log:
Seems that with the new 24.7 version there is a typo error as well "labeell" vs "label"
A clear and concise description of what the bug is, including last known working version (if any).
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:
Install the new 24.7 and the modem won't work anymore
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.7.1 (amd64).
Intel{R} N100 (4 cores, 4 threads)
Samsung 16GB DDR5
Intel I226-V Chip 2.5G
PUTTY SCREENSHOT
The text was updated successfully, but these errors were encountered: