hAP ax lite LTE6 won't connect to cellular network

Hi all!

I’ve just purchased a hAP ax lite LTE6 and i’ve been having trouble getting the LTE modem to work. I have a data sim card which can’t seem to connect to my provider (Keepgo, a travel sim). It recognises the sim but all other status fields are blank.
I have tested the sim card with my phone at can confirm I have the correct APN settings and network. This is the relevant config:

/interface/lte/print detail  
Flags: X - disabled; R - running 
 0    default-name="lte1" name="lte1" mtu=1500 mac-address=removed apn-profiles=main allow-roaming=yes network-mode=3g,lte band=1,3,5,7,8,20,28,38,40,41
/interface/lte/apn/print detail  
Flags: * - default 
 0 * name="main" apn="internet.keepgo.com" use-peer-dns=no use-network-apn=no add-default-route=no ip-type=ipv4 authentication=none

Notably I see the following loop of messages (every 10 seconds) when I enable LTE debugging:

 13:57:49 lte,debug lte1 mbim: >>> N - connect: register state
 13:57:49 lte,packet lte1 mbim: status data: 
 13:57:49 lte,packet lte1 mbim: 00000000 02000000 01000000 00000000
 13:57:49 lte,packet lte1 mbim: 01000000 30000000 00000000 30000000
 13:57:49 lte,packet lte1 mbim: 00000000 30000000 00000000 00000000
 13:57:49 lte,debug lte1 mbim: register state: searching
 13:57:49 lte,debug lte1 mbim: >>> N - connect: packet service
 13:57:49 lte,packet lte1 mbim: status data: 
 13:57:49 lte,packet lte1 mbim: 00000000 04000000 00000000 00000000
 13:57:49 lte,packet lte1 mbim: 00000000 00000000 00000000
 13:57:49 lte,debug lte1 mbim: packet service: detached data class: 0 nwe: 
 13:57:59 lte,debug lte1 mbim: >>> N - connect: emergency mode
 13:57:59 lte,packet lte1 mbim: status data: 
 13:57:59 lte,packet lte1 mbim: 01000000
 13:57:59 lte,debug lte1 mbim: unhandled command: emergency mode
 13:57:59 lte,debug lte1 mbim: >>> N - connect: register state
 13:57:59 lte,packet lte1 mbim: status data: 
 13:57:59 lte,packet lte1 mbim: 00000000 00000000 01000000 00000000
 13:57:59 lte,packet lte1 mbim: 01000000 30000000 0a000000 3c000000
 13:57:59 lte,packet lte1 mbim: 00000000 3c000000 00000000 00000000
 13:57:59 lte,packet lte1 mbim: 32003600 32003000 31000000
 13:57:59 lte,debug lte1 mbim: waiting for modem to make up it's mind
 13:57:59 lte,debug lte1 mbim: >>> N - connect: packet service
 13:57:59 lte,packet lte1 mbim: status data: 
 13:57:59 lte,packet lte1 mbim: 00000000 00000000 00000000 00000000
 13:57:59 lte,packet lte1 mbim: 00000000 00000000 00000000
 13:57:59 lte,debug lte1 mbim: packet service: unknown data class: 0 nwe: 
 13:58:11 lte,debug lte1 mbim: >>> N - connect: emergency mode
 13:58:11 lte,packet lte1 mbim: status data: 
 13:58:11 lte,packet lte1 mbim: 00000000
 13:58:11 lte,debug lte1 mbim: unhandled command: emergency mode
 13:58:12 lte,debug lte1 mbim: >>> N - connect: register state
 13:58:12 lte,packet lte1 mbim: status data: 
 13:58:12 lte,packet lte1 mbim: 00000000 02000000 01000000 00000000
 13:58:12 lte,packet lte1 mbim: 01000000 30000000 00000000 30000000
 13:58:12 lte,packet lte1 mbim: 00000000 30000000 00000000 00000000
 13:58:12 lte,debug lte1 mbim: register state: searching
 13:58:12 lte,debug lte1 mbim: >>> N - connect: packet service
 13:58:12 lte,packet lte1 mbim: status data: 
 13:58:12 lte,packet lte1 mbim: 00000000 04000000 00000000 00000000
 13:58:12 lte,packet lte1 mbim: 00000000 00000000 00000000
 13:58:12 lte,debug lte1 mbim: packet service: detached data class: 0 nwe:

Has anyone seen this before and are there any AT commands I can run that may help debug this issue? Also does anyone know if is there an AT command referece for the FG621 modem? I can’t find one online or really for any related Fibocom modem. Thanks for the help.

Just in case anyone finds this in the future, Mikrotik support managed to solve this for me by setting the following modem-init commands. Just replace with the APN of your provider.

/interface lte set lte1 modem-init="AT+CGDCONT=0,\"IPV4V6\",\"<YOUR APN>\";AT+CGDCONT=1,\"IPV4V6\",\"<YOUR APN>\""

Same problem here, moved the SIM to a SXT LTE6 kit (routerOS 6.49.10), worked immediately.

Edit: the workaround posted by OP works for me :slight_smile: