Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Reply To: RN2903A based device does not join (OTAA) Conduit AP anymore

$
0
0

Worked with Multitech support and posting some details in case the next developer runs into the same issue.

Attempted solutions
They suggested I try to manaully reset the packet forwarded (“Packet forwarder not seen” debug). This might work for the next reader of this post, but did not work for me; I got a segmentation fault. Sending hardware back to Multitech for investigation.

Suggested course of action if you’re experiencing the same issue: Contact Multitech Support directly.

Expected terminal commands & output

admin@mtcap:~# ps auxw | grep lora
admin      344  0.2  0.4   2632  1140 ?        S    Jan05   8:47 /bin/bash /usr/sbin/lora-led-updater
admin     1907  0.0  0.1   1912   408 ?        S    Jan05   0:04 /sbin/angel /opt/lora/lora-network-server -c /var/config/lora/lora-network-server.conf --lora-eui 00:80:00:00:00:00:F0:B6 --lora-hw-1 MTCAP-LORA-1.5 --lora-prod-1 MTCAP-LORA-868 --lora-path /var/run/lora --db /var/config/lora/lora-network-server.db --noconsole
admin     1909  1.0  1.4  17348  3608 ?        S<l  Jan05  44:18 /opt/lora/lora-network-server -c /var/config/lora/lora-network-server.conf --lora-eui 00:80:00:00:00:00:F0:B6 --lora-hw-1 MTCAP-LORA-1.5 --lora-prod-1 MTCAP-LORA-868 --lora-path /var/run/lora --db /var/config/lora/lora-network-server.db --noconsole
admin     1928  0.0  0.1   1912   408 ?        S    Jan05   0:04 /sbin/angel /var/run/lora/1/lora_pkt_fwd
admin     1929  2.9  0.3  35436   960 ?        S<l  Jan05 125:57 /var/run/lora/1/lora_pkt_fwd
admin    19680  0.0  0.2   2980   584 pts/0    S+   15:33   0:00 grep lora
admin@mtcap:~# kill 1928
admin@mtcap:~# ps auxw | grep lora
admin      344  0.2  0.4   2632  1140 ?        S    Jan05   8:47 /bin/bash /usr/sbin/lora-led-updater
admin     1907  0.0  0.1   1912   408 ?        S    Jan05   0:04 /sbin/angel /opt/lora/lora-network-server -c /var/config/lora/lora-network-server.conf --lora-eui 00:80:00:00:00:00:F0:B6 --lora-hw-1 MTCAP-LORA-1.5 --lora-prod-1 MTCAP-LORA-868 --lora-path /var/run/lora --db /var/config/lora/lora-network-server.db --noconsole
admin     1909  1.0  1.4  17348  3608 ?        S<l  Jan05  44:20 /opt/lora/lora-network-server -c /var/config/lora/lora-network-server.conf --lora-eui 00:80:00:00:00:00:F0:B6 --lora-hw-1 MTCAP-LORA-1.5 --lora-prod-1 MTCAP-LORA-868 --lora-path /var/run/lora --db /var/config/lora/lora-network-server.db --noconsole
admin     1928  0.0  0.1   1912   412 ?        S    Jan05   0:04 /sbin/angel /var/run/lora/1/lora_pkt_fwd
admin    20076  0.0  0.2   2980   584 pts/0    S+   15:37   0:00 grep lora
admin@mtcap:~# kill 1928
-bash: kill: (1928) - No such process
admin@mtcap:~# ps auxw | grep lora
admin      344  0.2  0.4   2632  1140 ?        S    Jan05   8:48 /bin/bash /usr/sbin/lora-led-updater
admin     1907  0.0  0.1   1912   408 ?        S    Jan05   0:04 /sbin/angel /opt/lora/lora-network-server -c /var/config/lora/lora-network-server.conf --lora-eui 00:80:00:00:00:00:F0:B6 --lora-hw-1 MTCAP-LORA-1.5 --lora-prod-1 MTCAP-LORA-868 --lora-path /var/run/lora --db /var/config/lora/lora-network-server.db --noconsole
admin     1909  1.0  1.4  17348  3608 ?        S<l  Jan05  44:21 /opt/lora/lora-network-server -c /var/config/lora/lora-network-server.conf --lora-eui 00:80:00:00:00:00:F0:B6 --lora-hw-1 MTCAP-LORA-1.5 --lora-prod-1 MTCAP-LORA-868 --lora-path /var/run/lora --db /var/config/lora/lora-network-server.db --noconsole
admin    20154  0.0  0.2   2980   584 pts/0    S+   15:37   0:00 grep lora
admin@mtcap:~# cd /var/run/lora/1
admin@mtcap:/var/run/lora/1# ./lora_pkt_fwd 
*** Beacon Packet Forwarder for Lora Gateway ***
Version: 3.1.0
*** Lora concentrator HAL library version info ***
Version: 4.1.3;
***
INFO: Little endian host
INFO: found global configuration file global_conf.json, parsing it
INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
INFO: lorawan_public 1, clksrc 0
lgw_board_setconf:397: Note: board configuration; lorawan_public:1, clksrc:0
INFO: LBT is disabled
INFO: antenna_gain 0 dBi
INFO: Configuring TX LUT with 16 indexes
INFO: radio 0 enabled (type SX1257), center frequency 868500000, RSSI offset -162.000000, tx enabled 1, tx_notch_freq 129000
lgw_rxrf_setconf:458: Note: rf_chain 0 configuration; en:1 freq:868500000 rssi_offset:-162.000000 radio_type:2 tx_enable:1 tx_notch_freq:129000
INFO: radio 1 enabled (type SX1257), center frequency 869400000, RSSI offset -162.000000, tx enabled 0, tx_notch_freq 0
lgw_rxrf_setconf:458: Note: rf_chain 1 configuration; en:1 freq:869400000 rssi_offset:-162.000000 radio_type:2 tx_enable:0 tx_notch_freq:0
INFO: Lora multi-SF channel 0>  radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa 'multi' if_chain 0 configuration; en:1 freq:-400000 SF_mask:0x7e
INFO: Lora multi-SF channel 1>  radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa 'multi' if_chain 1 configuration; en:1 freq:-200000 SF_mask:0x7e
INFO: Lora multi-SF channel 2>  radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa 'multi' if_chain 2 configuration; en:1 freq:0 SF_mask:0x7e
INFO: Lora multi-SF channel 3>  radio 0, IF 300000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa 'multi' if_chain 3 configuration; en:1 freq:300000 SF_mask:0x7e
INFO: Lora multi-SF channel 4>  radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa 'multi' if_chain 4 configuration; en:1 freq:-400000 SF_mask:0x7e
INFO: Lora multi-SF channel 5>  radio 1, IF 125000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa 'multi' if_chain 5 configuration; en:1 freq:125000 SF_mask:0x7e
INFO: Lora multi-SF channel 6>  radio 1, IF 400000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa 'multi' if_chain 6 configuration; en:1 freq:400000 SF_mask:0x7e
INFO: Lora multi-SF channel 7 disabled
lgw_rxif_setconf:485: Note: if_chain 7 disabled
INFO: Lora std channel> radio 0, IF -200000 Hz, 250000 Hz bw, SF 7
lgw_rxif_setconf:551: Note: LoRa 'std' if_chain 8 configuration; en:1 freq:-200000 bw:2 dr:2
INFO: FSK channel> radio 0, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
lgw_rxif_setconf:607: Note: FSK if_chain 9 configuration; en:1 freq:300000 bw:3 dr:50000 (50000 real dr) sync:0xC194C1
INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to 008000000000F0B6
INFO: server hostname or IP address is configured to "127.0.0.1"
INFO: upstream port is configured to "1780"
INFO: downstream port is configured to "1782"
INFO: downstream keep-alive interval is configured to 10 seconds
INFO: statistics display interval is configured to 20 seconds
INFO: upstream PUSH_DATA time-out is configured to 120 ms
INFO: packets received with a valid CRC will be forwarded
INFO: packets received with a CRC error will NOT be forwarded
INFO: packets received with no CRC will NOT be forwarded
INFO: FPGA supported features: [TX filter]  [Spectral Scan] 
lgw_start:793: Note: calibration started (time: 2300 ms)
lgw_start:814: Note: calibration finished (status = 191)
Info: Initialising AGC firmware...
Info: putting back original RADIO_SELECT value
INFO: [main] concentrator started, packet can now be received

INFO: Disabling GPS mode for concentrator's counter...
INFO: host/sx1301 time offset=(1515425896s:885569µs) - drift=-1773900479µs
INFO: Enabling GPS mode for concentrator's counter.

INFO: [down] PULL_ACK received in 0 ms
lgw_receive:1125: FIFO content: 1 10 0 5 12
lgw_receive:1144: [2 17]
Note: LoRa packet

INFO: Received pkt from mote: 00DD0006 (fcnt=7973)

JSON up: {"rxpk":[{"tmst":7633388,"chan":2,"rfch":0,"freq":868.500000,"stat":1,"modu":"LORA","datr":"SF8BW125","codr":"4/5","lsnr":4.0,"rssi":-89,"size":18,"data":"QAYA3QAAJR8B60z5DS+SK3/C"}]}
lgw_receive:1125: FIFO content: 1 32 0 5 12
lgw_receive:1144: [1 17]
Note: LoRa packet

Segmentation fault commands & output

admin@mtcap:/var/log# ps auxw | grep lora
admin      330  0.2  0.4   2632  1140 ?        S    Jan03   6:04 /bin/bash /usr/sbin/lora-led-updater
admin    29747  2.0  0.2   2980   584 pts/0    S+   11:53   0:00 grep lora
admin@mtcap:/var/log# cd /var/run/lora/l/
-bash: cd: /var/run/lora/l/: No such file or directory
admin@mtcap:/var/log# cd /var/run/lora/1/
admin@mtcap:/var/run/lora/1# ./lora_pkt_fwd
*** Beacon Packet Forwarder for Lora Gateway ***
Version: 3.1.0
Segmentation fault
admin@mtcap:/var/run/lora/1# ps auxw | grep lora
admin      330  0.2  0.4   2632  1140 ?        S    Jan03   6:04 /bin/bash /usr/sbin/lora-led-updater
admin    30020  0.0  0.2   2980   584 pts/0    S+   11:56   0:00 grep lora

EDIT: Fix second code block
EDIT: Try to fix post to show both code blocks reliably.

  • This reply was modified 32 minutes ago by  Albert Beukman. Reason: Fix second code block
  • This reply was modified 30 minutes ago by  Albert Beukman.

Viewing all articles
Browse latest Browse all 7111

Trending Articles