Différences entre versions de « GW Kerlink »
Sauter à la navigation
Sauter à la recherche
Ligne 7 : | Ligne 7 : | ||
*/mnt/fsuser-1/ttn | */mnt/fsuser-1/ttn | ||
contient les fichiers de config | contient les fichiers de config | ||
+ | suivre les instructions de | ||
+ | https://github.com/TheThingsNetwork/packet_forwarder/blob/master/docs/INSTALL_INSTRUCTIONS/KERLINK.md | ||
+ | |||
+ | scp * root@192.168.0.17:/mnt/fsuser-1/ttn-packet-forwarder | ||
+ | puis sur la GW elle même : | ||
+ | ./create-package.sh packet-forwarder | ||
+ | GW id : eui-0000000000024b08 | ||
+ | GW Key : A récupérer sur TTN ... | ||
+ | |||
+ | -> KO | ||
+ | |||
+ | INFO Got build information BuildDate=2017-06-07T07:5631Z Commit=b64203b985c02a82ab4f3cb41d907be85fcb04e6 Version= | ||
+ | [root@Wirnet_290000bb ttn-packet-forwarder]# ./packet-forwarder start | ||
+ | INFO Packet Forwarder for LoRa Gateway HALVersionInfo=Version: 4.0.0; Options: native; | ||
+ | ERROR Failed to find gateway specified as gateway ID AuthServer=https://account.thethingsnetwork.org GatewayID=eui-0000000000024b08 error=Get https://account.thethingsnetwork.org/api/v2/gateways/eui-0000000000024b08: dial tcp 104.40.216.89:443: getsockopt: connection timed out | ||
+ | FATAL Couldn't read configuration error=Get https://account.thethingsnetwork.org/api/v2/gateways/eui-0000000000024b08: dial tcp 104.40.216.89:443: getsockopt: connection timed out | ||
cat global_conf.json : | cat global_conf.json : |
Version du 7 janvier 2018 à 22:26
- Prendre un PC fablab, se connecter en filaire
- nmap -p 33 192.168.128.*
- ssh root@192.168.128.56
- pwd root ou pdmk-290000bb
- /mnt/fsuser-1/ttn
contient les fichiers de config suivre les instructions de https://github.com/TheThingsNetwork/packet_forwarder/blob/master/docs/INSTALL_INSTRUCTIONS/KERLINK.md
scp * root@192.168.0.17:/mnt/fsuser-1/ttn-packet-forwarder puis sur la GW elle même : ./create-package.sh packet-forwarder GW id : eui-0000000000024b08 GW Key : A récupérer sur TTN ...
-> KO
INFO Got build information BuildDate=2017-06-07T07:5631Z Commit=b64203b985c02a82ab4f3cb41d907be85fcb04e6 Version=
[root@Wirnet_290000bb ttn-packet-forwarder]# ./packet-forwarder start
INFO Packet Forwarder for LoRa Gateway HALVersionInfo=Version: 4.0.0; Options: native; ERROR Failed to find gateway specified as gateway ID AuthServer=https://account.thethingsnetwork.org GatewayID=eui-0000000000024b08 error=Get https://account.thethingsnetwork.org/api/v2/gateways/eui-0000000000024b08: dial tcp 104.40.216.89:443: getsockopt: connection timed out FATAL Couldn't read configuration error=Get https://account.thethingsnetwork.org/api/v2/gateways/eui-0000000000024b08: dial tcp 104.40.216.89:443: getsockopt: connection timed out
cat global_conf.json :
{
"SX1301_conf": {
"lorawan_public": true,
"clksrc": 1, /* radio_1 provides clock to concentrator */
"radio_0": {
"enable": true,
"type": "SX1257",
"freq": 867500000,
"rssi_offset": -166.0,
"tx_enable": true
},
"radio_1": {
"enable": true,
"type": "SX1257",
"freq": 868500000,
"rssi_offset": -166.0,
"tx_enable": false
},
"chan_multiSF_0": {
/* Lora MAC channel, 125kHz, all SF, 868.1 MHz */
"enable": true,
"radio": 1,
"if": -400000
},
"chan_multiSF_1": {
/* Lora MAC channel, 125kHz, all SF, 868.3 MHz */
"enable": true,
"radio": 1,
"if": -200000
},
"chan_multiSF_2": {
/* Lora MAC channel, 125kHz, all SF, 868.5 MHz */
"enable": true,
"radio": 1,
"if": 0
},
"chan_multiSF_3": {
/* Lora MAC channel, 125kHz, all SF, 867.1 MHz */
"enable": true,
"radio": 0,
"if": -400000
},
"chan_multiSF_4": {
/* Lora MAC channel, 125kHz, all SF, 867.3 MHz */
"enable": true,
"radio": 0,
"if": -200000
},
"chan_multiSF_5": {
/* Lora MAC channel, 125kHz, all SF, 867.5 MHz */
"enable": true,
"radio": 0,
"if": 0
},
"chan_multiSF_6": {
/* Lora MAC channel, 125kHz, all SF, 867.7 MHz */
"enable": true,
"radio": 0,
"if": 200000
},
"chan_multiSF_7": {
/* Lora MAC channel, 125kHz, all SF, 867.9 MHz */
"enable": true,
"radio": 0,
"if": 400000
},
"chan_Lora_std": {
/* Lora MAC channel, 250kHz, SF7, 868.3 MHz */
"enable": true,
"radio": 1,
"if": -200000,
"bandwidth": 250000,
"spread_factor": 7
},
"chan_FSK": {
/* FSK 50kbps channel, 868.8 MHz */
"enable": true,
"radio": 1,
"if": 300000,
"bandwidth": 125000,
"datarate": 50000
},
"tx_lut_0": {
/* TX gain table, index 0 */
"pa_gain": 0,
"mix_gain": 8,
"rf_power": -5,
"dig_gain": 0
},
"tx_lut_1": {
/* TX gain table, index 1 */
"pa_gain": 0,
"mix_gain": 11,
"rf_power": -1,
"dig_gain": 0
},
"tx_lut_2": {
/* TX gain table, index 2 */
"pa_gain": 0,
"mix_gain": 12,
"rf_power": 0,
"dig_gain": 0
},
"tx_lut_3": {
/* TX gain table, index 3 */
"pa_gain": 1,
"mix_gain": 9,
"rf_power": 7,
"dig_gain": 0
},
"tx_lut_4": {
/* TX gain table, index 4 */
"pa_gain": 1,
"mix_gain": 10,
"rf_power": 8,
"dig_gain": 0
},
"tx_lut_5": {
/* TX gain table, index 5 */
"pa_gain": 1,
"mix_gain": 12,
"rf_power": 11,
"dig_gain": 0
},
"tx_lut_6": {
/* TX gain table, index 6 */
"pa_gain": 1,
"mix_gain": 13,
"rf_power": 13,
"dig_gain": 0
},
"tx_lut_7": {
/* TX gain table, index 7 */
"pa_gain": 1,
"mix_gain": 14,
"rf_power": 14,
"dig_gain": 0
},
"tx_lut_8": {
/* TX gain table, index 8 */
"pa_gain": 2,
"mix_gain": 9,
"rf_power": 16,
"dig_gain": 0
},
"tx_lut_9": {
/* TX gain table, index 9 */
"pa_gain": 2,
"mix_gain": 11,
"rf_power": 19,
"dig_gain": 0
},
"tx_lut_10": {
/* TX gain table, index 10 */
"pa_gain": 3,
"mix_gain": 8,
"rf_power": 21,
"dig_gain": 0
},
"tx_lut_11": {
/* TX gain table, index 11 */
"pa_gain": 3,
"mix_gain": 8,
"rf_power": 23,
"dig_gain": 0
},
"tx_lut_12": {
/* TX gain table, index 12 */
"pa_gain": 3,
"mix_gain": 9,
"rf_power": 24,
"dig_gain": 0
},
"tx_lut_13": {
/* TX gain table, index 13 */
"pa_gain": 3,
"mix_gain": 10,
"rf_power": 26,
"dig_gain": 0
},
"tx_lut_14": {
/* TX gain table, index 14 */
"pa_gain": 3,
"mix_gain": 11,
"rf_power": 27,
"dig_gain": 0
},
"tx_lut_15": {
/* TX gain table, index 15 */
"pa_gain": 3,
"mix_gain": 12,
"rf_power": 28,
"dig_gain": 0
}
},
"gateway_conf": {
"gateway_ID": "AA555A0000000000",
/* change with default server address/ports, or overwrite in local_conf.json */
"server_address": "iot.semtech.com",
"serv_port_up": 1680,
"serv_port_down": 1680,
/* adjust the following parameters for your network */
"keepalive_interval": 10,
"stat_interval": 30,
"push_timeout_ms": 100,
/* forward only valid packets */
"forward_crc_valid": true,
"forward_crc_error": false,
"forward_crc_disabled": false,
/* GPS configuration */
"gps_tty_path": "/dev/nmea"
}
}
[root@Wirgrid_290000bb ttn]# cat local_conf.json {
"gateway_conf": { "gateway_ID": "0000024b08", "serv_port_up": 1700, "serv_port_down": 1700, "server_address": "router.eu.thethings.network", "forward_crc_valid": true, "forward_crc_error": false, "forward_crc_disabled": true, "gps": true }
}
https://www.thethingsnetwork.org/docs/gateways/kerlink/config.html