Hi @Gauldblimey. Yes, all WisGate Edge series are supported - RAK7258, RAK7268, RAK7240, and RAK7249.
Hi,
Further to this topic, I managed to run the software from LORIOT via PUTTY and the gateway was briefly online on LORIOT but then went offline and hasn’t connected again even though it is connected to the WIFI here.
Any suggestions? I’m happy to provide the system log if that would help.
Cheers,
Jethro
System Log:
Please share the gateway firmware version.
Firmware version is: 1.0.2_RAK rRAK-3940b904c
Can you log in via SSH to the gateway and give me the output of the ps
command.
Did you reboot the gateway before losing the connection to Loriot?
Hi Velev,
Yes, the problem did arise after I switched the gateway off so I could move it. When it was plugged in again it didn’t re-connect to loriot.
How can I prevent this happening again as I will need to power off the gateway again at some point?
Then because I was unable to access it again to check what was wrong, I did a factory reset and have managed to get it working on LORIOT via an LTE connection as that is what I will eventually be using when I deploy it for field work.
This is the output from the ps command, would you mind checking if there are any other processes in the background that might interfere with loriot?:
BusyBox v1.23.2 (2021-06-11 12:31:46 UTC) built-in shell (ash)
RAK WisGate Edge series RAK7258 (WisGateOS 1.0.2_RAK 20210611)
root@RAK7258:~# cd /tmp
root@RAK7258:/tmp# wget http://eu4pro.loriot.io/home/gwsw/loriot-rak-7249-SPI-0-
latest.sh -O loriot-install.sh
Connecting to eu4pro.loriot.io (40.67.202.78:80)
loriot-install.sh 100% |*******************************| 196k 0:00:00 ETA
root@RAK7258:/tmp# chmod +x loriot-install.sh
root@RAK7258:/tmp# ./loriot-install.sh -f -s eu4pro.loriot.io
Extracting LORIOT files … done
Options are : -s eu4pro.loriot.io
Installing LORIOT files … start
Loriot Gateway installed. Starting Loriot Gateway …
Gateway started. Gateway will also automatically start with next reboot
Installing LORIOT files … done
root@RAK7258:/tmp# ps
PID USER VSZ STAT COMMAND
1 root 1444 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u2:0]
7 root 0 SW< [khelper]
83 root 0 SW< [writeback]
84 root 0 SW< [bioset]
88 root 0 SW< [kblockd]
89 root 0 SW [kworker/0:1]
90 root 0 SW [kswapd0]
125 root 0 SW [fsnotify_mark]
174 root 0 SW [spi32766]
253 root 0 SW< [deferwq]
298 root 0 SW [kworker/u2:2]
343 root 0 SW [mmcqd/0]
402 root 0 SWN [jffs2_gcd_mtd7]
489 root 904 S /sbin/ubusd
564 root 768 S /sbin/askfirst /bin/login.sh
1218 root 1500 S {syslog.sh} /bin/sh /usr/bin/syslog.sh
1224 root 1208 S logread -f -F /tmp/log/20210611130946.log -p /var/ru
1255 root 1104 S /sbin/logd -S 64
1264 root 1820 S /sbin/rpcd
1282 root 3108 S /usr/sbin/quectel -s giffgaff.com -p 5555
1321 root 1164 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
1366 root 1672 S /sbin/netifd
1438 root 1496 S /usr/sbin/crond -f -c /etc/crontabs -l 5
1485 root 1496 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/
1499 root 0 SW [RtmpCmdQTask]
1506 root 0 SW [RtmpWscTask]
1507 root 0 SW [RtmpMlmeTask]
1509 root 0 SW [kworker/0:2]
1554 root 2484 S /usr/sbin/uhttpd -f -h /www -r RAK7258 -x /cgi-bin -
1581 root 776 S /usr/sbin/rteswplugd -r /etc/eswplug.action
1590 mosquitt 3548 S /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
1664 root 5544 S /usr/sbin/lorasrv -S -D /mnt/mmcblk0p1/lorasrv/mote_
1715 root 19432 S /usr/bin/lora_pkt_fwd -g /var/etc/global_conf.json -
1848 root 784 S /sbin/ap_client ra0 apcli0 EE-Hub-x7He tad-gave-OPTI
1927 root 1500 S /usr/sbin/ntpd -n -S /usr/sbin/ntpd-hotplug -p 0.ope
1939 root 812 S /usr/bin/mpstat -f -t -u 5
1962 nobody 984 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k -x /va
2011 root 1496 S udhcpc -p /var/run/udhcpc-apcli0.pid -s /lib/netifd/
2266 root 1496 S udhcpc -p /var/run/udhcpc-wwan0.pid -s /lib/netifd/d
5547 root 0 SW [kworker/0:0]
6143 root 1232 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
6321 root 1500 S -ash
7498 root 1496 S {loriot-gw} /bin/sh /opt/lrt/loriot-gw -f -s eu4pro.
7499 root 12732 S ./loriot_rak_7249_spi -f -s eu4pro.loriot.io
8453 root 1488 S sleep 1
8454 root 1496 R ps
Thank you for your help.
It seems the default packet forwarder is running alongside the Loriot packet forwarder.
Run this commands:
/etc/init.d/packet_forwarder disable ; /etc/init.d/loriot-gw enable ; reboot now
After the reboot, your gateway should be connected to the Loriot server and another reboot should not affect the connection.
Fabulous, thank you. I’ll try to type that up into a single how to document for future gateway setups. Cheers, Jethro
Hi Again,
The system was working ok but this morning it stopped being able to forward data packets to LORIOT. the System Log is below, can someone help me understand what the issue is please?
Fri Jun 11 13:10:00 2021 kern.info kernel: [ 23.220000] usbserial: USB Serial support registered for GSM modem (1-port)
Fri Jun 11 13:10:01 2021 kern.info quectel-CM[1283]: WCDMA<E_QConnectManager_Linux&Android_V1.1.38
Fri Jun 11 13:10:01 2021 kern.info quectel-CM[1283]: /usr/sbin/quectel profile[1] = giffgaff.com///0, pincode = 5555
Fri Jun 11 13:10:01 2021 user.notice root: echo 1 > /sys/class/gpio/export
Fri Jun 11 13:10:01 2021 user.notice root: echo out > /sys/class/gpio/gpio1/direction
Fri Jun 11 13:10:01 2021 user.notice root: echo 5 > /sys/class/gpio/export
Fri Jun 11 13:10:01 2021 user.notice root: echo out > /sys/class/gpio/gpio5/direction
Fri Jun 11 13:10:01 2021 user.notice root: echo 0 > /sys/class/gpio/gpio5/value
Fri Jun 11 13:10:01 2021 user.notice root: echo 2 > /sys/class/gpio/export
Fri Jun 11 13:10:02 2021 user.notice root: echo out > /sys/class/gpio/gpio2/direction
Fri Jun 11 13:10:02 2021 user.notice root: echo 3 > /sys/class/gpio/export
Fri Jun 11 13:10:02 2021 user.notice root: echo out > /sys/class/gpio/gpio3/direction
Fri Jun 11 13:10:02 2021 user.notice root: echo 1 > /sys/class/gpio/gpio3/value
Fri Jun 11 13:10:02 2021 authpriv.warn dropbear[1321]: Failed loading /etc/dropbear/dropbear_ecdsa_host_key
Fri Jun 11 13:10:02 2021 authpriv.info dropbear[1321]: Not backgrounding
Fri Jun 11 13:10:03 2021 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Fri Jun 11 13:10:04 2021 user.notice root: drv_ralink_cleanup
Fri Jun 11 13:10:04 2021 daemon.err block: /dev/mtdblock7 is already mounted
Fri Jun 11 13:10:04 2021 daemon.err block: /dev/mmcblk0p1 is already mounted
Fri Jun 11 13:10:04 2021 cron.info crond[1414]: crond (busybox 1.23.2) started, log level 5
Fri Jun 11 13:10:04 2021 kern.info kernel: [ 31.590000] device eth0.1 entered promiscuous mode
Fri Jun 11 13:10:04 2021 kern.info kernel: [ 31.600000] device eth0 entered promiscuous mode
Fri Jun 11 13:10:04 2021 kern.info kernel: [ 31.640000] br-lan: port 1(eth0.1) entered forwarding state
Fri Jun 11 13:10:04 2021 kern.info kernel: [ 31.660000] br-lan: port 1(eth0.1) entered forwarding state
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'lan' is enabled
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'lan' is setting up now
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'lan' is now up
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'wan' is enabled
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'alias' is enabled
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'alias' is setting up now
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'alias' is now up
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'loopback' is enabled
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'loopback' is setting up now
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'loopback' is now up
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Network device 'eth0' link is up
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Bridge 'br-lan' link is up
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Fri Jun 11 13:10:05 2021 daemon.notice netifd: VLAN 'eth0.1' link is up
Fri Jun 11 13:10:05 2021 daemon.notice netifd: VLAN 'eth0.2' link is up
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'wan' has link connectivity
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'wan' is setting up now
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'alias' has link connectivity
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Network device 'lo' link is up
Fri Jun 11 13:10:05 2021 daemon.notice netifd: Interface 'loopback' has link connectivity
Fri Jun 11 13:10:05 2021 daemon.notice netifd: wan (1495): udhcpc: option -h NAME is deprecated, use -x hostname:NAME
Fri Jun 11 13:10:05 2021 daemon.notice netifd: wan (1495): udhcpc (v1.23.2) started
Fri Jun 11 13:10:05 2021 kern.warn kernel: [ 32.440000] TX_BCN DESC a73b1000 size = 320
Fri Jun 11 13:10:05 2021 kern.warn kernel: [ 32.450000] RX[0] DESC a73b4000 size = 1024
Fri Jun 11 13:10:05 2021 kern.warn kernel: [ 32.460000] RX[1] DESC a73b5000 size = 1024
Fri Jun 11 13:10:05 2021 user.notice ping-watchdog: lan br-lan ifup
Fri Jun 11 13:10:05 2021 daemon.notice netifd: wan (1495): Sending discover...
Fri Jun 11 13:10:06 2021 kern.warn kernel: [ 32.660000] cfg_mode=9
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.660000] cfg_mode=9
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.670000] wmode_band_equal(): Band Equal!
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.670000] AndesSendCmdMsg: Could not send in band command due to diable fRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.700000] APSDCapable[0]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.700000] APSDCapable[1]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.710000] APSDCapable[2]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.710000] APSDCapable[3]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.720000] APSDCapable[4]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.720000] APSDCapable[5]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.730000] APSDCapable[6]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.740000] APSDCapable[7]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.740000] APSDCapable[8]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.750000] APSDCapable[9]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.750000] APSDCapable[10]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.760000] APSDCapable[11]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.760000] APSDCapable[12]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.770000] APSDCapable[13]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.780000] APSDCapable[14]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.780000] APSDCapable[15]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.790000] default ApCliAPSDCapable[0]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.800000] default ApCliAPSDCapable[1]=1
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.810000] Key1Str is Invalid key length(0) or Type(1)
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.820000] Key2Str is Invalid key length(0) or Type(1)
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.830000] Key3Str is Invalid key length(0) or Type(1)
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.840000] Key4Str is Invalid key length(0) or Type(1)
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.880000] load fw image from fw_header_image
Fri Jun 11 13:10:07 2021 kern.warn kernel: [ 32.890000] AndesMTLoadFwMethod1(2182)::pChipCap->fw_len(63888)
Fri Jun 11 13:10:07 2021 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Fri Jun 11 13:10:07 2021 daemon.err uhttpd[1555]: socket(): Address family not supported by protocol
Fri Jun 11 13:10:07 2021 daemon.err uhttpd[1555]: socket(): Address family not supported by protocol
Fri Jun 11 13:10:07 2021 user.notice blues: blues startup
Fri Jun 11 13:10:08 2021 daemon.notice netifd: wan (1495): Sending discover...
Fri Jun 11 13:10:09 2021 user.notice aws: startsvc
Fri Jun 11 13:10:11 2021 daemon.info loraSrv[1665]: Initializing signal handlers
Fri Jun 11 13:10:11 2021 daemon.info evloop[1665]: evloopInit Done.
Fri Jun 11 13:10:11 2021 daemon.info md[1665]: mdInit Done.
Fri Jun 11 13:10:11 2021 daemon.info mqttEv[1665]: mqttEvInit Done.
Fri Jun 11 13:10:11 2021 daemon.info unknown[1665]: gwManagerInit: Init gateway Manager
Fri Jun 11 13:10:12 2021 daemon.notice netifd: wan (1495): Sending discover...
Fri Jun 11 13:10:12 2021 daemon.info gwBridge[1665]: gwBridgeConfigInit: New Gateway ac1f09fffe050927
Fri Jun 11 13:10:12 2021 daemon.info gwManager[1665]: gwBridgeCreateGateway: Create Gateway ac1f09fffe050927
Fri Jun 11 13:10:12 2021 daemon.info bufrd[1665]: bufrdInit Done.
Fri Jun 11 13:10:12 2021 daemon.info gwBridge[1665]: MQTT Init Start
Fri Jun 11 13:10:12 2021 daemon.info gwBridge[1665]: Mqtt - version 3.1
Fri Jun 11 13:10:12 2021 daemon.info gwBridge[1665]: Mqtt - Client ID gwbackend-ac1f09fffe050927
Fri Jun 11 13:10:12 2021 daemon.info gwBridge[1665]: Mqtt - Retain 0
Fri Jun 11 13:10:12 2021 daemon.info gwBridge[1665]: Mqtt - Clean Session 1
Fri Jun 11 13:10:12 2021 daemon.info gwBridge[1665]: Mqtt - Qos 1
Fri Jun 11 13:10:12 2021 daemon.info gwBridge[1665]: Mqtt - keepalive 10
Fri Jun 11 13:10:12 2021 user.emerg syslog: sh: on: unknown operand
Fri Jun 11 13:10:12 2021 user.emerg syslog: /etc/rc.common: line 30: breathe_led.sh: not found
Fri Jun 11 13:10:13 2021 user.emerg syslog: setting up led eth0
Fri Jun 11 13:10:14 2021 daemon.info mqttEv[1665]: mqttEvRegister : Register mosquitto event [gwBridgeS Mqtt Client]
Fri Jun 11 13:10:14 2021 daemon.info gwBridge[1665]: MQTT Init Done
Fri Jun 11 13:10:14 2021 daemon.err db[1665]: MoteChannelStorage size 112
Fri Jun 11 13:10:14 2021 daemon.info db[1665]: Valid db File /mnt/mmcblk0p1/lorasrv/mote_db
Fri Jun 11 13:10:16 2021 daemon.notice netifd: radio0 (1455): Interface doesn't accept private ioctl...
Fri Jun 11 13:10:16 2021 daemon.notice netifd: radio0 (1455): set (8BE2): Invalid argument
Fri Jun 11 13:10:17 2021 daemon.info nwkSrv[1665]: Disable Frame-counter Validate : false
Fri Jun 11 13:10:17 2021 daemon.err unknown[1665]: eu868_band_add_channel : Add Channel 867100000 DR0 - DR5
Fri Jun 11 13:10:17 2021 daemon.err unknown[1665]: eu868_band_add_channel : Add Channel 867300000 DR0 - DR5
Fri Jun 11 13:10:17 2021 daemon.err unknown[1665]: eu868_band_add_channel : Add Channel 867500000 DR0 - DR5
Fri Jun 11 13:10:17 2021 daemon.err unknown[1665]: eu868_band_add_channel : Add Channel 867700000 DR0 - DR5
Fri Jun 11 13:10:17 2021 daemon.err unknown[1665]: eu868_band_add_channel : Add Channel 867900000 DR0 - DR5
Fri Jun 11 13:10:17 2021 daemon.err unknown[1665]: eu868_band_add_channel : Add Channel 868300000 DR6
Fri Jun 11 13:10:17 2021 daemon.err unknown[1665]: eu868_band_add_channel : Add Channel 868800000 DR7
Fri Jun 11 13:10:17 2021 daemon.info lorawan[1665]: LoRaMAC Params - RECEIVE_DELAY1 1000000 us
Fri Jun 11 13:10:17 2021 daemon.info lorawan[1665]: LoRaMAC Params - RX1DrOffset 0
Fri Jun 11 13:10:17 2021 daemon.info lorawan[1665]: LoRaMAC Params - RX2 Window Channel 869525000 DR 0
Fri Jun 11 13:10:17 2021 daemon.info lorawan[1665]: LoRaMac Params - UplinkDwellTime 0
Fri Jun 11 13:10:17 2021 daemon.info lorawan[1665]: LoRaMac Params - DownlinkDwellTime 0
Fri Jun 11 13:10:17 2021 daemon.info lorawan[1665]: LoRaMac Params - Max EIRP 0
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: Mqtt - version 3.1
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: Mqtt - Client ID loraserver-ac1f09fffe050927
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: Mqtt - Retain 0
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: Mqtt - Clean Session 1
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: Mqtt - Qos 1
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: Mqtt - keepalive 10
Fri Jun 11 13:10:17 2021 daemon.info mqttEv[1665]: mqttEvRegister : Register mosquitto event [AppSrv Mqtt Client]
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: appMosqInit: mosq init done
Fri Jun 11 13:10:17 2021 daemon.info evloop[1665]: ENTER evloopRun
Fri Jun 11 13:10:17 2021 daemon.info gwBridge[1665]: mosqConnectCB: Mqtt Connect Success ...
Fri Jun 11 13:10:17 2021 daemon.info mqttEv[1665]: [gwBridgeS Mqtt Client] subscribe gateway/+/rx - QOS 1
Fri Jun 11 13:10:17 2021 daemon.info mqttEv[1665]: [gwBridgeS Mqtt Client] subscribe gateway/+/stats - QOS 1
Fri Jun 11 13:10:17 2021 daemon.info mqttEv[1665]: [gwBridgeS Mqtt Client] subscribe gateway/+/ack - QOS 1
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: appMqttConnectCB: [AppSrv Mqtt Client] Connect Success ...
Fri Jun 11 13:10:17 2021 daemon.info mqttEv[1665]: [AppSrv Mqtt Client] subscribe application/+/device/+/tx - QOS 1
Fri Jun 11 13:10:17 2021 daemon.info mqttEv[1665]: [AppSrv Mqtt Client] subscribe mcast_group/+/tx - QOS 1
Fri Jun 11 13:10:17 2021 daemon.info mqttEv[1665]: [AppSrv Mqtt Client] subscribe api/request - QOS 1
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: [AppSrv Mqtt Client]:subscribe success - mid [1] - qos_count [1] - granted_qos [1]
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: [AppSrv Mqtt Client]:subscribe success - mid [2] - qos_count [1] - granted_qos [1]
Fri Jun 11 13:10:17 2021 daemon.info appSrv[1665]: [AppSrv Mqtt Client]:subscribe success - mid [3] - qos_count [1] - granted_qos [1]
Fri Jun 11 13:10:17 2021 daemon.notice netifd: Interface 'wwan' is enabled
Fri Jun 11 13:10:17 2021 daemon.notice netifd: Network device 'wwan0' link is up
Fri Jun 11 13:10:17 2021 daemon.notice netifd: Interface 'wwan' has link connectivity
Fri Jun 11 13:10:17 2021 daemon.notice netifd: Interface 'wwan' is setting up now
Fri Jun 11 13:10:18 2021 daemon.notice netifd: radio0 (1455): killall: ap_client: no process killed
Fri Jun 11 13:10:18 2021 kern.info ap_client: apcli0 is not associated
Fri Jun 11 13:10:18 2021 kern.info ap_client: Scanning for networks...
Fri Jun 11 13:10:19 2021 daemon.notice netifd: wwan (1905): udhcpc: option -h NAME is deprecated, use -x hostname:NAME
Fri Jun 11 13:10:19 2021 daemon.notice netifd: wwan (1905): udhcpc (v1.23.2) started
Fri Jun 11 13:10:19 2021 daemon.notice netifd: wwan (1905): Sending discover...
Fri Jun 11 13:10:20 2021 user.notice syslog: Gateway loriot_rak_7249_spi version 2.8.1560-JKS-EU4PRO-10
Fri Jun 11 13:10:20 2021 user.notice syslog: Openssl version OpenSSL 1.0.2j 26 Sep 2016
Fri Jun 11 13:10:20 2021 user.notice loriot_rak_7249_spi[1812]: Using eth0 for GW EUI AC1F09FFFF050927
Fri Jun 11 13:10:20 2021 user.notice loriot_rak_7249_spi[1812]: Requesting system route
Fri Jun 11 13:10:20 2021 daemon.notice netifd: Network device 'ra0' link is up
Fri Jun 11 13:10:20 2021 daemon.info procd: - init complete -
Fri Jun 11 13:10:20 2021 daemon.notice netifd: Interface 'wan0' is enabled
Fri Jun 11 13:10:22 2021 daemon.info dnsmasq[1964]: started, version 2.73 cachesize 150
Fri Jun 11 13:10:22 2021 daemon.info dnsmasq[1964]: compile time options: no-IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Fri Jun 11 13:10:22 2021 daemon.info dnsmasq[1964]: DNS service limited to local subnets
Fri Jun 11 13:10:22 2021 daemon.info dnsmasq-dhcp[1964]: DHCP, IP range 192.168.230.100 -- 192.168.230.249, lease time 12h
Fri Jun 11 13:10:22 2021 daemon.info dnsmasq[1964]: using local addresses only for domain lan
Fri Jun 11 13:10:22 2021 daemon.warn dnsmasq[1964]: no servers found in /tmp/resolv.conf.auto, will retry
Fri Jun 11 13:10:22 2021 daemon.info dnsmasq[1964]: read /etc/hosts - 1 addresses
Fri Jun 11 13:10:22 2021 daemon.info dnsmasq[1964]: read /tmp/hosts/dhcp - 1 addresses
Fri Jun 11 13:10:22 2021 daemon.info dnsmasq-dhcp[1964]: read /etc/ethers - 0 addresses
Fri Jun 11 13:10:22 2021 daemon.notice netifd: wwan (1905): Sending discover...
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 1 EE-Hub-x7He 44:fe:3b:2b:93:56 WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 1 BTHub6-NF7K 5c:b1:3e:0b:11:d0 WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 2 TALKTALKC46B46 8c:15:c7:c4:6b:4c WPA1PSKWPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 6 72:82:8c:79:cd:a2 WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 6 BT-J6AJSX 18:82:8c:79:cd:a6 WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 6 H and J WiFi 00:1d:aa:56:f6:f8 WPA1PSKWPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 6 VCAEC 00:1d:aa:fa:de:68 WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 6 Kirigami e6:95:6e:42:3b:04 WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 9 TALKTALKF3BD18 1c:59:9b:f3:bd:20 WPA1PSKWPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 11 VM2142740 c0:05:c2:4a:6c:41 WPA1PSKWPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 11 BT-F9AT5C a4:ce:da:72:aa:12 WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 11 72:ce:da:72:aa:16 WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 11 vodafone74FE6E d4:35:1d:74:fe:6e WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network - 11 BTHub6-SM23 f4:6b:ef:26:bd:54 WPA2PSK
Fri Jun 11 13:10:23 2021 kern.info ap_client: Found network, trying to associate (essid: EE-Hub-x7He, bssid: 44:fe:3b:2b:93:56, channel: 1, enc: WPA2PSK, crypto: AES)
Fri Jun 11 13:10:24 2021 daemon.notice netifd: Network device 'apcli0' link is up
Fri Jun 11 13:10:24 2021 daemon.notice netifd: Interface 'wan0' has link connectivity
Fri Jun 11 13:10:24 2021 daemon.notice netifd: Interface 'wan0' is setting up now
Fri Jun 11 13:10:24 2021 user.notice ping-watchdog: alias eth0.2 ifup
Fri Jun 11 13:10:24 2021 daemon.notice netifd: wan0 (2047): udhcpc: option -h NAME is deprecated, use -x hostname:NAME
Fri Jun 11 13:10:24 2021 daemon.notice netifd: wan0 (2047): udhcpc (v1.23.2) started
Fri Jun 11 13:10:24 2021 daemon.notice netifd: wan0 (2047): Sending discover...
Fri Jun 11 13:10:25 2021 user.notice firewall: Reloading firewall due to ifup of alias (eth0.2)
Fri Jun 11 13:10:25 2021 daemon.notice netifd: wwan (1905): Sending discover...
Fri Jun 11 13:10:26 2021 user.notice ping-watchdog: loopback lo ifup
Fri Jun 11 13:10:27 2021 daemon.notice netifd: wan0 (2047): Sending discover...
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Find /sys/bus/usb/devices/1-1 idVendor=2c7c idProduct=0195
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Find /sys/bus/usb/devices/1-1:1.4/net/wwan0
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Find usbnet_adapter = wwan0
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Find /sys/bus/usb/devices/1-1:1.4/usbmisc/cdc-wdm0
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Find qmichannel = /dev/cdc-wdm0
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: cdc_wdm_fd = 8
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Get clientWDS = 20
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Get clientDMS = 1
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Get clientNAS = 4
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Get clientUIM = 1
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: Get clientWDA = 1
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: requestBaseBandVersion EG95EFBR06A06M4G
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: requestGetSIMStatus SIMStatus: SIM_READY
Fri Jun 11 13:10:28 2021 kern.info quectel-CM[1283]: requestGetICCID DeviceICCID: 8944110066705070620P
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: requestGetIMSI DeviceIMSI: 234108506172141
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: requestSetProfile[1] giffgaff.com///0
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: requestGetProfile[1] giffgaff.com///0
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: requestRegistrationState2 MCC: 234, MNC: 10, PS: Attached, DataCap: LTE
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: requestRegistrationState2 MCC: 234, MNC: 10, PS: Attached, DataCap: LTE
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: requestSetupDataCall WdsConnectionIPv4Handle: 0x8720ce30
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: requestQueryDataCall IPv4ConnectionStatus: CONNECTED
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: ifconfig wwan0 up
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: you are use OpenWrt?
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: should not calling udhcpc manually?
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: should modify /etc/config/network as below?
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: config interface wan
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: option ifname wwan0
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: option proto dhcp
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: should use "/sbin/ifstaus wan" to check wwan0 's status?
Fri Jun 11 13:10:29 2021 kern.info quectel-CM[1283]: /sbin/ifup wwan
Fri Jun 11 13:10:29 2021 daemon.notice netifd: wwan (1905): Received SIGTERM
Fri Jun 11 13:10:29 2021 daemon.notice netifd: Interface 'wwan' is now down
Fri Jun 11 13:10:29 2021 daemon.notice netifd: Interface 'wwan' is disabled
Fri Jun 11 13:10:29 2021 daemon.notice netifd: Interface 'wwan' is enabled
Fri Jun 11 13:10:29 2021 daemon.notice netifd: Interface 'wwan' is setting up now
Fri Jun 11 13:10:29 2021 daemon.notice netifd: wwan (2287): udhcpc: option -h NAME is deprecated, use -x hostname:NAME
Fri Jun 11 13:10:29 2021 daemon.notice netifd: wwan (2287): udhcpc (v1.23.2) started
Fri Jun 11 13:10:29 2021 daemon.notice netifd: wwan (2287): Sending discover...
Fri Jun 11 13:10:29 2021 daemon.notice netifd: wwan (2287): Sending select for 10.148.208.11...
Fri Jun 11 13:10:29 2021 daemon.notice netifd: wwan (2287): Lease of 10.148.208.11 obtained, lease time 7200
Fri Jun 11 13:10:29 2021 daemon.notice netifd: Interface 'wwan' is now up
Fri Jun 11 13:10:29 2021 daemon.info dnsmasq[1964]: reading /tmp/resolv.conf.auto
Fri Jun 11 13:10:29 2021 daemon.info dnsmasq[1964]: using local addresses only for domain lan
Fri Jun 11 13:10:29 2021 daemon.info dnsmasq[1964]: using nameserver 82.132.254.2#53
Fri Jun 11 13:10:29 2021 daemon.info dnsmasq[1964]: using nameserver 82.132.254.3#53
Fri Jun 11 13:10:29 2021 kern.info ap_client: apcli0 is associated
Fri Jun 11 13:10:29 2021 user.notice ping-watchdog: wwan wwan0 ifup
Fri Jun 11 13:10:30 2021 user.notice firewall: Reloading firewall due to ifup of wwan (wwan0)
Fri Jun 11 13:10:30 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:10:30 2021 daemon.notice netifd: wan0 (2047): Sending discover...
Fri Jun 11 13:10:31 2021 daemon.notice netifd: wan0 (2047): Sending select for 192.168.1.160...
Fri Jun 11 13:10:31 2021 daemon.notice netifd: wan0 (2047): Lease of 192.168.1.160 obtained, lease time 86400
Fri Jun 11 13:10:31 2021 daemon.notice netifd: Interface 'wan0' is now up
Fri Jun 11 13:10:31 2021 daemon.info dnsmasq[1964]: reading /tmp/resolv.conf.auto
Fri Jun 11 13:10:31 2021 daemon.info dnsmasq[1964]: using local addresses only for domain lan
Fri Jun 11 13:10:31 2021 daemon.info dnsmasq[1964]: using nameserver 192.168.1.254#53
Fri Jun 11 13:10:31 2021 daemon.info dnsmasq[1964]: using nameserver 82.132.254.2#53
Fri Jun 11 13:10:31 2021 daemon.info dnsmasq[1964]: using nameserver 82.132.254.3#53
Fri Jun 11 13:10:31 2021 user.notice loriot_rak_7249_spi[1812]: SSL: certificate database loaded
Fri Jun 11 13:10:32 2021 user.notice ping-watchdog: wan0 apcli0 ifup
Fri Jun 11 13:10:32 2021 user.notice firewall: Reloading firewall due to ifup of wan0 (apcli0)
Fri Jun 11 13:11:24 2021 user.err loriot_rak_7249_spi[1812]: TLS: SSL_get_peer_certificate failed: 50 (0x32)
Fri Jun 11 13:11:24 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 145
Fri Jun 11 13:11:34 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:12:36 2021 user.err loriot_rak_7249_spi[1812]: TLS: SSL_get_peer_certificate failed: 50 (0x32)
Fri Jun 11 13:12:36 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 145
Fri Jun 11 13:12:51 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:14:05 2021 user.err loriot_rak_7249_spi[1812]: TLS: SSL_get_peer_certificate failed: 50 (0x32)
Fri Jun 11 13:14:05 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 145
Fri Jun 11 13:14:25 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:14:55 2021 user.notice loriot_rak_7249_spi[1812]: IPV4 connection error with eu4pro.loriot.io (150):Operation now in progress
Fri Jun 11 13:14:55 2021 user.err loriot_rak_7249_spi[1812]: Can't connect to eu4pro.loriot.io
Fri Jun 11 13:14:55 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 150
Fri Jun 11 13:15:17 2021 daemon.info db[1665]: DataBase Backup
Fri Jun 11 13:15:20 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:15:50 2021 user.notice loriot_rak_7249_spi[1812]: IPV4 connection error with eu4pro.loriot.io (150):Operation now in progress
Fri Jun 11 13:15:50 2021 user.err loriot_rak_7249_spi[1812]: Can't connect to eu4pro.loriot.io
Fri Jun 11 13:15:50 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 150
Fri Jun 11 13:16:20 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:17:13 2021 user.err loriot_rak_7249_spi[1812]: TLS: SSL_get_peer_certificate failed: 50 (0x32)
Fri Jun 11 13:17:13 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 145
Fri Jun 11 13:17:48 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:18:18 2021 user.notice loriot_rak_7249_spi[1812]: IPV4 connection error with eu4pro.loriot.io (150):Operation now in progress
Fri Jun 11 13:18:18 2021 user.err loriot_rak_7249_spi[1812]: Can't connect to eu4pro.loriot.io
Fri Jun 11 13:18:18 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 150
Fri Jun 11 13:18:58 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:19:46 2021 user.err loriot_rak_7249_spi[1812]: TLS: SSL_get_peer_certificate failed: 50 (0x32)
Fri Jun 11 13:19:46 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 145
Fri Jun 11 13:20:17 2021 daemon.info db[1665]: DataBase Backup
Fri Jun 11 13:20:31 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:21:01 2021 user.notice loriot_rak_7249_spi[1812]: IPV4 connection error with eu4pro.loriot.io (150):Operation now in progress
Fri Jun 11 13:21:01 2021 user.err loriot_rak_7249_spi[1812]: Can't connect to eu4pro.loriot.io
Fri Jun 11 13:21:01 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 150
Fri Jun 11 13:21:51 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:22:47 2021 user.err loriot_rak_7249_spi[1812]: TLS: SSL_get_peer_certificate failed: 50 (0x32)
Fri Jun 11 13:22:47 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 145
Fri Jun 11 13:23:42 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:24:44 2021 user.err loriot_rak_7249_spi[1812]: TLS: SSL_get_peer_certificate failed: 50 (0x32)
Fri Jun 11 13:24:44 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 145
Fri Jun 11 13:25:17 2021 daemon.info db[1665]: DataBase Backup
Fri Jun 11 13:25:44 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:26:58 2021 user.err loriot_rak_7249_spi[1812]: TLS: SSL_get_peer_certificate failed: 50 (0x32)
Fri Jun 11 13:26:58 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 145
Fri Jun 11 13:28:03 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
Fri Jun 11 13:28:20 2021 daemon.info dnsmasq-dhcp[1964]: DHCPDISCOVER(br-lan) 38:ba:f8:22:a8:b2
Fri Jun 11 13:28:20 2021 daemon.info dnsmasq-dhcp[1964]: DHCPOFFER(br-lan) 192.168.230.104 38:ba:f8:22:a8:b2
Fri Jun 11 13:28:20 2021 daemon.info dnsmasq-dhcp[1964]: DHCPREQUEST(br-lan) 192.168.230.104 38:ba:f8:22:a8:b2
Fri Jun 11 13:28:20 2021 daemon.info dnsmasq-dhcp[1964]: DHCPACK(br-lan) 192.168.230.104 38:ba:f8:22:a8:b2 uea5cg8357nmb
Fri Jun 11 13:28:37 2021 daemon.info bufwr[1665]: bufwrInit Done.
Fri Jun 11 13:29:07 2021 user.err loriot_rak_7249_spi[1812]: TLS: SSL_get_peer_certificate failed: 50 (0x32)
Fri Jun 11 13:29:07 2021 user.err loriot_rak_7249_spi[1812]: Couldn't retrieve gateway configuration. -1 145
Fri Jun 11 13:30:17 2021 daemon.info db[1665]: DataBase Backup
Fri Jun 11 13:30:17 2021 user.notice loriot_rak_7249_spi[1812]: Connecting config server eu4pro.loriot.io
I also just noticed the date is wrong, could that be the issue?
Also the log from Loriot:
Local Time | Event | Message |
---|---|---|
2021-07-17 09:59:57.594 | SET_OFFLINE | Received onclose websocket event |
2021-07-17 09:59:37.498 | SET_OFFLINE | Timeout on ping operation |
2021-07-17 09:44:02.427 | WebSocket | WebSocket upgrade successful |
2021-07-17 09:41:02.815 | SET_OFFLINE | Received onclose websocket event |
2021-07-17 09:40:32.811 | SET_OFFLINE | Timeout on ping operation |
2021-07-17 09:39:56.693 | WebSocket | WebSocket upgrade successful |
2021-07-17 09:38:12.841 | SET_OFFLINE | Received onclose websocket event |
2021-07-17 09:37:42.837 | SET_OFFLINE | Timeout on ping operation |
2021-07-17 09:37:10.217 | WebSocket | WebSocket upgrade successful |
2021-07-17 09:08:44.979 | SET_OFFLINE | Received onclose websocket event |
2021-07-17 09:08:14.976 | SET_OFFLINE | Timeout on ping operation |
2021-07-17 07:12:05.6 | WebSocket | WebSocket upgrade successful |
2021-07-17 07:11:30.862 | UPDATE_GET | No update for version 2.8.1560-JKS-EU4PRO-10 |
2021-07-17 07:07:55.467 | SET_OFFLINE | Received onclose websocket event |
2021-07-17 07:07:32.380 | SET_OFFLINE | Timeout on ping operation |
2021-07-17 07:06:53.677 | WebSocket | WebSocket upgrade successful |
2021-07-17 07:03:31.953 | SET_OFFLINE | Received onclose websocket event |
2021-07-17 07:03:01.949 | SET_OFFLINE | Timeout on ping operation |
2021-07-17 07:02:23.718 | WebSocket | WebSocket upgrade successful |
2021-07-17 07:00:31.46 | SET_OFFLINE | Received onclose websocket event |
It seems like connectivity issue. What connectivity are you using? Cellular, ETH, WiFi?
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
@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