Someone knows if it is compatible telit lm960 with mikrotik?

Hello, I am testing a telit lm960 card with a LHG-LTE-KIT-US but mikrotik does not recognize the lm960, someone knows if it is compatible

try to usb 3.0 pins isolated (PINS:23,25,27,31,33)
i want to buy it so let me know if thats work

I know about 2 things to check:

  • USB2 vs USB3 mode.
  • Routerboard booting delay.

From “techship.com”:
" When the host system and module are powered on, the cellular module will try to probe if USB3 interface is present on the pin lanes and if communication can be established, otherwise the module will revert to using the USB2 data interface instead.

However, in some host systems where PCIe data interface also is implemented on the shared pin lanes, the signals will interfere with the cellular modules probing for USB3 interface making it not fall back to USB2 data interface. This usually result in the cellular module not being detected at all in the host operating system.

The USB3 auto-sensing functionality is enabled by default but can be disabled by using AT commands to write the memory changes to the internal NV memory which is stored between restarts. After the module is restarted it will use only the USB2 pin lanes for data interface. Please also check and validate if the host system BIOS support disabling of the PCIe interface in the miniPCIe socket.

Related AT commands for configuring USB3/USB2 modes:

Telit LM940/LM960 modules:
AT#USBSWITCH=1
AT#REBOOT
"


2. Routerbord detects PCIe card when booting. If PCIe card internal checks takes longer that RB is waiting for it, card will not be detected. Change default 2s boot delay in System->RouterBoard->Settings.

Note the update 6.45.7, it disables support for this card, but Mikrotik promised to improve it in the next version.

LM960 works In 6.46. At least it’s detected. In RB912.
But it’s not plug and play :wink:
Had to:

  • change USB to PCIe (system->routerboard->USB)
  • disable: system->Ports->firmware->Ignore direct IP mode) when enabled only works as PPP client
  • isolate 4 pins
  • then it’s detected as USB device
  • went into serial terminal: /system serial-terminal usb1 channel=6 (internet says channel=3. I tried all values and found 6 working for me)
  • with command AT#USBSWITCH=1, AT#REBOOT to change to USB=2.0 mode
  • remove isolation
  • start again, but still not visible as LTE interface
  • again in serial-terminal AT#USBCFG=3 to " expose CDC-ECM network interface" ← thx to MT support

Since then I can see LTE interface. Time to try to use it.

marcin
LM960.png

How did you go? Mikrotik did some work getting an LE910C1 working for me in ECM mode (pid 0x1206) It does come up with the LTE interface and a local IP address is obtained from the DHCP server on the module and playing with the serial commands I see the carrier appears to have allocated their own CGNAT IP address to the card and so on BUT it still didn’t talk to the internet.

I then found this document

https://www.telit.com/wp-content/uploads/2017/09/Telit_Linux_USB_Driver_User_Guide_CE_DE_LE910_HE_LE920_r0.pdf

It says as part of the setup process you need to send AT#ECM=1,0 Mikrotik said they can’t do this so I am out of luck. For your LM960 ECM mode has a PID of 0x1043. The document below says you need to use #ICMCONNECT commands to work with ECM mode but I can’t find them in the LM960 AT Command manual. You might get lucky though and it’ll Just Work.

These documents say for Linux and Telit you should just use the MBIM mode driver.
https://www.telit.com/wp-content/uploads/2017/10/1VV0301371_Telit_Modules_Linux_USB_Drivers_User_Guide_r3.pdf
https://techship.com/faq/how-to-use-the-linux-networkmanager-and-modemmanager-applications-with-telit-lm940-cellular-module/

Now the last message from Mikrotik I got was to try the LE910 in MBIM mode on ROS7 beta. I didn’t get a chance to do this yet - I’ll test it this week.

(some extra MBIM and Linux info):
https://techship.com/faq/how-to-set-up-a-simple-data-connection-over-the-mbim-interface-using-libmbim-and-driver-cdc-mbim-in-linux/

Small update from my side.
I’ve been fighting long with LM960. Problem was no signal detected at all. No operator detected, nothing. Same on windows 10 thru USB adapter.
Finally found reason. Modem was bought in US. It has 2 firmware on it. Generic one, and second called ATT, which was default.
AT#GETFW shows list of all firmware.
AT#ACTIVEFW=1,1 (set as active firmware in slot 1, which which is generic one).

Now it works in windows and in RB912 with stable 6.41.1.
Now will try find way to force LM960 to use specific band and CA. In RM912 it’s not supported in GUI.

Edit:
Can not force it to use of any CA :frowning: With AT#BND can force single band usage, not able to connect with CA :frowning: Need to try outside, now testing inside with tiny antennas, signal could be better :wink:
For the record:
AT#BDN=0,18,1 sets UMTS to Band 18 (2100MHz), and LTE to Band 1 (first 0 is for 3G which is not supported by LM960 anyway)
AT#BDN=0,18, 4 to LTE Band 3 (1800MHz)
AT#BDN=0,18, 40 to LTE Band 7 (2600MHz)
AT#BND=0,18,80000, LTE Band 20 (800MHz)

1, 4 , 40 or 80000 is hexadecimal value. Sum, should set few allowed bands. By default ALL bands are set as available.
Command is accepted, for example AT#BND=0,18,44 should set Band 3 and 7. But modems connect only on one if them ;-( Each of above bands the separately work fine, so band is supported by Cell tower. Will try with better signal and/or different operator.
Same behavior on RB912 and windows 10.
AT#CAINFO? shows current status, with signal levels, connected band(s), channel width in MHz, down/up modulation.

Second problem is, that AT#LCFC LTE (Carrier Aggregation Frequencies and Combinations) shows only up to 3 CA, and no single MIMO 4x4 even in 2 CA :frowning:

First of all, bump, I guess

Second off, I am working on a very similar project but with an LM940. Don’t have the modem in hand yet but should within the next couple of weeks.

We you ever able to get CA working reliably? Most carriers only give a device aggregation when it’s under heavy load, so just sitting there idle won’t do it and usually a speedtest wont either. I have gotten aggregation to work in that way in other modems. I have 3 LHG kits that I am wanting to upgrade to CA devices. Tried out the mikrotik cat6 module but it’s a turd. Better speeds with a single band than trying to aggregate.

The location I’m working at is in a deadzone, tons of signal around it but it it’s in a bowl of sorts surrounded by trees. Only antenna/modem I’ve tested that gives me a usable signal on the upper frequencies is the LHG, and I’m still sitting at -112 on band 2. At any rate.

Any advice would be greatly appreciated, my dudes.

Just wanted to add to this as I have the last week being doing some of my own tests using s RBM33G and Telit LM960A18. Following the details above gives similar results. The key is to make the module USB2.0 only using USBSWITCH.

When the modem is connected to 6.46.4 Routeros the unit has to be in ECM mode, connects and works well but gets a address from the modems DHCP/NAT address 192.168.225.x.

Trying 7.0beta5 - I can change the modem to MBIM and then i get the public IP address from the provider, but found the beta a little unstable when using with a Wifi card.

What did you have to do to get the modem in MBIM mode? Have you tried using IP passthrough with MBIM mode?

Hi,

Update from my side. I used big panel antenna, and connected to another operator (shorter distance to base station).
And LM960 on RB912 is connecting on 4 CA now! GUI (inteface/LTE) shows only one band connected, but AT commands shows all 4 (1, 4,7 and 20).
According to documentation, 2600Mhz is working on different anntenas than 3 others (800Mhz, 1800 and 2100 in my case). Will buy second same antenna, and check again.
Currently on 4 CA, download goes up to 80mbit/s. I have 1.4km with some tries on the way to base station. Can finally get rid of unstable Huawei :slight_smile:

br,
Marcin

Ko, how did you get the AT#CAINFO? command to run in routeros? The question mark being a special character doesn’t play nice with the os. I have everything working, I have gotten an LM960 and LM940 to work in both RBM11G and RBLHG. Secret sauce is really this forum, need the telit in usb2 then in ECM mode.

Still wonky weirdness with the card’s internal NAT (shows local ip from telit is wan ip) but it works.

Would just like to know about that AT#CAINFO? command, also the band lock commands. I have tried scripting the query commands with the special character but have had limited results there. Don’t know if it’s in my syntax or what.

interface lte at-chat LTE1 input=“AT#cainfo?”
The key is “****” before “?”



Band locking is similar.
interface lte at-chat LTE1 input=“AT#BND=0,0,40”
0,0,40 are bands for GSM,UMTS, LTE.
It’s hex value.
Band 1 = 1
Band 2 = 2
Band 3 = 4
Band 4 = 8
All values in documentation. If you want force only band 1 (2100Mhz), you run interface lte at-chat LTE1 input=“AT#BND=0,0,1”
Only band 3 (1800Mhz) then “AT#BND=0,0,4”
If band 1+3, then sum: hex sum of 1+4 = 5
For me four bands 1, 3,7 and 20 would be value 80045.

br
marcin

Did get the band commands working alright, must have been my syntax at 3 am…

CAINFO is interesting, I have tried that but not had success. Will copy paste and see where that gets me.

Just have to give you massive props for figuring this card out so well. This entire forum post has taught me a lot about modems and I would have never got either of these modems working had it not been for your information.

Hello I’m totaly newbe in sending any AT comands. I have RMB33 & TELIT LM940. The problem is that every 24-48 h LTE stops. My max download is about 15. I want to check if my cart works in CA . If anyone can help me step by step what to do?

interface lte at-chat LTE1 input=“AT#cainfo?” shows parameters (signal strange, band, channel width etc). Can you post here result?
Once I was using Huawei modem, and had simple script checking LTE interface state every 10 minutes and restarting RB if it was not running.

That’s what I have
output: #CAINFO: 126,3025,4,471,-76,-40,-18,81,e2ae,0,2,1,120,54,3,450,-76,
-33,-20,74,2,0,1,0,0,0,0,0,0,0,0,0,0,0 OK

A friend of mine wrote a script for me.
delay delay-time=10
/interface lte disable lte1
delay delay-time=5
/interface lte enable lte1
It is runnig all the time.

Thak’s a lot. I’ve found on microtik wiki + post above and managed to send AT cod.
I hope it will work faster and without stops.

Its connected on
2600Mhz/15Mhz/16QAM/RSSI -40. SNR = -3,2
and
2100Mhz/10Mhz/16QAM RSSI -33 SNR = -5,8
Very strange: strong signal, bad SNR.