Multitech Conduit AP


(Jelly2188) #61

Hi, what frequency and router do you have your gateway set to in the TTN console?


(Evja) #62

Hi, on TTN I have Frequency Plan Europe 868MHz and Router ttn-router-eu.

My gateway is set up for Europe frequencies as well, I am able to connecto to the internet thru the Modem (PPP protocol) but no the the TTN routers. I do not know why because there is no info about it.

Thx.


(Jelly2188) #63

Got it. Were you able to run the installer.sh?


(Evja) #64

Yes as I mentioned I ran the installer everything goes well no errors, but doens’t connect.


(Jelly2188) #65

What directory is your installer.sh residing in?


(Evja) #66

in my root do I need to save in a specific folder?


(Jac Kersing) #67

Use the multitech instructions to connect the gateway to the internet, once that works use the TTN instructions to install/setup the packet forwarder.


(Jac Kersing) #68

what does the packet forwarder log say?


(Evja) #69

hi @kersing as said before I just followed the guide as described on TTN and everything goes fine but when the packet forwarder try to connect it says impossible to connect to ‘ttn-router-eu’.


(Jac Kersing) #70

Would it hurt to actually copy and paste a few lines of the log? I’m trying to help and appen to know a thing or two about the software. Seeing the exact message could help debugging the issue…


(Evja) #71

hi @kersing ok tomorrow I will post the log. Thx for your help.


(Jelly2188) #72

In using the Multitech instructions, I keep getting “daemon.notice pppd[2167]: Device modem_at0 is locked by pod 2111
Exit
Alarm
Failed
Connect script failed
Exit”
I’ve been trying to find similar errors online and have no been able to figure out what the problem is.


(Evja) #73

hello @kersing this is the log after killing and starting the process mp_pkt_fwd

23:52:42  *** Multi Protocol Packet Forwarder for Lora Gateway ***
Version: 3.0.20
23:52:42  *** Lora concentrator HAL library version info ***
Version: 5.0.1; Options: ftdi;
***
23:52:43  INFO: Little endian host
23:52:43  INFO: found global configuration file /var/config/lora/global_conf.json, parsing it
23:52:43  INFO: /var/config/lora/global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
23:52:43  INFO: lorawan_public 1, clksrc 0
lgw_board_setconf:437: Note: board configuration; lorawan_public:1, clksrc:0
23:52:43  INFO: no configuration for LBT
23:52:43  INFO: antenna_gain 0 dBi
23:52:43  INFO: Configuring TX LUT with 16 indexes
23:52:43  INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1
lgw_rxrf_setconf:486: WARNING: NOT A VALID TX NOTCH FILTER FREQUENCY [126000..250000]Hz
lgw_rxrf_setconf:498: Note: rf_chain 0 configuration; en:1 freq:867500000 rssi_offset:-166.000000 radio_type:2 tx_enable:1 tx_notch_freq:0
23:52:43  INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0
lgw_rxrf_setconf:498: Note: rf_chain 1 configuration; en:1 freq:868500000 rssi_offset:-166.000000 radio_type:2 tx_enable:0 tx_notch_freq:0
23:52:43  INFO: Lora multi-SF channel 0>  radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa 'multi' if_chain 0 configuration; en:1 freq:-400000 SF_mask:0x7e
23:52:43  INFO: Lora multi-SF channel 1>  radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa 'multi' if_chain 1 configuration; en:1 freq:-200000 SF_mask:0x7e
23:52:43  INFO: Lora multi-SF channel 2>  radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa 'multi' if_chain 2 configuration; en:1 freq:0 SF_mask:0x7e
23:52:43  INFO: Lora multi-SF channel 3>  radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa 'multi' if_chain 3 configuration; en:1 freq:-400000 SF_mask:0x7e
23:52:43  INFO: Lora multi-SF channel 4>  radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa 'multi' if_chain 4 configuration; en:1 freq:-200000 SF_mask:0x7e
23:52:43  INFO: Lora multi-SF channel 5>  radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa 'multi' if_chain 5 configuration; en:1 freq:0 SF_mask:0x7e
23:52:43  INFO: Lora multi-SF channel 6>  radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa 'multi' if_chain 6 configuration; en:1 freq:200000 SF_mask:0x7e
23:52:43  INFO: Lora multi-SF channel 7>  radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa 'multi' if_chain 7 configuration; en:1 freq:400000 SF_mask:0x7e
23:52:43  INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7
lgw_rxif_setconf:591: Note: LoRa 'std' if_chain 8 configuration; en:1 freq:-200000 bw:2 dr:2
23:52:43  INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
lgw_rxif_setconf:647: Note: FSK if_chain 9 configuration; en:1 freq:300000 bw:3 dr:50000 (50000 real dr) sync:0xC194C1
23:52:43  INFO: /var/config/lora/global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
23:52:43  INFO: Found 1 servers in array.
23:52:43  INFO: Server 0 configured to "router.eu.thethings.network"
23:52:43  INFO: packets received with a valid CRC will be forwarded
23:52:43  INFO: packets received with a CRC error will NOT be forwarded
23:52:43  INFO: packets received with no CRC will NOT be forwarded
23:52:43  INFO: GPS is disabled
23:52:43  INFO: Upstream data is enabled
23:52:43  INFO: Downstream data is enabled
23:52:43  INFO: Ghoststream data is disabled
23:52:43  INFO: Radiostream data is enabled
23:52:43  INFO: Statusstream data is enabled
23:52:43  INFO: Beacon is disabled
23:52:43  INFO: Packet logger is disabled
23:52:43  INFO: Flush output after statistic is disabled
23:52:43  INFO: Flush after each line of output is disabled
23:52:43  INFO: Watchdog is disabled
23:52:43  INFO: found local configuration file /var/config/lora/local_conf.json, parsing it
23:52:43  INFO: redefined parameters will overwrite global parameters
23:52:43  INFO: /var/config/lora/local_conf.json does not contain a JSON object named SX1301_conf
23:52:43  INFO: /var/config/lora/local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
23:52:43  INFO: gateway MAC address is configured to 008000000000B8A9
23:52:43  INFO: Found 1 servers in array.
23:52:43  INFO: Server 0 configured to "bridge.eu.thethings.network"
23:52:43  INFO: packets received with a valid CRC will be forwarded
23:52:43  INFO: packets received with a CRC error will NOT be forwarded
23:52:43  INFO: packets received with no CRC will NOT be forwarded
23:52:43  INFO: GPS is disabled
23:52:43  INFO: Upstream data is enabled
23:52:43  INFO: Downstream data is enabled
23:52:43  INFO: Ghoststream data is disabled
23:52:43  INFO: Radiostream data is enabled
23:52:43  INFO: Statusstream data is enabled
23:52:43  INFO: Beacon is disabled
23:52:43  INFO: Packet logger is disabled
23:52:43  INFO: Flush output after statistic is disabled
23:52:43  INFO: Flush after each line of output is disabled
23:52:43  INFO: Watchdog is disabled
23:52:43  INFO: Contact email configured to "admin@evja.eu"
23:52:43  INFO: Description configured to "test gateway"
23:52:43  INFO: [Transports] Initializing protocol for 1 servers
23:53:04  ERROR: [TTN] Connection to server "bridge.eu.thethings.network" failed, retry in 30 seconds

(Jac Kersing) #74

This is not related to the packet forwarder. There seems to be something wrong with the 3G/LTE configuration. The forum at multitech.net might provide some help.


(Jac Kersing) #75

Ok, could you try (run on the gateway):
nc -v bridge.eu.thethings.network 1883
This should report
bridge.eu.thethings.network [52.169.76.203] 1883 open
(Abort with Control C)


(Evja) #77

hi @kersing ok i will try to use a landline internet connection either over Ethernet or over WiFi instead of the 3G/LTE and let you know how it goes. Thx for the support.


(Evja) #78

Hello @kersing and All,

First of all I hope that you guys are enjoying the XMas time and holidays.

It seems that our Mobile provider doesn’t allow ICMP on their network and they also do not allow Public IP so the only way to reach the Gateway is thur a VPN.

Is still possible to use the TTN service/network? In which way?

Thx.


(Jac Kersing) #79

The gateway only needs to ‘talk’ to the outside world using TCP if you use the ttn protocol or using udp if you use the Semtech protocol. No need for icmp or inbound connections (except if you want ssh for management)

You can ask them if they allow tcp port 1883/mqtt outbound, if not check if port 1700 outbound and return traffic is allowed.


(Evja) #80

OK i will ask them, in the meantime i will use my internet provider because we need to test other LoRa devices with that gateway.