One conduit working, another one doesnt
Home › Forums › Conduit: mLinux Model › One conduit working, another one doesnt
- This topic has 6 replies, 2 voices, and was last updated 6 years, 10 months ago by
Jason Reiss.
-
AuthorPosts
-
June 3, 2018 at 11:16 am #23706
Amit Bhatia
ParticipantHi, I have two conduit. One of them is working with the mDot nodes. While the other one which was working, has now stopped working.
I see the error log even though I did not enable the Packet forwarders, still I see these Error log writing. Does any one know what these are?
root@mtcdt:~# tail -f /var/log/lora-network-server.log
16:16:13:492|ERROR| Packet forwarder not seen in 510 s
16:16:43:492|ERROR| Packet forwarder not seen in 540 s
16:17:13:492|ERROR| Packet forwarder not seen in 570 s
16:17:43:492|ERROR| Packet forwarder not seen in 600 s
16:18:13:492|ERROR| Packet forwarder not seen in 630 s
16:18:43:492|ERROR| Packet forwarder not seen in 660 s
16:19:13:492|ERROR| Packet forwarder not seen in 690 s
16:19:43:492|ERROR| Packet forwarder not seen in 720 s
16:20:13:492|ERROR| Packet forwarder not seen in 750 s
16:20:43:492|ERROR| Packet forwarder not seen in 780 sroot@mtcdt:~# opkg list | grep lora
lora-gateway-utils – 4.1.3-r10.0
lora-network-server – 1.0.43-r1.0
lora-packet-forwarder – 3.1.0-r9.1
lora-packet-forwarder-usb – 1.4.1-r11.0
lora-query – 1.0.2-r1.0root@mtcdt:~# cat /etc/mlinux-version
mLinux 3.3.9
Built from branch: (detachedfrom0947d21)
Revision: 0947d212fc4c10871c66b4d83c97c5634dc1b8c7June 4, 2018 at 8:26 am #23711Jason Reiss
KeymasterLooks like the packet forwarder is not able to start.
Try to run the packet forwarder alone and provide the output.
# /etc/init.d/lora-network-server stop
# cd /var/run/lora/1/
# ./lora_pkt_fwdProvide output of hardware info
# mts-io-sysfs show lora/*June 4, 2018 at 8:42 pm #23716Amit Bhatia
ParticipantLooks like lora-network-server is not starting…
Here is the info you requested
root@mtcdt:~# /etc/init.d/lora-network-server stop
Stopping lora-network-server: start-stop-daemon: warning: failed to kill 567: No such process
OK
root@mtcdt:~# cd /var/run/lora/1/
root@mtcdt:/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 SX1 301 parameters
INFO: lorawan_public 0, clksrc 0
lgw_board_setconf:397: Note: board configuration; lorawan_public:0, 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 912300000, RSSI offset -16 2.000000, tx enabled 1, tx_notch_freq 0
lgw_rxrf_setconf:446: WARNING: NOT A VALID TX NOTCH FILTER FREQUENCY [126000..25 0000]Hz
lgw_rxrf_setconf:458: Note: rf_chain 0 configuration; en:1 freq:912300000 rssi_o ffset:-162.000000 radio_type:2 tx_enable:1 tx_notch_freq:0
INFO: radio 1 enabled (type SX1257), center frequency 913100000, RSSI offset -16 2.000000, tx enabled 0, tx_notch_freq 0
lgw_rxrf_setconf:458: Note: rf_chain 1 configuration; en:1 freq:913100000 rssi_o ffset:-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:-40 0000 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:-20 0000 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 S F_mask:0x7e
INFO: Lora multi-SF channel 3> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa ‘multi’ if_chain 3 configuration; en:1 freq:200 000 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:-40 0000 SF_mask:0x7e
INFO: Lora multi-SF channel 5> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa ‘multi’ if_chain 5 configuration; en:1 freq:-20 0000 SF_mask:0x7e
INFO: Lora multi-SF channel 6> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa ‘multi’ if_chain 6 configuration; en:1 freq:0 S F_mask:0x7e
INFO: Lora multi-SF channel 7> radio 1, IF 200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:577: Note: LoRa ‘multi’ if_chain 7 configuration; en:1 freq:200 000 SF_mask:0x7e
INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
lgw_rxif_setconf:551: Note: LoRa ‘std’ if_chain 8 configuration; en:1 freq:30000 0 bw:1 dr:4
INFO: FSK channel 8 disabled
lgw_rxif_setconf:485: Note: if_chain 9 disabled
INFO: global_conf.json does contain a JSON object named gateway_conf, parsing ga teway parameters
INFO: gateway MAC address is configured to 00800000A0001783
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
ERROR: FAIL TO CONNECT BOARD
ERROR: [main] failed to start the concentratorJune 4, 2018 at 8:42 pm #23717Amit Bhatia
Participantroot@mtcdt:/var/run/lora/1# mts-io-sysfs show lora/*
1
1
19360358
00:80:00:00:A0:00:17:83
MTAC-LORA-1.5
MTAC-LORA-H-915
1
Multi-Tech SystemsJune 5, 2018 at 7:02 am #23718Jason Reiss
KeymasterTry these commands to reset the card and reload the fpga firmware.
If cdone does not change when creset is unset then there is an issue with the lora card.# mts-io-sysfs store lora/creset 0 # mts-io-sysfs show lora/creset # mts-io-sysfs show lora/cdone # mts-io-sysfs store lora/creset 1 # mts-io-sysfs store lora/reset 0 # mts-io-sysfs show lora/reset # mts-io-sysfs store lora/reset 1
June 5, 2018 at 12:42 pm #23720Amit Bhatia
Participantcdone remains as 1. does that mean LoRA card is not working?
root@mtcdt:~# mts-io-sysfs store lora/creset 0
root@mtcdt:~# mts-io-sysfs show lora/creset
0
root@mtcdt:~# mts-io-sysfs show lora/cdone
1
root@mtcdt:~# mts-io-sysfs store lora/creset 1
root@mtcdt:~# mts-io-sysfs store lora/reset 0
root@mtcdt:~# mts-io-sysfs show lora/reset
0
root@mtcdt:~# mts-io-sysfs store lora/reset 1
root@mtcdt:~# mts-io-sysfs show lora/cdone
1
root@mtcdt:~# ^CJune 5, 2018 at 1:03 pm #23721Jason Reiss
KeymasterYes the lora card is not in working order.
Perhaps a component was accidentally knocked off when installing the card?You could carefully remove the card and look for damaged components.
-
AuthorPosts
- You must be logged in to reply to this topic.