Feel free to start a separate topic on this.
Some hints for you:
+EPRATL, Set the Prefer RAT mode list
+GTACT, Select RAT and BAND
Feel free to start a separate topic on this.
Some hints for you:
+EPRATL, Set the Prefer RAT mode list
+GTACT, Select RAT and BAND
Been busy over the weekend but got a chance to sit down last night and look into this a bit more. No logs, but here's the summary of what I've found:
As far as I know, there doesn't seem to be any commands to force what modes it uses, just what it prefers. I'm guessing T-Mobile is the one enforcing this. Though if anyone is more familiar with their inner workings, something that came to mind: I think at some point this SIM I'm working with got migrated from being a data only/tablet plan to a phone plan and I need to work on getting that switched back. Any chance that could impact this behavior?
Honestly I'd be ok with a V6 only connection. My main goal is to use Speedify for bonding these connections which in theory should do its own address translation internally being VPN-esque but I am not sure if it even supports V6 connections on the WAN side. At the very least it isn't picking that up currently.
I will go ahead and get a new topic posted later today for assistance on the 464XLAT stuff.
@nextgen-networks I think I figured out what I had done originally, though there's a lot of empty knowledge holes here. But at the base, I was toying around with the Rooter fork which in current builds supports this card out of the box and at least per its own logs it does a successful FCC unlock even in USB mode. And then I used the couple of related AT commands that affect the lock behavior to make it a permanent unlock. There may be other ways to do this, but this was what worked for me on this random path of attempts I went down.
Quick update but after doing some digging, I think I may have found a workaround at least. Not sure of the full implications, but I'm at least getting a V4 address somewhat reliably across reboots now.
There's an option in the AT command doc called +E5GOPT
which sets some 5G option config which Fibocom's own doc doesn't really give any useful details on.
However doing a quick Google search I once again got a result from the one detailed 4pda forum thread for this modem and it looks like it specifically enables/disables SA/NSA modes.
Here's a pic, I'm assuming from a decompile of the firmware, that was posted there:
On mine it was set to 7 which enables both NSA and SA. I set it to 5 which should disable SA but keep NSA. After doing so and making multiple modem and system resets to test and confirm functionality: Knock on wood each time it has populated a V4 address reliably. Thew initial connection seems to default to LTE but like mentioned in my previous comment within a few short minutes or so (I haven't reliably timed it yet, just a ballpark guess) it switches to LTE-ENDC (that mode 13/LTE+5G operation).
Speed tests and latency are within the general area I was getting before on the rare occasions I had a working connection after this all started.
So if anyone else has similar issues with T-Mobile in the US, this may be an option to try.
I am also getting my SIM plan changed back to a data only plan but have to wait until the billing cycle rolls over. But I'll test again with the previous config and report back if anything changes.
Guys, is this the card you are discussing about?
How it is possible it is so cheap and seems to provides even better features than much more expensive models like RM520 ?
I need to buy a card, but it seems to be a very hard choice.
This one is marked "Prototype", consider using another seller.
Good finding for NSA/SA
From another hand have you experienced such an issue?
mtk_t7xx 0003:01:00.0: txq0: DRB check fail, invalid skb
Or maybe this:
root@BPI-R4:/nvme/work/oled# [ 2523.990007] Unable to handle kernel read from unreadable memory at virtual address 00000000000000c0
[ 2523.999065] Mem abort info:
[ 2524.001850] ESR = 0x0000000096000005
[ 2524.005590] EC = 0x25: DABT (current EL), IL = 32 bits
[ 2524.010891] SET = 0, FnV = 0
[ 2524.013936] EA = 0, S1PTW = 0
[ 2524.017068] FSC = 0x05: level 1 translation fault
[ 2524.021935] Data abort info:
[ 2524.024806] ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
[ 2524.030280] CM = 0, WnR = 0, TnD = 0, TagAccess = 0
[ 2524.035320] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[ 2524.040621] user pgtable: 4k pages, 39-bit VAs, pgdp=000000010b63a000
[ 2524.047051] [00000000000000c0] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[ 2524.055749] Internal error: Oops: 0000000096000005 [#1] SMP
It makes the modem unstable and not connecting to the provider...
Thanks @AndrewZ , this would have been my first mistake.
I was trying to search for more info, but seems to be that this product has been removed from the Fibocom web site (link). It's not even in their full product list.
Is this module still worth considering that it has become obsolete? What you recommend as a newer product compatible with OpenWrt?
Dude, you're AWESOME!
I've been trying to make my FM350-GL to work with my GL.iNet MT3000 (Beryl AX) through the Waveshare m2 to usb adapter for a couple of weeks and I finally managed it but only because of your repo!
You rock, seriously. Thank you so much!
Kind of a side comment, but I am curious what everyone who is using this particular card are using to interface with it? ie: A dedicated router board/x86 box with an M.2 slot or an external USB or ethernet based adapter? If you've got specifics that are working for you, that'd be awesome.
I'm still trying to solidify my setup here. With the above changes to NSA/SA modes it has been pretty reliable getting the initial connection but under load I have had pretty consistent drops where the actual USB side disconnects completely.
Here's the list of interfaces I've worked with so far:
Amazon.com: CY Adapter NGFF M.2 Key-B WWAN to USB 3.0 Adapter Riser Card with SIM Slot for 3G/4G/5G LTE Wireless Module Modem Card : Electronics
Amazon.com: M.2 Key B to USB 3.0 Adapter Portable Network Adapter with SIM Slot Support SIM MicroSIM Nano SIM Card for WWAN LTE 4G 5G Modules : Electronics
I'm very aware these cards tend to be power hungry and I have specifically ran these with powered USB hubs (the second adapter has a separate power input but it seems to be potentially mis-wired as I could only get it to draw current from the data port or power port but not both).
I'm now running back to the x86 machine I've used before with the LTE cards. Specifically it's one of those dirt cheap Evolve III Maestro laptops Micro Center carries but they come with an M.2 slot occupied by one of the EC25-AF cards that I've since put the FM350 in its place. So far it's working well with no dropouts under load test so far.
I'm taking a wild guess I may be seeing power issues with the other adapters based off of all of this. So I'm curious what others are using successfully. I'm humoring the thought of adding another to my setup but that would likely necessitate one of these external USB or ethernet adapters so I want to get this issue figured out before I splurge for another card.
Guys, this module seems to be the cheaper one while still able to provide good performance. It comes with a Mediatek T700 and although this seems to be a very old and entry level chipset, I saw it running at 1Gbps (on a Zyxel NR5103).
This is my target tower:
TDD sub-6GHz AAU, FDD Passive, DSS
N3 N78 B1 B3 B7 B20 B38
Of course, I would like to see all bands aggregated. Is this possible natively or through some hack?
I have the same concerns. MCUZone boards, Raspberrys, Bananas etc all end up with being very expensive once expanded with the needed stuff and still with severe limitations. What to me seems the best solution is an x86 board (a Mini ITX in the specific). You may want to check this topic for more info.
I followed you but couldn't find the following items. Can you help me?
kmod-usb-ehci - 6.1.82-r1
kmod-usb-serial-wwan - 6.1.82-r1
kmod-usb-xhci-hcd - 6.1.82-r1
kmod-usb-xhci-mtk - 6.1.82-r1
So I'm doing some new testing, hoping to find a reliable setup still. I'm trying this card in PCI mode via an M.2 to mPCIe adapter on an old laptop I have kicking around. Using the latest snapshots since I noticed the mtk-t7xx driver is included there. A PCI device shows up but no USB devices, though this is good for me because I eventually want to try this on a Unielec u7621-06 board in one of the Wifi slots which are PCI and best I can tell don't have USB (The 4G/5G slot is USB only, no PCI from what I've seen from various posts).
No devices show up and in the logs I get an MD handshake timeout and Boot handshake failure message. Looks like a patch was previously linked for that: Fibocom FM350-GL Support - #71 by bmork
Any ideas if this patch is still required to make this work?
That patch is included in current stable kernels and therefore OpenWrt too, so it's nothing to worry about
Thanks! Saves me a headache then trying to get it patched in.
Seems like based on what I'm reading these two handshake error messages are a given and basically require a reboot of the host (unless there's an easy way I can power cycle the card itself without the AT port being available). But once it is functioning, things work good for the most part. Had some issues with it showing as disabled and had to do some digging to sort that out (acted like it was HW disabled. The key command to run was mmcli -m any -e
to enable it). Once that's done, ModemManager has no issues working with it and feels a bit less finicky compared to the current script based methods we have to do with the USB side.
But the V4 address issue is still there (for T-Mobile) and even with the E5GOPT command still set to 5 and confirming an initial LTE connection, no V4 address is provided. V6 shows up just fine and I can ping out from it. 464xlat does the same as previously where it cycles up and down continuously with no address.
Haven't popped in my US Mobile/VZW SIM yet. Will do that next and test. (Edit: The US-M/VZW SIM works as expected from previous tests. No issues getting both a V4 and V6 address and connectivity works fine.) But I at least have a baseline now knowing where things sit with PCI operation for this card.
I'm thinking I'll wait until I get the u7621-06 in, confirm the card works just the same there in one of the PCI enabled slots, and if so I'm considering picking up am RM520N-GL since those have -GLAP variants (PCI only) that seem to be going about as cheap as these. That was already part of the plan at minimum to get a second 5G card to use and if the FM350 favors the US Mobile/VZW SIM better, I can run with that and try the T-Mobile SIM on the RM520N
That is probably caused by DNS. Start a separate topic if you want to investigate this.
Yeah, I'm definitely going to do that. Just need to do some more tests and rule things out so I have a solid foundation and useful logs to start the post with. I did finally manage to get a manual 464 interface to function but in doing so just introduced more questions and an issue involving a consistent kernel panic to try and troubleshoot.
All packages are available in LuCI under the System - Software menu, or you can download from the OpenWrt web: https://downloads.openwrt.org/releases/<release>/targets/<target>/<target version>/packages/
Please someone help, am a complete noob in this.
Background:
x86-64 openwrt snapshot
FM350L
Usb v3 adapter
luci-proto-fm350l installed, fm350-modem, kmod-mtk-t7xx and other dependencies.
I have been struggling to get this to work, on modemband, am able to get LTE band response and 5G SA response, but no 5G NSA response
with interface setup as fm350-mode
i get system log response as below. Can anyone please help figure out how to solve this.
LOG as below:
Thu Aug 1 10:59:33 2024 daemon.notice netifd: Interface 'Cellular' is setting up now
Thu Aug 1 10:59:34 2024 daemon.notice netifd: Cellular (3715): Setup fm350 interface Cellular with port /dev/ttyUSB1
Thu Aug 1 10:59:34 2024 daemon.notice netifd: Cellular (3715): Found path /sys/devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.4/ttyUSB1
Thu Aug 1 10:59:34 2024 daemon.notice netifd: Cellular (3715): Found interface eth3
Thu Aug 1 10:59:34 2024 daemon.notice netifd: Cellular (3715): Setting up eth3
Thu Aug 1 10:59:35 2024 daemon.warn odhcpd[4386]: No default route present, overriding ra_lifetime to 0!
Thu Aug 1 10:59:35 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Aug 1 10:59:35 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Thu Aug 1 10:59:35 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 names
Thu Aug 1 10:59:35 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Thu Aug 1 10:59:46 2024 daemon.notice netifd: Cellular (4131): Modem /dev/ttyUSB1 disconnected
Thu Aug 1 10:59:46 2024 daemon.notice netifd: Interface 'Cellular' is now down
Thu Aug 1 10:59:46 2024 daemon.notice netifd: Interface 'Cellular' is setting up now
Thu Aug 1 10:59:47 2024 daemon.notice netifd: Cellular (4138): Setup fm350 interface Cellular with port /dev/ttyUSB1
Thu Aug 1 10:59:47 2024 daemon.notice netifd: Cellular (4138): Found path /sys/devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.4/ttyUSB1
Thu Aug 1 10:59:47 2024 daemon.notice netifd: Cellular (4138): Found interface eth3
Thu Aug 1 10:59:47 2024 daemon.notice netifd: Cellular (4138): Setting up eth3
Thu Aug 1 10:59:47 2024 daemon.warn odhcpd[4386]: No default route present, overriding ra_lifetime to 0!
Thu Aug 1 10:59:48 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Aug 1 10:59:48 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Thu Aug 1 10:59:48 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 names
Thu Aug 1 10:59:48 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
FM350L fibocom
Can you paste cat /sys/kernel/debug/usb/devices
?
Please, use Preformatted text
when you paste logs.
I have no experience of luci-proto-fm350l and fm350-modem. I have only used my own script.