1st i want to know how to edit the keepalives time out of the pptp-client on mikrotik 5.20
i searched a lot but in vain the os doesn't have this option neither gui nor terminal
but in the log it keeps disconnected about once every day i dont want this at all
here is my profile
/ppp profile
add change-tcp-mss=yes name=evan use-compression=no use-encryption=no \
use-vj-compression=no
and my client config
/interface pptp-client
add comment=ehab pptp connect-to=192.168.1.254 disabled=no name=ehab \
password=xxxxxx profile=evan user=yyyyyy
some one said n another thread that it was about the encryption but the other op tried it with no use
the second and more important thing that i want to conf the pptp-client that i select the ip i get from my isp
if it get an ip from a specific range it should disable and enable to reconnect to get another random ip
i am thinking of this script and want some one to assure that it is operational and good to go with and to tel me how to make it a scheduler to start with the system boot and keep checking every 3 seconds
take a look at my script and fix it please
:local newIP [/ip address get [find interface="ehab"] address];
:if (newIP !=xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy)
{/interface pptp-client disable ehab;
:delay 3s;
/interface pptp-client enable ehab};
the completion is the part of( if esle exit) or something like this
and i want it to chek every thime the ip get changed after this if possible or every 3 seconds to make sure it is accurate
tnx alot