Lorawan/band: invalid channel

Hi,

Setup rak833 USB with rpi4 as per https://github.com/RAKWireless/RAK833-LoRaGateway-RPi.git
IN 865 freq

Getting the error:l orawan/band: invalid channel.
Not sure what I am missing, please help

Jan 25 16:51:20 ubuntu ttn-gateway[1231]: ### [GPS] ###
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: # GPS sync is disabled
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: ##### END #####
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: JSON up: {“stat”:{“time”:“2020-01-25 16:50:50 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: INFO: [up] PUSH_ACK received in 0 ms
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: INFO: [down] PULL_ACK received in 0 ms
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: message repeated 2 times: [ INFO: [down] PULL_ACK received in 0 ms]
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: ##### 2020-01-25 16:51:20 GMT #####
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: ### [UPSTREAM] ###
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: # RF packets received by concentrator: 0
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: # RF packets forwarded: 0 (0 bytes)
Jan 25 16:51:20 ubuntu loraserver[1581]: time=“2020-01-25T16:51:20Z” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=dca632fffe25104d
Jan 25 16:51:20 ubuntu lora-gateway-bridge[1598]: time=“2020-01-25T16:51:20Z” level=info msg=“gateway: stat packet received” addr=“127.0.0.1:47487” mac=dca632fffe25104d
Jan 25 16:51:20 ubuntu lora-gateway-bridge[1598]: time=“2020-01-25T16:51:20Z” level=info msg=“backend: publishing packet” qos=0 topic=gateway/dca632fffe25104d/stats
Jan 25 16:51:20 ubuntu ttn-gateway[1231]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Jan 25 16:51:20 ubuntu loraserver[1581]: time=“2020-01-25T16:51:20Z” level=info msg=“gateway updated” gateway_id=dca632fffe25104d
Jan 25 16:51:20 ubuntu loraserver[1581]: time=“2020-01-25T16:51:20Z” level=error msg=“update gateway state error” error=“handle gateway stats error: get channel error: lorawan/band: invalid channel”
Jan 25 16:51:20 ubuntu loraserver[1581]: time=“2020-01-25T16:51:20Z” level=info msg=“metrics saved” aggregation="[MINUTE HOUR DAY MONTH]" name=“gw:dca632fffe25104d”
Jan 25 16:51:50 ubuntu lora-gateway-bridge[1598]: time=“2020-01-25T16:51:50Z” level=info msg=“gateway: stat packet received” addr=“127.0.0.1:47487” mac=dca632fffe25104d
Jan 25 16:51:50 ubuntu lora-gateway-bridge[1598]: time=“2020-01-25T16:51:50Z” level=info msg=“backend: publishing packet” qos=0 topic=gateway/dca632fffe25104d/stats
Jan 25 16:51:50 ubuntu loraserver[1581]: time=“2020-01-25T16:51:50Z” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=dca632fffe25104d
Jan 25 16:51:50 ubuntu loraserver[1581]: time=“2020-01-25T16:51:50Z” level=info msg=“gateway updated” gateway_id=dca632fffe25104d
Jan 25 16:51:50 ubuntu loraserver[1581]: time=“2020-01-25T16:51:50Z” level=error msg=“update gateway state error” error=“handle gateway stats error: get channel error: lorawan/band: invalid channel”
Jan 25 16:51:50 ubuntu loraserver[1581]: time=“2020-01-25T16:51:50Z” level=info msg=“metrics saved” aggregation="[MINUTE HOUR DAY MONTH]" name=“gw:dca632fffe25104d”
Jan 25 16:52:20 ubuntu lora-gateway-bridge[1598]: time=“2020-01-25T16:52:20Z” level=info msg=“gateway: stat packet received” addr=“127.0.0.1:47487” mac=dca632fffe25104d
Jan 25 16:52:20 ubuntu lora-gateway-bridge[1598]: time=“2020-01-25T16:52:20Z” level=info msg=“backend: publishing packet” qos=0 topic=gateway/dca632fffe25104d/stats
Jan 25 16:52:20 ubuntu loraserver[1581]: time=“2020-01-25T16:52:20Z” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=dca632fffe25104d
Jan 25 16:52:20 ubuntu loraserver[1581]: time=“2020-01-25T16:52:20Z” level=info msg=“gateway updated” gateway_id=dca632fffe25104d
Jan 25 16:52:20 ubuntu loraserver[1581]: time=“2020-01-25T16:52:20Z” level=error msg=“update gateway state error” error=“handle gateway stats error: get channel error: lorawan/band: invalid channel”
Jan 25 16:52:20 ubuntu loraserver[1581]: time=“2020-01-25T16:52:20Z” level=info msg=“metrics saved” aggregation="[MINUTE HOUR DAY MONTH]" name=“gw:dca632fffe25104d”
Jan 25 16:52:50 ubuntu lora-gateway-bridge[1598]: time=“2020-01-25T16:52:50Z” level=info msg=“gateway: stat packet received” addr=“127.0.0.1:47487” mac=dca632fffe25104d
Jan 25 16:52:50 ubuntu lora-gateway-bridge[1598]: time=“2020-01-25T16:52:50Z” level=info msg=“backend: publishing packet” qos=0 topic=gateway/dca632fffe25104d/stats
Jan 25 16:52:50 ubuntu loraserver[1581]: time=“2020-01-25T16:52:50Z” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=dca632fffe25104d
Jan 25 16:52:50 ubuntu loraserver[1581]: time=“2020-01-25T16:52:50Z” level=info msg=“gateway updated” gateway_id=dca632fffe25104d
Jan 25 16:52:50 ubuntu loraserver[1581]: time=“2020-01-25T16:52:50Z” level=error msg=“update gateway state error” error=“handle gateway stats error: get channel error: lorawan/band: invalid channel”
Jan 25 16:52:50 ubuntu loraserver[1581]: time=“2020-01-25T16:52:50Z” level=info msg=“metrics saved” aggregation="[MINUTE HOUR DAY MONTH]" name=“gw:dca632fffe25104d”

  1. Please check if the frequency band in the /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/global_conf.json file is correct. You can get the correct configuration file from https://github.com/RAKWireless/rak_common_for_gateway/tree/master/lora/rak2247_usb/global_conf.

  2. Please check if the frequency band information set in /etc/chirpstack-network-server/chirpstack-network-server.toml is correct. You can get the correct configuration file from https://github.com/RAKWireless/rak_common_for_gateway/tree/master/chirpstack/chirpstack-network-server_conf.