Pointing IP addres and port of gateway (1700)
Opened this issue · 2 comments
Hello Brocaar,
I have a kerlink LoRa gateway and I'm some week fighting against these issues.
- The IP address to point is my real machine IP or the virtual machine (IP "10.0.2.15")?
- On "host_vars/vagrant.yml" file, I need to replace where "0.0.0.0/0" according IP above?
- On gateway I have an file at "mnt/fsuser-1/" called "loraboard_conf.json". I modified this file, point to IP address and ports, following bellow:
...
"gateway_conf": {
"gateway_ID": "0000024b080801db",
"server_address": "10.193.101.12",
"serv_port_up": 1700,
"serv_port_down": 1700
}
When I reboot the gateway to update files they disappear. May be In a volatile space on memory?
Is that the correct way ? I need to reboot my gateway? There is an Brocaar "packet_foward" to update to the server?
Sorry for the so many questions, but I'm stuck in these stuff so may time. :/
Hope you can help me
Best Regards
Rogerio
-
You need to point your gateway to the IP of your machine (thus the host system, not the VM). Vagrant will configure the port-forwarding for you (host <> guest).
-
No need to change that,
0.0.0.0/0
means whitelist all IPs -
Try using a
local_conf.json
. I remember from the Kerlink that theloraboard_conf.json
is overwritten ever boot.
Hi Brocaar!
Thanks for the hints!
Thehe was a problem also when I'm tryng to see what is happen on lora gatewaay bridge.
When I type the command to get status our to get lora bridge log output, it cant read after "connected to mqtt broker" like picture bellow:
I've had all steps and i know there something getting out of port 1700 of the gateway like picture and command bellow:
So the problem I am having is to communicate the pc with gateway. and show on gateway bridge log output. It stops in that line "connected to mqtt broker"
Best Regards
Rogerio