Kerlink IFemtoCell: Gateway Bridge


#1

I have set up a Loraserver, but can’t get my gateway to work with it. I get stuck at installing the LoRa Gateway Bridge on the kerlink gateway IFemtoCell. Every time I run this following line on the terminal: “mkdir -p /mnt/fsuser-1/lora-gateway-bridge/bin”, when having a SSH connection established to the gateway, I receive this fault in the terminal: “mkdir: can’t create directory ‘/mnt/’: Read-only file system”

Anyone who has the solution for this? I’ve set the gateway up on the App Server UI, and only need to figure this out to make it work (hopefully).


#2

To directly address your issue you would need to find a way to alter a filesystem on the gateway.

But an alternative is to run the lora-gateway-bridge on some other computer (such as the one hosting LoRaServer) and use a legacy protocol between the gateway and the bridge, meaning that the only thing you need to change on the gateway would hopefully be the address of the server it should interact with (you would put in the address and port of the lora-gateway-bridge instance)


#3

Have you seen: https://www.loraserver.io/lora-gateway-bridge/gateway/kerlink/#kerlink-ifemtocell?


#4

Hello. Main file system in IFemtoCell is read only.
Install all packages in /user directory.


#5

Yes, thanks. For some reason I had the link wrong, and therefore it didn’t work.

The gateway bridge is installed and now I have status: running.

I got stuck in this section though: “Edit the LoRa Gateway Bridge configuration”. The descriptions says you should connect the LoRa Gateway Bridge with your MQTT broker. I’m not completely sure where in the configuration file i should change. Is it at the MQTT server? Do i have to insert the ip-address of my server? Thanks for your time, and sorry if my question is stupid :-).


#7

Alright, thanks. For some reason the gateway wont connect on the web-interface.

On server I receive this message when running “sudo systemctl status lora-gateway-bridge”:

The server_address on the packet forwarder (gateway) is “127.0.0.1” while port_up and port_down is 1700. Status is Running, when using following command on the gateway: “monit status lora-gateway-bridge”.

Can’t figure out why it doesn’t work. When running: “journalctl -u lora-gateway-bridge -f -n 50” I receive this message: “You are currently not seeing messages from other users and the system.”


#8

Sorry, I mixed up in my mind what you were asking about when writing the previous reply. The server line in the .toml file needs to be the protocol, port, and address of your MQTT broker.

Since you are running the gateway bridge on the gateway, the MQTT broker is presumably running on a (cloud?) server somewhere, ie a different machine.

You need its routable IP address. If it’s not on an internal subnet it would be best to use MQTT-over-SSL rather than plain MQTT.


#9

Ahh, got a bit confused there (still is). Alright, so the gateway-bridge is on the gateway, while the MQTT broker is on our server (cloud). So the server line in the .toml file needs to be the ip-address of our server then, right? So as a precaution, if I access the web-interface by: “http:/xxx.com:8080/” , I shall change the line on .toml to : server=“tcp://xxx.com:8080”, or?


#10

Your MQTT broker won’t be running on the same port as your web server, port 1883 is traditional for unsecured and 8883 for MQTT-over-SSL. Likely you want either

server=“tcp://some.numeric.ip.address:1883”

for at most initial testing only, but for deployment really

server=“ssl://some.valid.host.name:8883”

And of course that host needs an SSL cert.


#11

That makes sense!

server=“tcp://some.numeric.ip.address:1883”

The numeric address is that the ip address of the server which the MQTT broker has been installed in?

Sorry, I’m asking all these (maybe obvious) questions, but I really want it to work!

Also the plan is to secure it, but first I want it to work