Hi everybody,
I have a problem with my Mikrotik lr8 gateway to connect to the TTN. It keeps staying disconnected.
I am new to LoRaWAN and in the posts I read, I could not find a solution to my problem.
My gateway is connected to the PC via LAN using the default IP 192.168.88.1 which I set manually with the subnet mask 255.255.0.0. The DNS server settings I left open.
As gateway server address I used “eu1.cloud.thethings.network” or “TTN V3 (eu1)” respectively in both, the TTN setting and the gateway setting. The gateway log shows continuously the error message: “lora-dl: [TTN V3 (eu1)] Couldn’t resolve eu1.cloud.thethings.network”
My Gateway EUI (= Hardware ID) is 503035412D3E4750. I used the same value as Gateway ID. My frequency plan is EU_863_870_TTN.
I attached the configuration which I got from my gateway. I hope this might give some additional hints about the problem.
I would appreciate a lot if you could assist me to get my gateway running. Please let my know, if you need additional information.
Many regards, Gerhard
gateway configuration:
mar/08/2024 22:16:45 by RouterOS 6.49.7
software id = 80HX-WA3L
model = RBwAPR-2nD
serial number = HEP098F3AE0
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX
country=germany distance=indoors frequency=auto installation=outdoor
mode=ap-bridge ssid=MikroTik-0145E1 wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=wlan1 name=defconf
/lora servers
add address=eu.mikrotik.thethings.industries down-port=1700 name=TTN-EU
up-port=1700
add address=us.mikrotik.thethings.industries down-port=1700 name=TTN-US
up-port=1700
add address=eu1.cloud.thethings.industries down-port=1700 name=
“TTS Cloud (eu1)” up-port=1700
add address=nam1.cloud.thethings.industries down-port=1700 name=
“TTS Cloud (nam1)” up-port=1700
add address=au1.cloud.thethings.industries down-port=1700 name=
“TTS Cloud (au1)” up-port=1700
add address=eu1.cloud.thethings.network down-port=1700 name=“TTN V3 (eu1)”
up-port=1700
add address=nam1.cloud.thethings.network down-port=1700 name=“TTN V3 (nam1)”
up-port=1700
add address=au1.cloud.thethings.network down-port=1700 name=“TTN V3 (au1)”
up-port=1700
/interface list member
add comment=defconf interface=wlan1 list=LAN
add comment=defconf interface=ether1 list=WAN
add list=LAN
/ip address
add address=192.168.88.1/24 interface=ether1 network=192.168.88.0
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1 gateway=
192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=input comment=“enable ether1” dst-port=80
in-interface=ether1 protocol=tcp
add action=accept chain=forward comment=“defconf: accept in ipsec policy”
ipsec-policy=in,ipsec
add action=accept chain=forward comment=“defconf: accept out ipsec policy”
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment=“defconf: fasttrack”
connection-state=established,related
add action=accept chain=forward comment=
“defconf: accept established,related, untracked” connection-state=
established,related,untracked
add action=drop chain=forward comment=“defconf: drop invalid”
connection-state=invalid
add action=drop chain=forward comment=
“defconf: drop all from WAN not DSTNATed” connection-nat-state=!dstnat
connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment=“defconf: masquerade”
ipsec-policy=out,none out-interface-list=WAN
/lora
set 0 antenna=uFL disabled=no name=“Dold Gateway1” servers=“TTN V3 (eu1)”