Community discussions

MikroTik App
 
ntblade
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Mon Oct 01, 2012 2:47 pm

Powerbox deletes script on reset - 6.38.1

Sun Feb 19, 2017 11:11 am

Hi all,
Serious problem on at least 2 Powerboxes on 6.38.1, setps to reproduce:
Do a system reset configuration with no default config.
Using winbox connect via Mac and add an address to say, ether2, 192.168.88.1/24
Now, using cli:
[admin@MikroTik] > system resource print 
                   uptime: 11m8s
                  version: 6.38.1 (stable)
               build-time: Jan/13/2017 05:51:35
         factory-software: 6.34.4
              free-memory: 46.9MiB
             total-memory: 64.0MiB
                      cpu: MIPS 24Kc V7.4
                cpu-count: 1
            cpu-frequency: 650MHz
                 cpu-load: 9%
           free-hdd-space: 5.7MiB
          total-hdd-space: 16.0MiB
  write-sect-since-reboot: 699
         write-sect-total: 2837
               bad-blocks: 0%
        architecture-name: mipsbe
               board-name: PowerBOX
                 platform: MikroTik


[admin@MikroTik] > export 
# jan/02/1970 00:11:57 by RouterOS 6.38.1
# software id = S686-7SJC
#
/ip address
add address=192.168.88.1/24 interface=ether2 network=192.168.88.0


[admin@MikroTik] > export file=r1

[admin@MikroTik] > file pr
 # NAME                            TYPE                                  SIZE CREATION-TIME       
 0 flash                           disk                                       jan/01/1970 00:00:00
 1 pub                             directory                                  jan/02/1970 00:12:11
 2 r1.rsc                          script                                 153 jan/02/1970 00:12:36
 3 flash/log.0.txt                 .txt file                              394 feb/16/2017 00:54:23
 4 flash/skins                     directory                                  jan/01/1970 00:00:02

[admin@MikroTik] > system reset-configuration no-defaults=yes run-after-reset=r1.rsc 
Dangerous! Reset anyway? [y/N]: y
After reset there is no config at all and worse still r1.rsc has disappeared!

Please help

NTB

EDIT: Works perfectly on RB3011 -6.38.1
 
ntblade
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Mon Oct 01, 2012 2:47 pm

Re: Powerbox deletes script on reset - 6.38.1

Tue Feb 21, 2017 8:42 pm

Sorry to bump this. No Mikrotik folk seen this? How do I report bugs?

Thanks
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: Powerbox deletes script on reset - 6.38.1

Tue Feb 21, 2017 8:55 pm

I have reported problems with this procedure some time ago and nothing has changed it seems.
However, to report problems you need to mail to support@mikrotik.com not post here.
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Powerbox deletes script on reset - 6.38.1

Tue Feb 21, 2017 11:29 pm

your r1.rsc is stored on ram disk, not flash disk so its lost after reboot. put it into the flash folder to keep it persistent.

Who is online

Users browsing this forum: Bing [Bot], GoogleOther [Bot] and 108 guests