OpenWrt X86_64 + Mikrotik R11e-LTE6


 08:31:14 lte,async lte1: sent ATE0
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+CGMI
 08:31:14 lte,async lte1: rcvd +CGMI: "MikroTik"
 08:31:14 lte,async lte1: sent AT+CGMM
 08:31:14 lte,async lte1: rcvd +CGMM: "R11e-LTE6"
 08:31:14 lte,async lte1: sent AT+CGMR
 08:31:14 lte,async lte1: rcvd R11e-LTE6_V034
 08:31:14 lte,async lte1: sent AT+CGSN
 08:31:14 lte,async lte1: rcvd *******************
 08:31:14 lte,async lte1: sent AT+CFUN?
 08:31:14 lte,async lte1: rcvd +CFUN: 4
 08:31:14 lte,async lte1: sent AT+CMEE=2
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+CREG=2
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+CGREG=2
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+CEREG=2
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+CGEREP=2,0
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+CMGF=0
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+CNMI=1,1,0,1,0
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+EEMOPT=1
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT*CFUN=9
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+CEMODE=2
 08:31:14 lte,async,event lte1: *RADIOPOWER: 0
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT+MEDCR=0,11,1
 08:31:14 lte,async lte1: rcvd OK
 08:31:14 lte,async lte1: sent AT*MRD_SN?
 08:31:14 lte,async lte1: rcvd *MRD_SN:HC901SC79SQ
 08:31:14 lte,async lte1: sent AT+CPIN?
 08:31:14 lte,async lte1: rcvd +CPIN: READY
 08:31:18 lte,async lte1: sent AT+CPMS="SM","SM","SM"
 08:31:18 lte,async lte1: rcvd +CPMS: 1,20,1,20,1,20
 08:31:18 lte,async lte1: sent AT+CFUN?
 08:31:18 lte,async lte1: rcvd +CFUN: 4
 08:31:18 lte,async lte1: sent AT*ICCID?
 08:31:18 lte,async lte1: rcvd *ICCID: 89367031562110560199
 08:31:18 lte,async lte1: sent AT+CNUM
 08:31:18 lte,async lte1: rcvd 
 08:31:18 lte,async lte1: sent AT+CIMI
 08:31:18 lte,async lte1: rcvd 216703125806019
 08:31:18 lte,async lte1: sent AT+CPIN?
 08:31:18 lte,async lte1: rcvd +CPIN: READY
 08:31:18 lte,async lte1: sent AT*BAND?
 08:31:18 lte,async lte1: rcvd *BAND: 15, 78, 147, 480, 50923735, 0, 2, 2, 0
 08:31:18 lte,async lte1: sent AT*BAND=15,78,147,480,50923735,0,3,0
 08:31:18 lte,async lte1: rcvd OK
 08:31:18 lte,async lte1: sent AT*lteband=3,7,1,20,12,17,2,25,26,5,8,38,41,40,39
 08:31:18 lte,async lte1: rcvd OK
 08:31:19 lte,async lte1: sent AT+ZGDCONT=5,"IPV4V6","vitamax.snet.vodafone.net",0
 08:31:19 lte,async lte1: rcvd OK
 08:31:19 lte,async lte1: sent AT+ZGPCOAUTH=5,"","",0
 08:31:20 lte,async lte1: rcvd OK
 08:31:20 lte,async lte1: sent AT+COPS=0
 08:31:20 lte,async lte1: rcvd OK
 08:31:20 lte,async lte1: sent AT+COPS=3,0
 08:31:20 lte,async lte1: rcvd OK
 08:31:20 lte,async lte1: sent AT+CFUN=1
 08:31:20 lte,async,event lte1: +CPAS: 2
 08:31:20 lte,async lte1: rcvd OK
 08:31:20 lte,debug lte1: config ok
 08:31:20 lte,async,raw lte1: sent AT+CFUN?
 08:31:20 lte,async,event lte1: *RADIOPOWER: 1
 08:31:20 lte,async,raw lte1: rcvd +CFUN: 1
 08:31:20 lte,async,raw lte1: sent AT+CSQ
 08:31:20 lte,async,raw lte1: rcvd +CSQ: 2097152,0
 08:31:33 lte,async,raw lte1: +CEREG: 1,"0c83","000c0529",7
 08:31:33 lte,debug lte1: network access technology: LTE
 08:31:33 lte,info lte1: registered home
 08:31:33 lte,async,raw lte1: +CGREG: 0
 08:31:33 lte,async,event lte1: +CIREPI: 1
 08:31:33 lte,async,event lte1: +CPAS: 0
 08:31:33 lte,async,raw lte1: +CREG: 1,"0c83","000c0529",7
 08:31:33 lte,async,raw lte1: $CREG: 1,"0c83","000c0529",7,"085"
 08:31:33 lte,async,event lte1: +CEN1: 1, 216, 70
 08:31:33 lte,async,event lte1: +CEN2: 31, 112
 08:31:33 lte,async,event lte1: +CEN2: 1, 107
 08:31:33 lte,async,event lte1: +CEN2: 4, 105
 08:31:33 lte,async,event lte1: +CEN2: 2, 104
 08:31:33 lte,async,event lte1: +CNEC_ESM: 50,5
 08:31:33 lte,async,event lte1: +CGEV: EPS PDN ACT 5
 08:31:33 lte,async,event lte1: *COPN:0,vodafone HU
 08:31:33 lte,async,event lte1: *COPN:1,VFHU
 08:31:33 lte,async,event lte1: +ZNITZ: 2023,02,13,08,31,36,32,0
 08:31:33 lte,async,event lte1: +NITZ: 0,+4,23/02/13,07:31:36
 08:31:34 lte,async,raw lte1: +CREG: 1,"0c83","000c0529",9
 08:31:34 lte,async,raw lte1: $CREG: 1,"0c83","000c0529",9,"085"
 08:31:34 lte,async,raw lte1: +CEREG: 1,"0c83","000c0529",9
 08:31:35 lte,async,raw lte1: sent AT+CFUN?
 08:31:35 lte,async,raw lte1: rcvd +CFUN: 1
 08:31:35 lte,async,raw lte1: sent AT+COPS?
 08:31:35 lte,async,raw lte1: rcvd +COPS: 0,0,"vodafone HU",9
 08:31:36 lte,async,raw lte1: sent AT+CESQ
 08:31:36 lte,async,raw lte1: rcvd +CESQ: 34,99,255,255,22,37
 08:31:38 lte,async lte1: sent AT+ZGACT=1,5
 08:31:38 lte,async lte1: rcvd OK
 08:31:41 lte,async,event lte1: +ZCONSTAT: 1,5
 08:31:41 lte,async,event lte1: +ZGIPDNS: 5,"IP","94.44.187.249","94.44.187.249","80.244.99.37","80.244.99.36","","","",""
 08:31:41 interface,info lte1 link up
 08:31:41 lte,async lte1: sent AT+CGSMS=2
 08:31:41 lte,async lte1: rcvd OK
 08:31:41 lte,async lte1: sent AT+CMGL=4
 08:31:41 lte,async lte1: rcvd +CMGL: 4,1,,123
 08:31:41 lte,async lte1: rcvd 07916307996915F10414D053ED93790C32A941EA1300003220905171844072CB32D95E9E83BCE7BCB9CCF6BBD72150500F8A818E4250F99C9FEBCBF234284C0ED3413618C81D86CBC3A0B9FECD3EFFD9F430FD3FA783C26B7ADAFE67D3EB6B17A878CE97DDECF2B94C06C96A2023DD05F292ED7C3DBB4CA797D93A90F54D0E9BDFEE32
 

it will probably help, but you need to figure out what AT command(s) sets the mode.

@bmork any ideas ?

Check this: Adding support for MikroTik hAP ac3 LTE6 kit (D53GR_5HacD2HnD) - #45 by dchard

You need to apply some of the commands found in Mikrotik log.

1 Like

I can't founf what code i need :frowning: and where.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=0a5f3b012669208f5454ebe4a1def16e5ab093dd tells you where, even though the entry isn't for your modem.

I do not recommend posting your IMEI on a public forum. AT+CGSN

1 Like

So you don't see 4 AT commands right in the post that I linked?

1 Like

Okay! I see now! Thank you! Now I just have to find where to insert it.

that was what my reply was for ...

Okay. Unfortunately, I don't understand what I should do at all. First of all. Should the wan interface remain a DHCP client protocol or do we need something else? If I issue the mentioned commands, nothing changes. I try well:

echo -e "AT command" > /dev/ttyACM0

No expert, but I would add the commands to the json file, linked to in the commit.

You're still supposed to run as DHCP client.

I got public IP! There is a hope!

1 Like

Great!

Now post how you did it, for others to be able to reproduce.

1 Like

Of corse, but first figuring out how to automatize that three AT commands. After that i write down the whole procedure.

1 Like

How can i figure it out what gcom script used for dialing up?

Unfortunately, the joy was too early. Reboot and redial don't work. So I'm still looking for ideas. I ran out. :frowning:

Can't help you, don't know what you did to make it work, in the 1st place.

You need to backtrack.

And bmork how was tagged by you?

We don't need to bother him, since you got it working, but you need to figure out what, and how you did it...

It is work only when i manually send AT commands to the modem. Afert reboot, or reconnect it doesn't work :frowning: