ChirpStack OS Setup issue - sx1302 communication ? Relay Gateway Config?

Hey guys, i have seen similar topics to this but have not seen one that has an answer to the issue. i think i am missing something simple here just to get to the point that i know that the gateway is working and i can see traffic in the chipstack server.

situation

i need to establish an internal network in order to have 3 raspberry pi 5s with elecrrow lr1302 hats communicate (2 way) with a central raspberry pi 4b with a waveshare hat, also with the sx1302 chip.

issue

the status of the gateway on the central (pi 4) unit does not show that the hat is ever seen. i am not quite sure how i am going to configure the raspberry pi 5 nodes so that the gateways will act as repeaters to create a mesh. if anyone has any info on that, that would be great.

### central pi configuration

  • raspberry pi 4b
  • waveshare sx1302 hat (spi not usb)
  • os: chirpstack gateway os

### 3 nodes configuration

### trouble shooting thus far

#### central pi 4

**root@chirpstack-62017f:/var/log# uci show chirpstack-gateway-mesh**

chirpstack-gateway-mesh.global=global
chirpstack-gateway-mesh.global.enabled=‘1’
chirpstack-gateway-mesh.global.region=‘us915’
chirpstack-gateway-mesh.mesh=mesh
chirpstack-gateway-mesh.mesh.signing_key=‘00000000000000000000000000000000’
chirpstack-gateway-mesh.mesh.tx_power=‘21’
chirpstack-gateway-mesh.mesh.max_hop_count=‘3’
chirpstack-gateway-mesh.mesh.region=‘us915’
chirpstack-gateway-mesh.mesh.frequency=‘902300000’ ‘902500000’ ‘902700000’ ‘902900000’ ‘903100000’ ‘903300000’ ‘903500000’ ‘903700000’
chirpstack-gateway-mesh.mesh_data_rate=mesh_data_rate
chirpstack-gateway-mesh.mesh_data_rate.modulation=‘lora’
chirpstack-gateway-mesh.mesh_data_rate.spreading_factor=‘10’
chirpstack-gateway-mesh.mesh_data_rate.bandwidth=‘125000’
chirpstack-gateway-mesh.mesh_data_rate.code_rate=‘4/5’
chirpstack-gateway-mesh.mesh_data_rate.bitrate=‘50000’
chirpstack-gateway-mesh.backend_concentratord=backend_concentratord
chirpstack-gateway-mesh.backend_concentratord.event_url=‘ipc:///tmp/concentratord_event’
chirpstack-gateway-mesh.backend_concentratord.command_url=‘ipc:///tmp/concentratord_command’
chirpstack-gateway-mesh.backend_mesh_concentratord=backend_mesh_concentratord
chirpstack-gateway-mesh.backend_mesh_concentratord.event_url=‘ipc:///tmp/concentratord_event’
chirpstack-gateway-mesh.backend_mesh_concentratord.command_url='ipc:///tmp/concentratord_command

'

**root@chirpstack-62017f:~# uci show**

chirpstack.@network[0]=network
chirpstack.@network[0].net_id=‘000000’
chirpstack.@network[0].enabled_regions=‘us915_0’
chirpstack-concentratord.@global[0]=global
chirpstack-concentratord.@global[0].chipset=‘sx1302’
chirpstack-concentratord.@global[0].enabled=‘1’
chirpstack-concentratord.@sx1301[0]=sx1301
chirpstack-concentratord.@sx1301[0].model=‘imst_ic880a’
chirpstack-concentratord.@sx1301[0].region=‘eu868’
chirpstack-concentratord.@sx1301[0].channel_plan=‘eu868’
chirpstack-concentratord.@sx1301[0].gateway_id=‘d83addfffe62017f’
chirpstack-concentratord.@sx1301[0].antenna_gain=‘2’
chirpstack-concentratord.@sx1302[0]=sx1302
chirpstack-concentratord.@sx1302[0].model=‘waveshare_sx1302_lorawan_gateway_hat’
chirpstack-concentratord.@sx1302[0].region=‘us915’
chirpstack-concentratord.@sx1302[0].channel_plan=‘us915_0’
chirpstack-concentratord.@sx1302[0].antenna_gain=‘3’
chirpstack-concentratord.@sx1302[0].gnss=‘1’
chirpstack-concentratord.@2g4[0]=2g4
chirpstack-concentratord.@2g4[0].model=‘semtech_sx1280z3dsfgw1’
chirpstack-concentratord.@2g4[0].region=‘ism2400’
chirpstack-concentratord.@2g4[0].channel_plan=‘ism2400’
chirpstack-concentratord.@2g4[0].antenna_gain=‘2’
chirpstack-gateway-mesh.global=global
chirpstack-gateway-mesh.global.enabled=‘1’
chirpstack-gateway-mesh.global.region=‘us915’
chirpstack-gateway-mesh.mesh=mesh
chirpstack-gateway-mesh.mesh.signing_key=‘00000000000000000000000000000000’
chirpstack-gateway-mesh.mesh.tx_power=‘21’
chirpstack-gateway-mesh.mesh.max_hop_count=‘3’
chirpstack-gateway-mesh.mesh.region=‘us915’
chirpstack-gateway-mesh.mesh.frequency=‘902300000’ ‘902500000’ ‘902700000’ ‘902900000’ ‘903100000’ ‘903300000’ ‘903500000’ ‘903700000’
chirpstack-gateway-mesh.mesh_data_rate=mesh_data_rate
chirpstack-gateway-mesh.mesh_data_rate.modulation=‘lora’
chirpstack-gateway-mesh.mesh_data_rate.spreading_factor=‘10’
chirpstack-gateway-mesh.mesh_data_rate.bandwidth=‘125000’
chirpstack-gateway-mesh.mesh_data_rate.code_rate=‘4/5’
chirpstack-gateway-mesh.mesh_data_rate.bitrate=‘50000’
chirpstack-gateway-mesh.backend_concentratord=backend_concentratord
chirpstack-gateway-mesh.backend_concentratord.event_url=‘ipc:///tmp/concentratord_event’
chirpstack-gateway-mesh.backend_concentratord.command_url=‘ipc:///tmp/concentratord_command’
chirpstack-gateway-mesh.backend_mesh_concentratord=backend_mesh_concentratord
chirpstack-gateway-mesh.backend_mesh_concentratord.event_url=‘ipc:///tmp/concentratord_event’
chirpstack-gateway-mesh.backend_mesh_concentratord.command_url=‘ipc:///tmp/concentratord_command’
chirpstack-mqtt-forwarder.@global[0]=global
chirpstack-mqtt-forwarder.@global[0].enabled=‘1’
chirpstack-mqtt-forwarder.@mqtt[0]=mqtt
chirpstack-mqtt-forwarder.@mqtt[0].topic_prefix=‘us915_0’
chirpstack-mqtt-forwarder.@mqtt[0].server=‘tcp://localhost:1883’
chirpstack-mqtt-forwarder.@mqtt[0].qos=‘0’
chirpstack-mqtt-forwarder.@mqtt[0].json=‘1’
chirpstack-mqtt-forwarder.@filters[0]=filters
chirpstack-mqtt-forwarder-mesh.@global[0]=global
chirpstack-mqtt-forwarder-mesh.@global[0].enabled=‘0’
chirpstack-mqtt-forwarder-mesh.@mqtt[0]=mqtt
chirpstack-mqtt-forwarder-mesh.@mqtt[0].topic_prefix=‘eu868’
chirpstack-mqtt-forwarder-mesh.@mqtt[0].server=‘tcp://localhost:1883’
chirpstack-mqtt-forwarder-mesh.@mqtt[0].qos=‘0’
chirpstack-mqtt-forwarder-mesh.@mqtt[0].json=‘1’
chirpstack-mqtt-forwarder-mesh.@filters[0]=filters
chirpstack-mqtt-forwarder-mesh.@concentratord[0]=concentratord
chirpstack-mqtt-forwarder-mesh.@concentratord[0].event_url=‘ipc:///tmp/gateway_relay_event’
chirpstack-mqtt-forwarder-mesh.@concentratord[0].command_url=‘ipc:///tmp/gateway_relay_command’
chirpstack-udp-forwarder.@global[0]=global
chirpstack-udp-forwarder.@global[0].enabled=‘0’
chirpstack-udp-forwarder.@server[0]=server
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded=‘1’
dhcp.@dnsmasq[0].boguspriv=‘1’
dhcp.@dnsmasq[0].filterwin2k=‘0’
dhcp.@dnsmasq[0].localise_queries=‘1’
dhcp.@dnsmasq[0].rebind_protection=‘1’
dhcp.@dnsmasq[0].rebind_localhost=‘1’
dhcp.@dnsmasq[0].local=‘/lan/’
dhcp.@dnsmasq[0].domain=‘lan’
dhcp.@dnsmasq[0].expandhosts=‘1’
dhcp.@dnsmasq[0].nonegcache=‘0’
dhcp.@dnsmasq[0].cachesize=‘1000’
dhcp.@dnsmasq[0].authoritative=‘1’
dhcp.@dnsmasq[0].readethers=‘1’
dhcp.@dnsmasq[0].leasefile=‘/tmp/dhcp.leases’
dhcp.@dnsmasq[0].resolvfile=‘/tmp/resolv.conf.d/resolv.conf.auto’
dhcp.@dnsmasq[0].nonwildcard=‘1’
dhcp.@dnsmasq[0].localservice=‘1’
dhcp.@dnsmasq[0].ednspacket_max=‘1232’
dhcp.@dnsmasq[0].filter_aaaa=‘0’
dhcp.@dnsmasq[0].filter_a=‘0’
dhcp.lan=dhcp
dhcp.lan.interface=‘lan’
dhcp.lan.start=‘100’
dhcp.lan.limit=‘150’
dhcp.lan.leasetime=‘12h’
dhcp.lan.dhcpv4=‘disabled’
dhcp.lan.dhcpv6=‘disabled’
dhcp.lan.ra=‘disabled’
dhcp.lan.ra_slaac=‘1’
dhcp.lan.ra_flags=‘managed-config’ ‘other-config’
dhcp.wan=dhcp
dhcp.wan.interface=‘wan’
dhcp.wan.ignore=‘1’
dhcp.odhcpd=odhcpd
dhcp.odhcpd.maindhcp=‘0’
dhcp.odhcpd.leasefile=‘/tmp/hosts/odhcpd’
dhcp.odhcpd.leasetrigger=‘/usr/sbin/odhcpd-update’
dhcp.odhcpd.loglevel=‘4’
dhcp.wwan=dhcp
dhcp.wwan.interface=‘wwan’
dhcp.wwan.start=‘100’
dhcp.wwan.limit=‘150’
dhcp.wwan.leasetime=‘12h’
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].passwordauth=‘on’
dropbear.@dropbear[0].port=‘22’
dropbear.@dropbear[0].gatewayports=‘on’
firewall.@defaults[0]=defaults
firewall.@defaults[0].syn_flood=‘1’
firewall.@defaults[0].input=‘reject’
firewall.@defaults[0].output=‘accept’
firewall.@defaults[0].forward=‘reject’
firewall.@zone[0]=zone
firewall.@zone[0].name=‘lan’
firewall.@zone[0].network=‘lan’ ‘wwan’
firewall.@zone[0].input=‘accept’
firewall.@zone[0].output=‘accept’
firewall.@zone[0].forward=‘accept’
firewall.@zone[0].masq=‘1’
firewall.@zone[1]=zone
firewall.@zone[1].name=‘wan’
firewall.@zone[1].network=‘wan’ ‘wan6’
firewall.@zone[1].input=‘reject’
firewall.@zone[1].output=‘accept’
firewall.@zone[1].forward=‘reject’
firewall.@zone[1].masq=‘1’
firewall.@zone[1].mtu_fix=‘1’
firewall.@forwarding[0]=forwarding
firewall.@forwarding[0].src=‘lan’
firewall.@forwarding[0].dest=‘wan’
firewall.@rule[0]=rule
firewall.@rule[0].name=‘allow-dhcp-renew’
firewall.@rule[0].src=‘wan’
firewall.@rule[0].proto=‘udp’
firewall.@rule[0].dest_port=‘68’
firewall.@rule[0].target=‘accept’
firewall.@rule[0].family=‘ipv4’
firewall.@rule[1]=rule
firewall.@rule[1].name=‘allow-ping’
firewall.@rule[1].src=‘wan’
firewall.@rule[1].proto=‘icmp’
firewall.@rule[1].icmp_type=‘echo-request’
firewall.@rule[1].family=‘ipv4’
firewall.@rule[1].target=‘accept’
firewall.@rule[2]=rule
firewall.@rule[2].name=‘allow-igmp’
firewall.@rule[2].src=‘wan’
firewall.@rule[2].proto=‘igmp’
firewall.@rule[2].family=‘ipv4’
firewall.@rule[2].target=‘accept’
firewall.@rule[3]=rule
firewall.@rule[3].name=‘allow-dhcpv6’
firewall.@rule[3].src=‘wan’
firewall.@rule[3].proto=‘udp’
firewall.@rule[3].dest_port=‘546’
firewall.@rule[3].family=‘ipv6’
firewall.@rule[3].target=‘accept’
firewall.@rule[4]=rule
firewall.@rule[4].name=‘allow-mld’
firewall.@rule[4].src=‘wan’
firewall.@rule[4].proto=‘icmp’
firewall.@rule[4].src_ip=‘fe80::/10’
firewall.@rule[4].icmp_type=‘130/0’ ‘131/0’ ‘132/0’ ‘143/0’
firewall.@rule[4].family=‘ipv6’
firewall.@rule[4].target=‘accept’
firewall.@rule[5]=rule
firewall.@rule[5].name=‘allow-icmpv6-input’
firewall.@rule[5].src=‘wan’
firewall.@rule[5].proto=‘icmp’
firewall.@rule[5].icmp_type=‘echo-request’ ‘echo-reply’ ‘destination-unreachable’ ‘packet-too-big’ ‘time-exceeded’ ‘bad-header’ ‘unknown-header-type’ ‘router-solicitation’ ‘neighbour-solicitation’ ‘router-advertisement’ ‘neighbour-advertisement’
firewall.@rule[5].limit=‘1000/sec’
firewall.@rule[5].family=‘ipv6’
firewall.@rule[5].target=‘accept’
firewall.@rule[6]=rule
firewall.@rule[6].name=‘allow-icmpv6-forward’
firewall.@rule[6].src=‘wan’
firewall.@rule[6].dest=‘
firewall.@rule[6].proto=‘icmp’
firewall.@rule[6].icmp_type=‘echo-request’ ‘echo-reply’ ‘destination-unreachable’ ‘packet-too-big’ ‘time-exceeded’ ‘bad-header’ ‘unknown-header-type’
firewall.@rule[6].limit=‘1000/sec’
firewall.@rule[6].family=‘ipv6’
firewall.@rule[6].target=‘accept’
firewall.@rule[7]=rule
firewall.@rule[7].name=‘allow-ipsec-esp’
firewall.@rule[7].src=‘wan’
firewall.@rule[7].dest=‘lan’
firewall.@rule[7].proto=‘esp’
firewall.@rule[7].target=‘accept’
firewall.@rule[8]=rule
firewall.@rule[8].name=‘allow-isakmp’
firewall.@rule[8].src=‘wan’
firewall.@rule[8].dest=‘lan’
firewall.@rule[8].dest_port=‘500’
firewall.@rule[8].proto=‘udp’
firewall.@rule[8].target=‘accept’
fstab.@global[0]=global
fstab.@global[0].anon_swap=‘0’
fstab.@global[0].anon_mount=‘0’
fstab.@global[0].auto_swap=‘1’
fstab.@global[0].auto_mount=‘1’
fstab.@global[0].delay_root=‘5’
fstab.@global[0].check_fs=‘0’
fstab.@mount[0]=mount
fstab.@mount[0].target=‘/overlay’
fstab.@mount[0].uuid=‘17ed73bc-0b86-4850-9aa2-8059021d60b3’
fstab.@mount[0].enabled=‘0’
fstab.@mount[1]=mount
fstab.@mount[1].target=‘/boot’
fstab.@mount[1].uuid=‘6695-9f3a’
fstab.@mount[1].enabled=‘0’
fstab.@mount[2]=mount
fstab.@mount[2].target=‘/rom’
fstab.@mount[2].uuid=‘e08cf311-095ab98b-95e32c61-8fa67c1e’
fstab.@mount[2].enabled=‘0’
luci.main=core
luci.main.lang=‘auto’
luci.main.mediaurlbase=‘/luci-static/argon’
luci.main.resourcebase=‘/luci-static/resources’
luci.main.ubuspath=‘/ubus/’
luci.flash_keep=extern
luci.flash_keep.uci=‘/etc/config/’
luci.flash_keep.dropbear=‘/etc/dropbear/’
luci.flash_keep.openvpn=‘/etc/openvpn/’
luci.flash_keep.passwd=‘/etc/passwd’
luci.flash_keep.opkg=‘/etc/opkg.conf’
luci.flash_keep.firewall=‘/etc/firewall.user’
luci.flash_keep.uploads=‘/lib/uci/upload/’
luci.languages=internal
luci.sauth=internal
luci.sauth.sessionpath=‘/tmp/luci-sessions’
luci.sauth.sessiontime=‘3600’
luci.ccache=internal
luci.ccache.enable=‘1’
luci.themes=internal
luci.themes.argon=‘/luci-static/argon’
luci.themes.bootstrap=‘/luci-static/bootstrap’
luci.themes.bootstrapdark=‘/luci-static/bootstrap-dark’
luci.themes.bootstraplight=‘/luci-static/bootstrap-light’
luci.apply=internal
luci.apply.rollback=‘90’
luci.apply.holdoff=‘4’
luci.apply.timeout=‘5’
luci.apply.display=‘1.5’
luci.diag=internal
luci.diag.dns=‘www.chirpstack.io
luci.diag.ping=‘www.chirpstack.io
luci.diag.route=‘www.chirpstack.io
luci.@command[0]=command
luci.@command[0].name=‘upgrade 2g4 concentrator firmware’
luci.@command[0].command=‘/opt/libloragw-2g4/upgrade_fw.sh’
luci.@command[1]=command
luci.@command[1].name=‘create chirpstack backup’
luci.@command[1].command=‘/opt/chirpstack/backup.sh’
luci.@command[2]=command
luci.@command[2].name=‘restore chirpstack backup’
luci.@command[2].command=‘/opt/chirpstack/restore.sh’
luci.@command[3]=command
luci.@command[3].name=‘upgrade sx1302/3 concentrator firmware’
luci.@command[3].command=‘/opt/libloragw-sx1302/upgrade_fw.sh’
mosquitto.owrt=owrt
mosquitto.owrt.use_uci=‘0’
mosquitto.mosquitto=mosquitto
mosquitto.persistence=persistence
network.loopback=interface
network.loopback.device=‘lo’
network.loopback.proto=‘static’
network.loopback.ipaddr=‘127.0.0.1’
network.loopback.netmask=‘255.0.0.0’
network.globals=globals
network.globals.ula_prefix=‘fdf0:f23a:ca43::/48’
network.@device[0]=device
network.@device[0].name=‘br-lan’
network.@device[0].type=‘bridge’
network.@device[0].ports=‘eth0’
network.lan=interface
network.lan.device=‘br-lan’
network.lan.proto=‘dhcp’
network.lan6=interface
network.lan6.device=‘br-lan’
network.lan6.proto=‘dhcpv6’
network.wwan=interface
network.wwan.proto=‘static’
network.wwan.ipaddr=‘192.168.0.1’
network.wwan.netmask=‘255.255.255.0’
nginx.global=main
nginx.global.uci_enable=‘true’
nginx._lan=server
nginx._lan.listen=‘443 ssl default_server’ ‘[::]:443 ssl default_server’
nginx._lan.server_name=‘_lan’
nginx._lan.include=‘restrict_locally’ ‘conf.d/*.locations’
nginx._lan.uci_manage_ssl=‘self-signed’
nginx._lan.ssl_certificate=‘/etc/nginx/conf.d/_lan.crt’
nginx._lan.ssl_certificate_key=‘/etc/nginx/conf.d/_lan.key’
nginx._lan.ssl_session_cache=‘shared:ssl:32k’
nginx._lan.ssl_session_timeout=‘64m’
nginx._lan.access_log=‘off; # logd openwrt’
nginx._redirect2ssl=server
nginx._redirect2ssl.listen=‘80’ ‘[::]:80’
nginx._redirect2ssl.server_name=‘_redirect2ssl’
nginx._redirect2ssl.return=‘302 https://$host$request_uri’
openvpn.custom_config=openvpn
openvpn.custom_config.enabled=‘0’
openvpn.custom_config.config=‘/etc/openvpn/my-vpn.conf’
openvpn.sample_server=openvpn
openvpn.sample_server.enabled=‘0’
openvpn.sample_server.port=‘1194’
openvpn.sample_server.proto=‘udp’
openvpn.sample_server.dev=‘tun’
openvpn.sample_server.ca=‘/etc/openvpn/ca.crt’
openvpn.sample_server.cert=‘/etc/openvpn/server.crt’
openvpn.sample_server.key=‘/etc/openvpn/server.key’
openvpn.sample_server.dh=‘/etc/openvpn/dh2048.pem’
openvpn.sample_server.server=‘10.8.0.0 255.255.255.0’
openvpn.sample_server.ifconfig_pool_persist=‘/tmp/ipp.txt’
openvpn.sample_server.keepalive=‘10 120’
openvpn.sample_server.persist_key=‘1’
openvpn.sample_server.persist_tun=‘1’
openvpn.sample_server.user=‘nobody’
openvpn.sample_server.status=‘/tmp/openvpn-status.log’
openvpn.sample_server.verb=‘3’
openvpn.sample_client=openvpn
openvpn.sample_client.enabled=‘0’
openvpn.sample_client.client=‘1’
openvpn.sample_client.dev=‘tun’
openvpn.sample_client.proto=‘udp’
openvpn.sample_client.remote=‘my_server_1 1194’
openvpn.sample_client.resolv_retry=‘infinite’
openvpn.sample_client.nobind=‘1’
openvpn.sample_client.persist_key=‘1’
openvpn.sample_client.persist_tun=‘1’
openvpn.sample_client.user=‘nobody’
openvpn.sample_client.ca=‘/etc/openvpn/ca.crt’
openvpn.sample_client.cert=‘/etc/openvpn/client.crt’
openvpn.sample_client.key=‘/etc/openvpn/client.key’
openvpn.sample_client.verb=‘3’
postgresql.config=postgresql
postgresql.config.pgdata=‘/srv/postgresql/15.1/data’
rpcd.@rpcd[0]=rpcd
rpcd.@rpcd[0].socket=‘/var/run/ubus/ubus.sock’
rpcd.@rpcd[0].timeout=‘30’
rpcd.@login[0]=login
rpcd.@login[0].username=‘root’
rpcd.@login[0].password=‘$p$root’
rpcd.@login[0].read='

rpcd.@login[0].write=‘*’
system.@system[0]=system
system.@system[0].hostname=‘chirpstack-62017f’
system.@system[0].timezone=‘utc’
system.@system[0].ttylogin=‘0’
system.@system[0].log_size=‘64’
system.@system[0].urandom_seed=‘0’
system.ntp=timeserver
system.ntp.enabled=‘1’
system.ntp.enable_server=‘0’
system.ntp.server=‘0.openwrt.pool.ntp.org’ ‘1.openwrt.pool.ntp.org’ ‘2.openwrt.pool.ntp.org’ ‘3.openwrt.pool.ntp.org
ucitrack.@network[0]=network
ucitrack.@network[0].init=‘network’
ucitrack.@network[0].affects=‘dhcp’
ucitrack.@wireless[0]=wireless
ucitrack.@wireless[0].affects=‘network’
ucitrack.@firewall[0]=firewall
ucitrack.@firewall[0].init=‘firewall’
ucitrack.@firewall[0].affects=‘luci-splash’ ‘qos’ ‘miniupnpd’
ucitrack.@olsr[0]=olsr
ucitrack.@olsr[0].init=‘olsrd’
ucitrack.@dhcp[0]=dhcp
ucitrack.@dhcp[0].init=‘dnsmasq’
ucitrack.@dhcp[0].affects=‘odhcpd’
ucitrack.@odhcpd[0]=odhcpd
ucitrack.@odhcpd[0].init=‘odhcpd’
ucitrack.@dropbear[0]=dropbear
ucitrack.@dropbear[0].init=‘dropbear’
ucitrack.@httpd[0]=httpd
ucitrack.@httpd[0].init=‘httpd’
ucitrack.@fstab[0]=fstab
ucitrack.@fstab[0].exec=‘/sbin/block mount’
ucitrack.@qos[0]=qos
ucitrack.@qos[0].init=‘qos’
ucitrack.@system[0]=system
ucitrack.@system[0].init=‘led’
ucitrack.@system[0].exec=‘/etc/init.d/log reload’
ucitrack.@system[0].affects=‘luci_statistics’ ‘dhcp’
ucitrack.@luci_splash[0]=luci_splash
ucitrack.@luci_splash[0].init=‘luci_splash’
ucitrack.@upnpd[0]=upnpd
ucitrack.@upnpd[0].init=‘miniupnpd’
ucitrack.@ntpclient[0]=ntpclient
ucitrack.@ntpclient[0].init=‘ntpclient’
ucitrack.@samba[0]=samba
ucitrack.@samba[0].init=‘samba’
ucitrack.@tinyproxy[0]=tinyproxy
ucitrack.@tinyproxy[0].init=‘tinyproxy’
wireless.radio0=wifi-device
wireless.radio0.type=‘mac80211’
wireless.radio0.path=‘platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1’
wireless.radio0.channel=‘36’
wireless.radio0.band=‘5g’
wireless.radio0.htmode=‘vht80’
wireless.default_radio0=wifi-iface
wireless.default_radio0.device=‘radio0’
wireless.default_radio0.network=‘wwan’
wireless.default_radio0.mode=‘ap’
wireless.default_radio0.ssid=‘chirpstackap-62017f’
wireless.default_radio0.encryption=‘psk2’
wireless.default_radio0.key=‘chirpstackap’
root@chirpstack-62017f:~#


**Testing mqtt**

root@chirpstack-62017f:~# mosquitto_sub -h localhost -t ‘#’
hello mqtt

*Successful output in subscriber* 

**System Logs**

tue aug 27 19:53:23 2024 daemon.err uwsgi[1258]: tue aug 27 19:53:23 2024 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini is now loyal
tue aug 27 19:53:39 2024 user.info chirpstack-concentratord-sx1302[2327]: publishing stats event rx_received: 0 rx_received_ok: 0 tx_received: 0 tx_emitted: 0
tue aug 27 19:54:09 2024 user.info chirpstack-concentratord-sx1302[2327]: publishing stats event rx_received: 0 rx_received_ok: 0 tx_received: 0 tx_emitted: 0
tue aug 27 19:54:10 2024 user.info chirpstack-gateway-mesh[2799]: sending heartbeat packet downlink_id: 507715041 mesh_packet: [heartbeat hop_count: 1 timestamp: systemtime { tv_sec: 1724788450 tv_nsec: 471238460 } relay_id: ff167924]
tue aug 27 19:54:10 2024 user.info chirpstack-gateway-mesh[2799]: sending mesh frame - [downlink_id: 507715041 - [freq: 902500000 power: 21 mod: [lora - sf: 10 bw: 125000] timing: [immediately]]]
tue aug 27 19:54:10 2024 user.err chirpstack-concentratord-sx1302[2327]: frequency is not within min/max gateway frequency downlink_id: 507715041 min_freq: 923000000 max_freq: 928000000
tue aug 27 19:54:10 2024 user.err chirpstack-gateway-mesh[2799]: report heartbeat error error: tx ack error: tx_freq
tue aug 27 19:54:39 2024 user.info chirpstack-concentratord-sx1302[2327]: publishing stats event rx_received: 0 rx_received_ok: 0 tx_received: 1 tx_emitted: 0
tue aug 27 19:55:09 2024 user.info chirpstack-concentratord-sx1302[2327]: publishing stats event rx_received: 0 rx_received_ok: 0 tx_received: 0 tx_emitted: 0
tue aug 27 19:55:39 2024 user.info chirpstack-concentratord-sx1302[2327]: publishing stats event rx_received: 0 rx_received_ok: 0 tx_received: 0 tx_emitted: 0
tue aug 27 19:56:09 2024 user.info chirpstack-concentratord-sx1302[2327]: publishing stats event rx_received: 0 rx_received_ok: 0 tx_received: 0 tx_emitted: 0
tue aug 27 19:56:17 2024 daemon.err uwsgi[1258]: *** has_emperor mode detected (fd: 8) ***
tue aug 27 19:56:17 2024 daemon.err uwsgi[1258]: [uwsgi] getting ini configuration from /etc/uwsgi/vassals/luci-cgi_io.ini
tue aug 27 19:56:17 2024 daemon.err uwsgi[1258]: tue aug 27 19:56:17 2024 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini has been spawned
tue aug 27 19:56:17 2024 daemon.err uwsgi[1258]: tue aug 27 19:56:17 2024 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini is ready to accept requests
tue aug 27 19:56:17 2024 daemon.err uwsgi[1258]: tue aug 27 19:56:17 2024 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini is now loyal

I do not believe this is relevant but the Waveshare hat is a " Waveshare SX1303 915M LoRaWAN Gateway HAT" and not a sx1302

Update: I believe the update that was done several days ago fixed what the issue was. I started back form scratch and the only additional thing I did that was not in the instructions was to configure the “Mesh” settings in the mqqt Forwarder. Although I did not have the Gatway Mesh enabled I did configure it and save the configuration. Yet it was not enabled . Now I just need to figure out how to get the Pi 5 with the Elecrow LR1302 hat to be a relay and also allow traffic between the central unit and it .

Hay LaserGrunt, I use sx1302 from seeedStudio and also tried waveshare seeedStudio hat. All with pi 4. However, are you able to see the Relay Gateway shown at the border Gateway?

No I am still trying to figure that part out. I am not sure as to how to join the relay gateways to the Chirpstack server. I think that I need to create a .py script just like you do to make the waceshare hat a normal relay. At this point I would be willing to buy something different to use as the relay gateways but I am not sure what would be plus and play with the Raspberry Pi 5s.

It seems to be a issue with the logic of the mesh in US915 vs EU868:

Also glancing at your logs you seem to be working in US915 but then I see:

chirpstack-concentratord.@sx1301[0].region=‘eu868’
chirpstack-concentratord.@sx1301[0].channel_plan=‘eu868’

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.