Inleiding
Dit document beschrijft hoe de kwestie moet worden opgelost wanneer de pakketverkenner op de IXM niet start wanneer de LoRa-radio op de IXM is uitgeschakeld.
Probleem
Wanneer u een frisse IXM opstelt en het pakket Actiliteit LRR installeert, kunt u dit bericht in LRR trace.log zien:
Gateway#show packet-forwarder log name trace 250
...
03:40:45.990 (00834) [../main.c:954] no custom configuration file '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/dyncalib.ini'
03:40:45.990 (00834) [../main.c:979] search '/tmp/mdm/pktfwd/firmware/lrr/config/channels_eu868_2015.ini'
03:40:45.990 (00834) [../main.c:2127] load default '/tmp/mdm/pktfwd/firmware/lrr/config/channels_eu868_2015.ini'
03:40:45.990 (00834) [../main.c:951] search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/channels.ini'
03:40:45.990 (00834) [../main.c:954] no custom configuration file '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/channels.ini'
03:40:45.991 (00834) [../main.c:2354] lgw thread is started
03:40:45.991 (02398) [../lgw_gen.c:1820] start lrr.x/lgw th=b63a7380 pid=834 count=1 capture=0
03:40:45.993 (02398) [../lgw_x8.c:1053] BOARD1 RADIO cannot be started ret=-1 'Invalid version number for the top FPGA'
03:40:45.993 (02398) [../lgw_gen.c:1530] enter Idle loop ... waiting for cancelation
03:41:45.980 (00834) [../main.c:5346] no LRC connection during more than 1200sec => revssh
Het pakket stopt met verdere initialisatie en probeert geen verbinding te maken met de PE of TPW LRC.
Oplossing
De reden, alhoewel niet duidelijk van de foutmelding, is omdat de radio niet is gestart op de IXM.
Dit heet "out-of-the-box".
U kunt dit als volgt controleren:
Gateway#show radio
LORA_SN: FOC203310DG
LORA_PN: 95.1602T00
LORA_SKU: 868
LORA_CALC: <135,123,115,107,99,95,91,87,78,70,62,53,45,41,37,33-133,120,112,104,96,92,88,84,75,67,59,51,43,39,35,31>
CAL_TEMP_CELSIUS: 34
CAL_TEMP_CODE_AD9361: 90
RSSI_OFFSET: -204.07,-203.78
LORA_REVISION_NUM: A0+
RSSI_OFFSET_AUS: ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
radio status:
off
Zoals u in de laatste regel kunt zien, wordt de radio als uit gemarkeerd.
Volg deze informatie op om de radio in te schakelen:
Gateway#configure terminal
Gateway(config)#no radio off
Gateway(config)#exit
*Aug 06 03:45:28: Configured from console by console
Gateway#copy running-config start
!
Copy 333 bytes took 00:00:01 [hh:mm:ss]
Start vervolgens de pakketexpediteur:
Gateway#configure terminal
Gateway(config)#packet-forwarder restart
Restarted packet-forwarder
Gateway(config)#exit
*Aug 06 03:46:07: Configured from console by console
Zoals u nu in TRACE.log kunt zien, kan de pakketexpediteur starten:
Gateway#show packet-forwarder log name trace 250
...
################################################################
### restart(1) : 20160806 03:45:43
### pid=2741 szmax=unlimited (config files not yet read)
################################################################
03:45:43.479 (02741) Traces activated for startup
03:45:43.515 (02741) search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/bootserver.ini'
03:45:43.515 (02741) no custom configuration file '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/bootserver.ini'
03:45:43.515 (02741) search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/_system.sh'
03:45:43.515 (02741) load custom '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/_system.sh'
03:45:43.516 (02741) search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/_parameters.sh'
03:45:43.516 (02741) load custom '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/_parameters.sh'
03:45:43.516 (02741) search '/tmp/mdm/pktfwd/firmware/lrr/config/defines.ini'
03:45:43.516 (02741) load default '/tmp/mdm/pktfwd/firmware/lrr/config/defines.ini'
03:45:43.516 (02741) search '/tmp/mdm/pktfwd/firmware/lrr/config/defines.ini'
03:45:43.516 (02741) load default '/tmp/mdm/pktfwd/firmware/lrr/config/defines.ini'
03:45:43.516 (02741) search '/tmp/mdm/pktfwd/firmware/lrr/config/lrr.ini'
03:45:43.516 (02741) load default '/tmp/mdm/pktfwd/firmware/lrr/config/lrr.ini'
03:45:43.519 (02741) search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/lrr.ini'
03:45:43.519 (02741) load custom '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/lrr.ini'
03:45:43.519 (02741) search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/gpsman.ini'
03:45:43.519 (02741) no custom configuration file '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/gpsman.ini'
03:45:43.519 (02741) search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/custom.ini'
03:45:43.519 (02741) load custom '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/custom.ini'
03:45:43.519 (02741) search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/_state.ini'
03:45:43.519 (02741) no custom configuration file '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/_state.ini'
03:45:43.522 (02741) [trace.c:128] TRACE used szmax: 1000000
03:45:43.522 (02741) [../main.c:7781] start lrr.x/main th=b6adc010 pid=2741 sickrestart=0
03:45:43.522 (02741) [../main.c:7782] @(#) Actility lrr 2.4.21 07/09/18 target=ciscoms host=Ubuntu14-dev
03:45:43.522 (02741) [../main.c:7783] SX1301_AR
03:45:43.522 (02741) [../main.c:7785] HAL 5.1.0
03:45:43.522 (02741) [../main.c:7788] lrrid=68480c3f lrridext=0000 lrridpref=04
03:45:43.522 (02741) [../main.c:979] search '/tmp/mdm/pktfwd/firmware/lrr/config/lowlvlgw.ini'
03:45:43.522 (02741) [../main.c:2020] load default '/tmp/mdm/pktfwd/firmware/lrr/config/lowlvlgw.ini'
03:45:43.522 (02741) [../main.c:979] search '/tmp/mdm/pktfwd/firmware/lrr/config/lowlvlgw_ciscoms.ini'
03:45:43.522 (02741) [../main.c:2030] load default '/tmp/mdm/pktfwd/firmware/lrr/config/lowlvlgw_ciscoms.ini'
03:45:43.523 (02741) [../main.c:979] search '/tmp/mdm/pktfwd/firmware/lrr/config/lgwx8_eu868_2015.ini'
03:45:43.523 (02741) [../main.c:2041] load default '/tmp/mdm/pktfwd/firmware/lrr/config/lgwx8_eu868_2015.ini'
03:45:43.523 (02741) [../main.c:951] search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/lowlvlgw.ini'
03:45:43.523 (02741) [../main.c:2065] load custom '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/lowlvlgw.ini'
03:45:43.523 (02741) [../main.c:951] search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/lgw.ini'
03:45:43.523 (02741) [../main.c:954] no custom configuration file '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/lgw.ini'
03:45:43.523 (02741) [../main.c:951] search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/dyncalib.ini'
03:45:43.523 (02741) [../main.c:954] no custom configuration file '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/dyncalib.ini'
03:45:43.523 (02741) [../main.c:979] search '/tmp/mdm/pktfwd/firmware/lrr/config/channels_eu868_2015.ini'
03:45:43.523 (02741) [../main.c:2127] load default '/tmp/mdm/pktfwd/firmware/lrr/config/channels_eu868_2015.ini'
03:45:43.524 (02741) [../main.c:951] search '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/channels.ini'
03:45:43.524 (02741) [../main.c:954] no custom configuration file '/tmp/mdm/pktfwd/firmware/usr/etc/lrr/channels.ini'
03:45:43.525 (02741) [../main.c:7119] IfaceDaemon disabled
03:45:43.525 (02741) [../main.c:2296] gps thread is started
03:45:43.525 (02741) [../main.c:2354] lgw thread is started
03:45:43.525 (02741) [../shellcmd.c:155] cmd thread is started
03:45:43.525 (02741) [../rttping.c:406] thread itf idx=0 name='eth0' is started
03:45:43.525 (02741) [../main.c:7831] TRACE LEVEL IS SET TO 0
03:45:43.525 (02746) [../rttping.c:342] thread itf idx=0 name='eth0' is looping
03:45:43.526 (02744) [../lgw_gen.c:1820] start lrr.x/lgw th=b62da380 pid=2741 count=1 capture=0
03:45:43.527 (02743) [../gps.c:148] start lrr.x/gps th=b6adb380 pid=2741 count=1