ttn-zh / ic880a-gateway

Reference setup for iC880a gateways running The Things Network
GNU General Public License v3.0
456 stars 210 forks source link

Connecting to The Things Stack #70

Closed Makhaos closed 4 years ago

Makhaos commented 4 years ago

Hi, I have used your solution in TTN and it worked perfectly:) But have you tried to connect the gateway by hosting a private server with The Things Stack? https://thethingsstack.io/v3.8.7/

I haven't been able to connect it. Using the frequency plan Europe 863-870 Mhz

Makhaos commented 4 years ago

I'm not using the remote configuration option. I changed the install.sh file to correspond with my server instead of router.eu.thethings.network

echo -e "{\n\t\"gateway_conf\": {\n\t\t\"gateway_ID\": \"$GATEWAY_EUI\",\n\t\t\"servers\": [ { \"server_address\": \"my.private.server\", \"serv_port_up\": 1700, \"serv_port_down\": 1700, \"serv_enabled\": true } ],\n\t\t\"ref_latitude\": $GATEWAY_LAT,\n\t\t\"ref_longitude\": $GATEWAY_LON,\n\t\t\"ref_altitude\": $GATEWAY_ALT,\n\t\t\"contact_email\": \"$GATEWAY_EMAIL\",\n\t\t\"description\": \"$GATEWAY_NAME\" \n\t}\n}" >$LOCAL_CONFIG_FILE

Maybe there's something else I'm missing?

Makhaos commented 4 years ago

It worked properly by adding the server url and the ports to 1700. The problem was in my The Things Stack setup. Closing the issue