Did a search “find global_conf.json” but that did not find anything. If I just use “find” then I get a file structure, so I will go through some of the directories manually today and see if I can find it.
I have actually selected “y”, and created the following remote config:
I have tried to test again today with the same test node, but today I could not get any packets coming in on the new full channel gateway - only on the single channel gateway.
I also searched for the “global_conf.json” using the command @hobo supplied and found the following instances:
/opt/ttn-gateway/lora_gateway/util_pkt_logger/global_conf.json
/opt/ttn-gateway/packet_forwarder/poly_pkt_fwd/global_conf.json
/opt/ttn-gateway/packet_forwarder/basic_pkt_fwd/global_conf.json
/opt/ttn-gateway/packet_forwarder/gps_pkt_fwd/global_conf.json
/opt/ttn-gateway/packet_forwarder/beacon_pkt_fwd/global_conf.json
The only file I could access was this one:
/opt/ttn-gateway/lora_gateway/util_pkt_logger/global_conf.json
And yes, it had no 916 frequencies included in it. I updated the file to match this one:
But unfortunately it did not change anything.
So, now I have decided to redo the whole config. Busy with a new 16 GB SD card, formatted it and I am currently busy doing it all over again - but with one change, this time I will answer “no” when the question comes about the Remote Config because I could not remember specifying the AUS band at any point in time when I did it the first time around. I am not sure where that question should have come up?
Will update once I have new information.
Thanks for all the ideas and support - much appreciated!
I did the whole config over, but without the remote config (although that was not the problem).
After the install, I updated the /opt/ttn-gateway/bin/global_conf.json with the information found here https://github.com/TheThingsNetwork/gateway-conf/blob/master/AU-global_conf.json as it was still on 868 frequencies. And now I am happy to report that after the changes, the Gateway is working on the correct AUS/NZ frequencies. I will go back to my remote configuration as well and update it all in a similar fashion to make sure it all works that way as well.
As for my test node - need to look into it a bit more because there are definitely some dodgy activity as it is not just transmitting on the single frequency I thought I locked it on.
I have the same issue as above, I try changing to the 915 band in the gobal_conf.json file, but I am unable to save my changes as the file is locked. I’ve tried chmod 777 global_conf.json, but that doesn’t work either.
any ideas?
That’s too vague. Why are you executing the command you quoted? (Or: what command are you really running?) What’s the exact error? Did the chmod 777 itself fail or succeed?
If access is denied, then you might need to prefix the command with sudo, to execute it as root.
(As an aside: don’t use chmod 777; it’s making the file executable by everyone. Bad habit, even more so for a file that is meant as a configuration file, not an executable file, so would need 666 at worst.)
Hello,
please i am currently trying to build and 8 channel gateway with RAK 831 and raspberry pi3. I have setup the gateway and done the necessary steps as i observed above for 915MHz because in am in Canada. First the gateway came up and presume worked fine but i did not receive data from my nodes although it showed connected on the things network. after a while, the gateway was no longer seen as connected on the things network and i do not see any data coming in on the Log. what do i do from here.
Note: i am in Canada and am using the 915Mhz.
I am currently working on a paper where i need to apply this. your help will be sincerely appreciated
I see one CRC_FAIL 100% message in your output. If the node is too close to the gateway (<3 meters), communication can be difficult.
Regarding the gateway no more online, is very difficult to tell something with no information. Is it on, is it connected to the Internet, etc. Try to restart it also.
so sorry boss for the late reply, i will try to move the node away from the gateway. and see if i can log on the pi screen. but how can i make the node frequencies to match those of my gateway?. because am building a voltage sensor and i want each sensor to work on a fixed frequency that corresponds to the various channels of the gateway.
please sir explain more. i have been on this now, my latest discovery is that my gateway recieves pakects on 867.7. while it has a paste that its a 915MHz. what do i do in this case
That’s not how LoRaWan works. Channels are dynamically and randomly chosen. End devices are distinguished by packet header, not by frequency.
i have been on this now, my latest discovery is that my gateway recieves pakects on 867.7. while it has a paste that its a 915MHz. what do i do in this case
The label would show the frequency for which the RF networks in the gateway were designed. The actual operating frequency is determined by the configuration files you use, you need to switch to the correct configuration files for your location. Hopefully those use a frequency matching that which your gateway was designed for, as trying to operate one on a frequency that the RF networks do not match will at best lead to poor range.