How to connect RAK7249 to own Loriot Lora server

I think you are correct because the gateway has since been online on LORIOT fairly reliably, I’m using cellular and I think the network strength is quite variable here. I see a similar pattern with a Multitech gateway we have deployed in Portugal whereby it is offline for a few minutes each hour due to variations in signal strength.

Thank you for your help.

If you are using a second connection, or you can add one, the new firmware support Backhaul Failover, where you can configure ping interval and automatic connectivity change. This can be useful for your case:

Hi!
I installed at 7249 the latest firmware “WisGateOS_1.1.1_RAK_20210712162902” and have now the problem, that I cannot change the gateway EUI in the “packet forwarder” form manually.
The UI shows “ac1f09fffe016618”, but for registration at Loriot LNS the 4 digits in the middle have to be “FFFF”. Because while registration of the gateway I can just enter the MAC address, which is autoamatically filled with FFFF after the 3rd byte.
So how can I change this EUI in the UI of gateway 7249?
Thanks in advance
Best, Andreas

@velev any idea how to change the DEV EUI?

@AndreasK You can not change the EUI of the gateway. The EUI of the gateway identifies the gateways in a unique way, the same as the MAC address. You can follow this guide here to register your gateway to the Loriot network.

sure. unique. but the EUI is the MAC address, after the 3rd byte of MAC address there is inserted a FF FE to create the EUI. So no problem if it changes from FFFE to FFFF. In the former versions of firmware this was easy possible. I would appreciate if this is possible again.

@AndreasK No this will not be possible. Loriot uses their own packet forwarder which manages all this for the RAK gateways. So, follow the guide, and you will manage to connect the WisGate Edge gateway/s to Loriot.

Can the RAK7249 support LoRaWAN 1.1 if Loriot or ChirpStack server (which both are LoRaWAN 1.1. compatible) are used as the back end?

Hi Velev (and others),

My previous gateway has been working well on LTE.

I am now having similar issues with a RAK 7268 Gateway. It briefly connected to Loriot but then fails to remain online. It is currently set up on wifi and has a good connection.

The ps command output is (minus my wifi password):

BusyBox v1.23.2 (2021-07-21 15:56:56 UTC) built-in shell (ash)


    LoRaWAN Gateway (WisGateOS 1.1.2_RAK 20210721)

root@RAK7268C:~# ps
PID USER VSZ STAT COMMAND
1 root 1508 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u2:0]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u2:1]
83 root 0 SW< [writeback]
85 root 0 SW< [bioset]
88 root 0 SW< [kblockd]
90 root 0 SW [kworker/0:1]
91 root 0 SW [kswapd0]
92 root 0 SW [fsnotify_mark]
94 root 0 SW [spi32766]
244 root 0 SW< [deferwq]
278 root 0 SW [kworker/u2:2]
342 root 0 SW [mmcqd/0]
345 root 0 SW [kworker/u2:3]
402 root 0 SWN [jffs2_gcd_mtd7]
409 root 0 SW [kworker/0:2]
533 root 904 S /sbin/ubusd
547 root 768 S /sbin/askfirst /bin/login.sh
1081 root 0 SW< [ipv6_addrconf]
1349 root 1500 S {syslog.sh} /bin/sh /usr/bin/syslog.sh
1356 root 1208 S logread -f -F /tmp/log/20210901212350.log -p /var/ru
1386 root 1104 S /sbin/logd -S 64
1395 root 1820 S /sbin/rpcd
1413 root 3108 S /usr/sbin/quectel
1438 root 1164 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
1635 root 1248 S /usr/sbin/odhcpd
1720 root 1496 S /usr/sbin/crond -f -c /etc/crontabs -l 5
1759 root 0 SW [RtmpCmdQTask]
1762 root 0 SW [RtmpWscTask]
1763 root 0 SW [RtmpMlmeTask]
1769 root 0 SW [kworker/0:3]
1832 root 5276 S /usr/sbin/uhttpd -f -h /www -r RAK7268C -x /cgi-bin
1855 root 776 S /usr/sbin/rteswplugd -r /etc/eswplug.action
1867 mosquitt 3776 S mosquitto -c /etc/mosquitto/mosquitto.conf
1927 root 4964 S /usr/bin/lua /usr/bin/data-broker.lua
1981 root 5488 S /usr/sbin/lorasrv -S -D /mnt/mmcblk0p1/lorasrv/mote_
2057 root 0 SW [kworker/0:4]
2524 root 1624 S /sbin/netifd
2649 root 1496 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/
2655 root 1496 S udhcpc -p /var/run/udhcpc-wwan0.pid -s /lib/netifd/d
2678 root 804 S odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 wwan0
2680 root 1496 S udhcpc -p /var/run/udhcpc-apcli0.pid -s /lib/netifd/
2682 root 804 S odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 eth0.
2691 root 804 S odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 apcli
2736 nobody 1000 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k -x /va
2820 root 784 S /sbin/ap_client ra0 apcli0 [NETWORK DETAILS HERE]
3682 root 1500 S {mwan3track} /bin/sh /usr/sbin/mwan3track wan0 apcli
4131 root 1496 S {loriot-gw} /bin/sh /opt/lrt/loriot-gw -f -s eu4pro.
4155 root 1500 S /usr/sbin/ntpd -n -S /usr/sbin/ntpd-hotplug -p 0.ope
4166 root 1536 S {breathing_light} /bin/sh /sbin/breathing_light
4184 root 812 S /usr/bin/mpstat -f -t -u 5
8025 root 1232 R /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
8337 root 1488 S sleep 5
8459 root 1500 S -ash
8602 root 5584 S ./loriot_rak_7249_spi -f -s eu4pro.loriot.io
8619 root 1488 S sleep 1
8646 root 1496 R ps
root@RAK7268C:~#

And the system log gives the following (below) which suggests that there are conflicting processes occuring, should I do a factory reset and start over?

Thanks,

Jethro

Wed Sep 1 22:11:35 2021 user.notice loriot_rak_7249_spi[24731]: Content-type application/json; charset=utf-8
Wed Sep 1 22:11:35 2021 user.notice loriot_rak_7249_spi[24731]: HTTP response HTTP/1.1 204 No Content
Wed Sep 1 22:11:35 2021 user.notice loriot_rak_7249_spi[24731]: Starting LoRa Concentrator
Wed Sep 1 22:11:35 2021 user.err loriot_rak_7249_spi[24731]: ERROR: NOT EXPECTED CHIP VERSION (v0)
Wed Sep 1 22:11:35 2021 user.err loriot_rak_7249_spi[24731]: ERROR: FAIL TO CONNECT BOARD
Wed Sep 1 22:11:35 2021 user.err loriot_rak_7249_spi[24731]: lgw_start failed
Wed Sep 1 22:11:35 2021 user.err loriot_rak_7249_spi[24731]: You might be running an incompatible version of the binary
Wed Sep 1 22:11:35 2021 user.notice loriot_rak_7249_spi[24731]: Concentrator stopped
Wed Sep 1 22:11:36 2021 daemon.notice netifd: wwan (24436): Sending discover…
Wed Sep 1 22:11:36 2021 user.notice syslog: Gateway loriot_rak_7249_spi version 2.8.1560-JKS-EU4PRO-10
Wed Sep 1 22:11:36 2021 user.notice syslog: Openssl version OpenSSL 1.0.2j 26 Sep 2016
Wed Sep 1 22:11:36 2021 user.notice loriot_rak_7249_spi[24839]: Using eth0 for GW EUI AC1F09FFFF053D0E
Wed Sep 1 22:11:36 2021 user.notice loriot_rak_7249_spi[24839]: Requesting system route
Wed Sep 1 22:11:36 2021 user.notice loriot_rak_7249_spi[24839]: Connecting config server eu4pro.loriot.io
Wed Sep 1 22:11:37 2021 user.notice loriot_rak_7249_spi[24839]: SSL: certificate database loaded
Wed Sep 1 22:11:37 2021 user.notice loriot_rak_7249_spi[24839]: HTTP response HTTP/1.1 200 OK
Wed Sep 1 22:11:37 2021 user.notice loriot_rak_7249_spi[24839]: Timestamp Wed, 01 Sep 2021 22:11:37 GMT
Wed Sep 1 22:11:37 2021 user.notice loriot_rak_7249_spi[24839]: Content-type application/json; charset=utf-8
Wed Sep 1 22:11:37 2021 user.notice loriot_rak_7249_spi[24839]: HTTP response HTTP/1.1 204 No Content
Wed Sep 1 22:11:37 2021 user.notice loriot_rak_7249_spi[24839]: Starting LoRa Concentrator
Wed Sep 1 22:11:37 2021 user.err loriot_rak_7249_spi[24839]: ERROR: NOT EXPECTED CHIP VERSION (v0)
Wed Sep 1 22:11:37 2021 user.err loriot_rak_7249_spi[24839]: ERROR: FAIL TO CONNECT BOARD
Wed Sep 1 22:11:37 2021 user.err loriot_rak_7249_spi[24839]: lgw_start failed
Wed Sep 1 22:11:37 2021 user.err loriot_rak_7249_spi[24839]: You might be running an incompatible version of the binary
Wed Sep 1 22:11:37 2021 user.notice loriot_rak_7249_spi[24839]: Concentrator stopped
Wed Sep 1 22:11:38 2021 user.notice syslog: Gateway loriot_rak_7249_spi version 2.8.1560-JKS-EU4PRO-10
Wed Sep 1 22:11:38 2021 user.notice syslog: Openssl version OpenSSL 1.0.2j 26 Sep 2016
Wed Sep 1 22:11:38 2021 user.notice loriot_rak_7249_spi[24947]: Using eth0 for GW EUI AC1F09FFFF053D0E
Wed Sep 1 22:11:38 2021 user.notice loriot_rak_7249_spi[24947]: Requesting system route
Wed Sep 1 22:11:38 2021 user.notice loriot_rak_7249_spi[24947]: Connecting config server eu4pro.loriot.io
Wed Sep 1 22:11:39 2021 user.notice loriot_rak_7249_spi[24947]: SSL: certificate database loaded
Wed Sep 1 22:11:39 2021 user.notice loriot_rak_7249_spi[24947]: HTTP response HTTP/1.1 200 OK
Wed Sep 1 22:11:39 2021 user.notice loriot_rak_7249_spi[24947]: Timestamp Wed, 01 Sep 2021 22:11:39 GMT
Wed Sep 1 22:11:39 2021 user.notice loriot_rak_7249_spi[24947]: Content-type application/json; charset=utf-8
Wed Sep 1 22:11:39 2021 user.notice loriot_rak_7249_spi[24947]: HTTP response HTTP/1.1 204 No Content
Wed Sep 1 22:11:39 2021 user.notice loriot_rak_7249_spi[24947]: Starting LoRa Concentrator
Wed Sep 1 22:11:39 2021 user.err loriot_rak_7249_spi[24947]: ERROR: NOT EXPECTED CHIP VERSION (v0)
Wed Sep 1 22:11:39 2021 user.err loriot_rak_7249_spi[24947]: ERROR: FAIL TO CONNECT BOARD
Wed Sep 1 22:11:39 2021 user.err loriot_rak_7249_spi[24947]: lgw_start failed
Wed Sep 1 22:11:39 2021 user.err loriot_rak_7249_spi[24947]: You might be running an incompatible version of the binary
Wed Sep 1 22:11:39 2021 user.notice loriot_rak_7249_spi[24947]: Concentrator stopped
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Find /sys/bus/usb/devices/1-1 idVendor=2c7c idProduct=0195
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Find /sys/bus/usb/devices/1-1:1.4/net/wwan0
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Find usbnet_adapter = wwan0
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Find /sys/bus/usb/devices/1-1:1.4/usbmisc/cdc-wdm0
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Find qmichannel = /dev/cdc-wdm0
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: cdc_wdm_fd = 7
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Get clientWDS = 20
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Get clientDMS = 1
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Get clientNAS = 4
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Get clientUIM = 1
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: Get clientWDA = 1
Wed Sep 1 22:11:40 2021 kern.info quectel-CM[23348]: requestBaseBandVersion EG95EFBR06A06M4G
Wed Sep 1 22:11:40 2021 user.notice syslog: Gateway loriot_rak_7249_spi version 2.8.1560-JKS-EU4PRO-10
Wed Sep 1 22:11:40 2021 user.notice syslog: Openssl version OpenSSL 1.0.2j 26 Sep 2016