NO-IP script problem

Hi,

I used to have my NO-IP script running and logging just fine. I updated (from 5.25) to 6.19, did a reset to default on my RB951G-2HnD and now i cant get the script working again.

I narrowed it down to this command: ip address get [find interface=“ether1-gateway”] address
which keeps returning nothing.

My router has default settings, apart from passwords, SSID and other non-intrucive stuff.

What am I missing :frowning: ?

Is that the name of ether-1?

Yes it is.

/interface export

Also why not use alias with the CloudUpdater?

Result:

oct/19/2014 10:57:30 by RouterOS 6.20

software id = IC1G-823F

/interface bridge
add admin-mac=D4:CA:6D:CC:87:37 auto-mac=no mtu=1500 name=bridge-local
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=
20/40mhz-ht-above country=denmark disabled=no distance=indoors frequency=
2437 l2mtu=2290 mode=ap-bridge ssid=Habla wireless-protocol=802.11
/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway
set [ find default-name=ether2 ] name=ether2-master-local
set [ find default-name=ether3 ] master-port=ether2-master-local name=
ether3-slave-local
set [ find default-name=ether4 ] master-port=ether2-master-local name=
ether4-slave-local
set [ find default-name=ether5 ] master-port=ether2-master-local name=
ether5-slave-local
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=
dynamic-keys wpa-pre-shared-key=HablaPalero wpa2-pre-shared-key=HablaPalero
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=wlan1


What is CloudUpdater?

I don’t know what the no-ip script looks like…

But for my updater I was fetching the IP address from ether-1-WAN
Setting that as a variable.
Parsing that to get rid of the /29.
Setting that variable as the “THIS IS THE CURRENT IP ADDRESS”

:local GotSpringsIP
:local OnEther
:local OnEtherSprings [/ip address get [find interface~"WAN"] address]
:set OnEther [:pick $OnEtherSprings 0 [:find $OnEtherSprings "/"]]
:set GotSpringsIP $OnEther

Then the updater was set to compare that to the actual dyndns record.

As for cloud updater.
Version 6.16 or better has IP cloud.
/ip cloud

once enabled. The mikrotik checks in with a name server and provides you a hostanme based on its serial number.

But the other nice thing is that you can get the external IP address by this command.

:local RLCLoop value=[/ip cloud get public-address]

I use that to update firewall rules.

Now since you have a name updater… you can log into your no-ip account and set up an alias.
You use one of your hostnames and point it at the FQDN that Mikrotik now provides you.

You don’t have to have the script running on your router at all.