Community discussions

MikroTik App
 
Ivoshiee
Member
Member
Topic Author
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Power cycle (by system watchdog) is erasing ppp-client conf

Sun Jan 13, 2013 6:07 pm

I noticed that my RB411U with a GSM modem lost a network connections. It turned out that it had some vital parts of the ppp-client configuration are mysteriously missing. Initially I got that issue with ROS v5.2 and for the MT satisfaction pumped up the version of it to v5.22, only to see the same thing.

Nothing has been done to that unit than some power losses here and there. So, to test out that bug I mis-configured a system watchdog, so it will pretty much constantly (once after ~3 minutes) reboot the unit:
/system watchdog
set auto-send-supout=no automatic-supout=no no-ping-delay=2m watch-address=\
    8.8.8.9 watchdog-timer=yes

That is what is being configured into the ppp-client for the GSM modem:
/interface ppp-client
add add-default-route=yes allow=chap apn=internet.emt.ee comment=\
    "To the GSM..." data-channel=3 dial-command=ATDT \
    dial-on-demand=no disabled=no info-channel=3 keepalive-timeout=30 \
    max-mru=1500 max-mtu=1500 modem-init="" mrru=disabled name=ppp-out1 \
    null-modem=no password="" phone=*99# pin=0000 port=usb2 profile=default \
    use-peer-dns=yes user=""
That is what will happen to it some (numerous?) reboots later:
#
/interface ppp-client
add add-default-route=yes allow=pap,chap,mschap1,mschap2 comment=\
    "To the GSM..." data-channel=3 dial-command=ATDT \
    dial-on-demand=yes disabled=no info-channel=3 keepalive-timeout=30 max-mru=\
    1500 max-mtu=1500 modem-init="" mrru=disabled name=ppp-out1 null-modem=no \
    password="" phone="" pin="" port=usb2 profile=default use-peer-dns=yes \
    user=""
I do not know when that configuration change took place, but sampling of the configuration was done within less than 24 hours.

I can not say that the system watchdog is causing that configuration erasing, but I recall as not having that issue before I choose to implement that.
I doubt that it has anything to do with the GSM modem brand (it has Option GTM378 in it) and is some sort of long standing bug within the ROS.
How to make the ppp-client configuration not to get changed by mere power cycling the unit?
 
samsung172
Forum Guru
Forum Guru
Posts: 1191
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: Power cycle (by system watchdog) is erasing ppp-client c

Sun Jan 13, 2013 8:58 pm

not a resolve to the actual problem, but to make it work, make a script, adding Your setting's every time the ppp drops or something like that.
 
uldis
MikroTik Support
MikroTik Support
Posts: 3446
Joined: Mon May 31, 2004 2:55 pm

Re: Power cycle (by system watchdog) is erasing ppp-client c

Sun Jan 13, 2013 9:29 pm

please contact support@mikrotik.com - we will provide you with a test release which most likely will fix it.
For now you can test out RouterOS v6.0rc6 and report back with the results.
 
Ivoshiee
Member
Member
Topic Author
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: Power cycle (by system watchdog) is erasing ppp-client c

Sun Jan 13, 2013 11:00 pm

not a resolve to the actual problem, but to make it work, make a script, adding Your setting's every time the ppp drops or something like that.
Yeah, I had that idea as well, but it should not be the proper way.
 
Ivoshiee
Member
Member
Topic Author
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: Power cycle (by system watchdog) is erasing ppp-client c

Sun Jan 13, 2013 11:02 pm

please contact support@mikrotik.com - we will provide you with a test release which most likely will fix it.
For now you can test out RouterOS v6.0rc6 and report back with the results.
OK, may I assume that the ROS v5 series has come to the end and no improvements/fixes will land there?
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: Power cycle (by system watchdog) is erasing ppp-client c

Mon Jan 14, 2013 1:25 am

@Ivoshiee
If possible, try to change default PPP Client name 'ppp-out1' to different one.
From my experience, after reboot ROS sometimes recognizes connected modem as new one
and adds new, disabled PPP Client with default 'ppp-out1' name.
Maybe it causes configuration erasing due to some bug.

HTH,
 
uldis
MikroTik Support
MikroTik Support
Posts: 3446
Joined: Mon May 31, 2004 2:55 pm

Re: Power cycle (by system watchdog) is erasing ppp-client c

Mon Jan 14, 2013 10:28 am

please contact support@mikrotik.com - we will provide you with a test release which most likely will fix it.
For now you can test out RouterOS v6.0rc6 and report back with the results.
OK, may I assume that the ROS v5 series has come to the end and no improvements/fixes will land there?
v5.23 will have a fix for this issue but it isn't released yet, that is why you can test v6.0rc6 which has that fix already. Or contact support for a test release of v5.23
 
Ivoshiee
Member
Member
Topic Author
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: Power cycle (by system watchdog) is erasing ppp-client c

Mon Jan 14, 2013 1:24 pm

please contact support@mikrotik.com - we will provide you with a test release which most likely will fix it.
For now you can test out RouterOS v6.0rc6 and report back with the results.
OK, may I assume that the ROS v5 series has come to the end and no improvements/fixes will land there?
v5.23 will have a fix for this issue but it isn't released yet, that is why you can test v6.0rc6 which has that fix already. Or contact support for a test release of v5.23
I've done that, but does that issue was known before or the fix was quick one to make?
 
Ivoshiee
Member
Member
Topic Author
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: Power cycle (by system watchdog) is erasing ppp-client c

Mon Jan 14, 2013 6:51 pm

Also, the Watchdog Timer is broken for both v5 and v6 series.
The "watchdog-timer=no" does not have any effect as long as there a watch-address to play with. To truly get rid of the watchdog timer I have to remove watch-address as well.
 
uldis
MikroTik Support
MikroTik Support
Posts: 3446
Joined: Mon May 31, 2004 2:55 pm

Re: Power cycle (by system watchdog) is erasing ppp-client c

Tue Jan 15, 2013 10:23 am

I've done that, but does that issue was known before or the fix was quick one to make?
We had such report from one customer and we were able to reproduce that issue locally. We fixed that issue after v5.22 was released. The fix is already in v6.0rc6 and in pre-release of RouterOS v5.23.Contact support if you want that pre-release version.
 
Ivoshiee
Member
Member
Topic Author
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: Power cycle (by system watchdog) is erasing ppp-client c

Wed Mar 06, 2013 9:20 pm

I've done that, but does that issue was known before or the fix was quick one to make?
We had such report from one customer and we were able to reproduce that issue locally. We fixed that issue after v5.22 was released. The fix is already in v6.0rc6 and in pre-release of RouterOS v5.23.Contact support if you want that pre-release version.
Sadly it is not fixed even in the v6.0rc7.
http://ranume.radionet.ee/rb411u-still_ ... uppout.rif is the support.rif for your hacking pleasure.

Should I stick to the v6.0rc6 or does the supposed fix is being implemented in subsequent releases as well?

I've upgraded the box to the v6.0rc11, but I am not very hopeful about it.

Edit:
I've upgraded almost all my 25+ RB411U units to the ROS v6.0rc11, I've yet too see that issue. Maybe it is indeed fixed or more likely still not and it will bite me soon enough.
 
levak
Frequent Visitor
Frequent Visitor
Posts: 76
Joined: Thu Feb 21, 2013 8:47 pm
Contact:

Re: Power cycle (by system watchdog) is erasing ppp-client c

Fri Oct 04, 2013 2:06 pm

Was the issue fixed for you?

Matej
 
Ivoshiee
Member
Member
Topic Author
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: Power cycle (by system watchdog) is erasing ppp-client c

Fri Oct 04, 2013 11:15 pm

The v6.0rc11 did almost fix it or at least for the majority of these devices - I happened to see it occasionally even with the later releases, but I had to stop upgrading anything beyond the v6.0rc13 because later versions removed my Option GTM378 card support. The MT didn't respond to my requests to reinstate the Option GTM378 support or why it was dumped and so I haven't even tried any recent versions. No change log is listing those changes and arguing with them over it is quite pointless.
 
levak
Frequent Visitor
Frequent Visitor
Posts: 76
Joined: Thu Feb 21, 2013 8:47 pm
Contact:

Re: Power cycle (by system watchdog) is erasing ppp-client c

Sun Oct 06, 2013 1:40 pm

OK, thanks for the info...

Matej

Who is online

Users browsing this forum: Google [Bot], Sob and 71 guests