P-nucleo-lrwan2 can't connect TTN server

HI

I bought P-NUCLEO-LRWAN2 evboard. then I downloaded st-nucleo-lora-gw-at-fw-v2.1.7-eu868-TTN .bin file with P-NUCLEO-LRWAN2 GATEWAY

I have static ip so I setup gateway IP and change LoRa Channel US915.

but I can’t connect TTN server with P-NUCLEO-LRWAN2 GATEWAY.

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Powered by RisingHF & STMicroelectronics

       VERSION: 2.1.7, Nov  6 2018
           LOG: ON
       AT ECHO: ON
      BAUDRATE: 115200bps
       MACADDR: 00:80:E1:01:50:C9
      ETHERNET: STATIC
            IP: ***.***.***.***
          MASK: ***.***.***.***
       GATEWAY: ***.***.***.***
          DNS1: ***.***.***.***
          DNS2: ***.***.***.***
    NTP SERVER: 1.ubuntu.pool.ntp.org
   EUI PADDING: {3, FF}, {4, FF}
    GATEWAY ID: 0080E1FFFF0150C9
       LORAWAN: Public
LORAWAN SERVER: router.eu.thethings.network
UPLINK UDP PORT: 1700
DOWNLINK UDP PORT: 1700
      CHANNEL0: 902300000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL1: 902500000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL2: 902700000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL3: 902900000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL4: 903100000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL5: 903300000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL6: 903500000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL7: 903700000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL8: 903000000, A, SF8, BW500KHz         (LORA_STANDARD)
      CHANNEL9: OFF                                 (FSK)

Concentrator starting…
Concentrator Radio A type SX1257
Concentrator Radio B type SX1257
Radio A, min:902150000, max:903250000
Radio B, min:902950000, max:903850000
Concentrator started (2926ms)
ST LoRa GW V2
Ethernet starting…
STATIC IP: 192.168.100.139
Ethernet started
ERROR: UNKNOWN SERVER router.eu.thethings.network
ERROR: UNKNOWN SERVER router.eu.thethings.network
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

and router.us.thethings.network is same error.

so I change server IP(52.169.76.203).

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Powered by RisingHF & STMicroelectronics

       VERSION: 2.1.7, Nov  6 2018
           LOG: ON
       AT ECHO: ON
      BAUDRATE: 115200bps
       MACADDR: 00:80:E1:01:50:C9
      ETHERNET: STATIC
            IP: ***.***.***.***
          MASK: ***.***.***.***
       GATEWAY: ***.***.***.***
          DNS1: ***.***.***.***
          DNS2: ***.***.***.***
    NTP SERVER: 1.ubuntu.pool.ntp.org
   EUI PADDING: {3, FF}, {4, FF}
    GATEWAY ID: 0080E1FFFF0150C9
       LORAWAN: Public
LORAWAN SERVER: 52.169.76.203
UPLINK UDP PORT: 1700
DOWNLINK UDP PORT: 1700
      CHANNEL0: 902300000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL1: 902500000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL2: 902700000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL3: 902900000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL4: 903100000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL5: 903300000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL6: 903500000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL7: 903700000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)
      CHANNEL8: 903000000, A, SF8, BW500KHz         (LORA_STANDARD)
      CHANNEL9: OFF                                 (FSK)

Concentrator starting…
Concentrator Radio A type SX1257
Concentrator Radio B type SX1257
Radio A, min:902150000, max:903250000
Radio B, min:902950000, max:903850000
Concentrator started (2926ms)
ST LoRa GW V2
Ethernet starting…
STATIC IP: 192.168.100.139
Ethernet started
Downlink UDP Connected
Uplink UDP Connected
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

but TTN console view gateway status is no connect
image

how do p-nucleo-lrwan2 gateway connect TTN server?

and inform router.eu.thethings.network ip address and router.us.thethings.network ip address.

thank you.

As mentioned in many existing threads, it’s likely to show that unless you have a node actually sending uplinks through the gateway.

When you do, you’ll presumably see them in the gateways debug log first.

You really should setup DNS though, your harcoded server IP won’t survive any changes to infrastructure which might be needed.

Hi @cslorabox

I setup DNS server.

I cleared DNS, IP, gateway at Logs above.

my DNS setting
DNS1 is 168.126.63.1 / DNS2 is 168.126.63.2

////////////////////////////////////////////////////////////////////////////////////////////////////////////
DNS1: 168.126.63.1

          DNS2: 168.129.63.2

    NTP SERVER: 1.ubuntu.pool.ntp.org

   EUI PADDING: {3, FF}, {4, FF}

    GATEWAY ID: 0080E1FFFF0150C9

       LORAWAN: Public

LORAWAN SERVER: 13.66.229.235

UPLINK UDP PORT: 1700

DOWNLINK UDP PORT: 1700

      CHANNEL0: 902300000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)

      CHANNEL1: 902500000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)

      CHANNEL2: 902700000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)

      CHANNEL3: 902900000, A, SF7/SF12, BW125KHz    (LORA_MULTI_SF)

      CHANNEL4: 903100000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)

      CHANNEL5: 903300000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)

      CHANNEL6: 903500000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)

      CHANNEL7: 903700000, B, SF7/SF12, BW125KHz    (LORA_MULTI_SF)

      CHANNEL8: 903000000, A, SF8, BW500KHz         (LORA_STANDARD)

      CHANNEL9: OFF                                 (FSK)

Concentrator starting...

Concentrator Radio A type SX1257

Concentrator Radio B type SX1257

Radio A, min:902150000, max:903250000

Radio B, min:902950000, max:903850000

Concentrator started (2926ms)

ST LoRa GW V2

Ethernet starting...

STATIC IP: 192.168.100.139

Ethernet started

Downlink UDP Connected

Uplink UDP Connected

LRX: 00D89EDFA99AEFC782156F356E37343933628F0B54F253

JUL: {"rxpk":[{"tmst":35606860,"chan":7,"rfch":1,"freq":903.700000,"stat":1,"modu":"LORA","datr":"SF10BW125","codr":"4/5","lsnr":11.5,"rssi":-41,"size":23,"data":"ANie36ma78eCFW81bjc0OTNijwtU8lM="}]}

LRX: 00D89EDFA99AEFC782156F356E37343933E1D121B09BCA

JUL: {"rxpk":[{"tmst":55643108,"chan":0,"rfch":0,"freq":902.300000,"stat":1,"modu":"LORA","datr":"SF10BW125","codr":"4/5","lsnr":-15.0,"rssi":-118,"size":23,"data":"ANie36ma78eCFW81bjc0OTPh0SGwm8o="}]}

LRX: 00D89EDFA99AEFC782156F356E373439336E17E4886FA6

JUL: {"rxpk":[{"tmst":85640804,"chan":3,"rfch":0,"freq":902.900000,"stat":1,"modu":"LORA","datr":"SF10BW125","codr":"4/5","lsnr":3.0,"rssi":-117,"size":23,"data":"ANie36ma78eCFW81bjc0OTNuF+SIb6Y="}]}

LRX: 00D89EDFA99AEFC782156F356E3734393324E11B2CEA1C

JUL: {"rxpk":[{"tmst":115296129,"chan":8,"rfch":0,"freq":903.000000,"stat":1,"modu":"LORA","datr":"SF8BW500","codr":"4/5","lsnr":10.0,"rssi":-34,"size":23,"data":"ANie36ma78eCFW81bjc0OTMk4Rss6hw="}]}

LRX: 00D89EDFA99AEFC782156F356E37343933CE7994B97F2B

JUL: {"rxpk":[{"tmst":121773940,"chan":0,"rfch":0,"freq":902.300000,"stat":1,"modu":"LORA","datr":"SF10BW125","codr":"4/5","lsnr":8.8,"rssi":-33,"size":23,"data":"ANie36ma78eCFW81bjc0OTPOeZS5fys="}]}

LRX: 00D89EDFA99AEFC782156F356E37343933D2CD853490BB

JUL: {"rxpk":[{"tmst":124327964,"chan":0,"rfch":0,"freq":902.300000,"stat":1,"modu":"LORA","datr":"SF10BW125","codr":"4/5","lsnr":12.0,"rssi":-39,"size":23,"data":"ANie36ma78eCFW81bjc0OTPSzYU0kLs="}]}

LRX: 00D89EDFA99AEFC782156F356E3734393392139086287B

JUL: {"rxpk":[{"tmst":144364188,"chan":6,"rfch":1,"freq":903.500000,"stat":1,"modu":"LORA","datr":"SF10BW125","codr":"4/5","lsnr":-3.3,"rssi":-106,"size":23,"data":"ANie36ma78eCFW81bjc0OTOSE5CGKHs="}]}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

but gateway status is not changed not connected.

image

what address is server ip 13.66.229.235?

what address is server ip 52.169.76.203?

thank you

I have the same issue, the gateway says

Downlink UDP Connected
Uplink UDP Connected

but TTN shows Not connected, only the firts time I read connected.
Nevertheless the node I have join the network and I can see packets in the TTN console.

So you are receiving data? Using The Things Stack Community Edition (V3) or The Things Network (V2)

Since RO V2 Data tab depricated & no longer shows traffic at either application or device level making debug and migration checks much harder :frowning:

The Things Stack Community Edition I believe, since I see the logo in the console.