How to change lora-gateway-bridge configuration?

I have installed lora-gateway-bridge in my raspberry pi(from https://www.loraserver.io/lora-gateway-bridge/install/requirements/).
i could work only in my console through terminal in other system.
The thing is i need to change my working frequency from default
(# frequencies=[

868100000,

868300000,

868500000,

867100000,

867300000,

867500000,

867700000,

867900000,

])

to my new frequency.

i dont know which one to use --config or configfile…
And then even if i change where i could see my output from my node(in console itself or wherever possible)?

Please see https://www.loraserver.io/lora-gateway-bridge/install/config/ :slight_smile:

yeah i am getting a copy of config file of lora-gateway-bridge. with that copy i am changing my frequency am gonna use. Then i use
$lora-gateway-bridge -c lora-gateway-bridge-new.toml
INFO[0000] starting LoRa Gateway Bridge docs=“https://www.loraserver.io/lora-gateway-bridge/” version=3.3.0
INFO[0000] backend/semtechudp: starting gateway udp listener addr=“0.0.0.0:1700”
INFO[0000] integration/mqtt: connected to mqtt broker

After that i am not able to track where my packets goes from my node.
And thanks in advance for your help.

Why am asking like this because i tried packet-forwarder from here https://github.com/Lora-net/packet_forwarder and seen output of running ./util_pkt_logger in console. like that i want to verify where my packet goes out from lora-gateway-bridge

Finally found it.:smiley:

surfed in this page https://www.loraserver.io/guides/troubleshooting/gateway/

my global_conf.json had

“serv_port_down”: 1680,
“serv_port_up”: 1680,
“server_address”: “localhost”,

but what i needed was

“serv_port_down”: 1700,
“serv_port_up”: 1700,
“server_address”: “localhost”,

If i run ./lora_pkt_fwd now means my frames are acknowldged.

root@raspberrypi:/home/packet_forwarder/lora_pkt_fwd# ./lora_pkt_fwd
*** Beacon Packet Forwarder for Lora Gateway ***
Version: 4.0.1
*** Lora concentrator HAL library version info ***
Version: 5.0.1;


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 1
INFO: LBT is disabled
INFO: antenna_gain 0 dBi
INFO: Configuring TX LUT with 16 indexes
INFO: radio 0 enabled (type SX1257), center frequency 904300000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 0
INFO: radio 1 enabled (type SX1257), center frequency 905000000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
INFO: Lora multi-SF channel 0> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 1> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 2> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 3> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 4> radio 1, IF -300000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 5> radio 1, IF -100000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 6> radio 1, IF 100000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 7> radio 1, IF 300000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to AA555A0000000000
INFO: server hostname or IP address is configured to “localhost”
INFO: upstream port is configured to “1700”
INFO: downstream port is configured to “1700”
INFO: downstream keep-alive interval is configured to 10 seconds
INFO: statistics display interval is configured to 30 seconds
INFO: upstream PUSH_DATA time-out is configured to 100 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: found local configuration file local_conf.json, parsing it
INFO: redefined parameters will overwrite global parameters
INFO: local_conf.json does not contain a JSON object named SX1301_conf
INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to AA555A0000000101
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: [main] concentrator started, packet can now be received

INFO: Disabling GPS mode for concentrator’s counter…
INFO: host/sx1301 time offset=(1571740877s:920135µs) - drift=1890916231µs
INFO: Enabling GPS mode for concentrator’s counter.

INFO: [down] PULL_ACK received in 1 ms

INFO: Received pkt from mote: 01D9AAF5 (fcnt=327)

JSON up: {“rxpk”:[{“tmst”:4601764,“chan”:6,“rfch”:1,“freq”:905.100000,“stat”:1,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“lsnr”:12.5,“rssi”:-27,“size”:23,“data”:“QPWq2QGARwEIxhva6TFIwjdScBoNQIE=”}]}
INFO: [up] PUSH_ACK received in 1 ms
INFO: [down] PULL_ACK received in 0 ms

INFO: Received pkt from mote: 01D9AAF5 (fcnt=328)

JSON up: {“rxpk”:[{“tmst”:14634556,“chan”:5,“rfch”:1,“freq”:904.900000,“stat”:1,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“lsnr”:13.2,“rssi”:-30,“size”:23,“data”:“QPWq2QGASAEI1UIfRZj2ZgP/k9SEra4=”}]}
INFO: [up] PUSH_ACK received in 0 ms
INFO: [down] PULL_ACK received in 0 ms

INFO: Received pkt from mote: 01D9AAF5 (fcnt=329)

JSON up: {“rxpk”:[{“tmst”:24667212,“chan”:3,“rfch”:0,“freq”:904.500000,“stat”:1,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“lsnr”:11.2,“rssi”:-28,“size”:23,“data”:“QPWq2QGASQEI+r1dG5qXNmHGhM24O/E=”}]}
INFO: [up] PUSH_ACK received in 1 ms

2019-10-22 10:41:50 GMT

[UPSTREAM]

RF packets received by concentrator: 3

CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%

RF packets forwarded: 3 (69 bytes)

PUSH_DATA datagrams sent: 3 (617 bytes)

PUSH_DATA acknowledged: 100.00%

[DOWNSTREAM]

PULL_DATA sent: 3 (100.00% acknowledged)

PULL_RESP(onse) datagrams received: 0 (0 bytes)

RF packets sent to concentrator: 0 (0 bytes)

TX errors: 0

BEACON queued: 0

BEACON sent so far: 0

BEACON rejected: 0

[JIT]

SX1301 time (PPS): 2433364

src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty

[GPS]

GPS sync is disabled

END