pfSense Gold Subscription

Author Topic: fresh nanobsd install wont restore config  (Read 3810 times)

0 Members and 1 Guest are viewing this topic.

Offline phil.davis

  • Hero Member
  • *****
  • Posts: 4612
  • Karma: +550/-3
    • View Profile
    • International Nepal Fellowship
Re: fresh nanobsd install wont restore config
« Reply #15 on: October 01, 2015, 03:34:52 am »
I just tried:

a) Download pfSense-2.2.5-DEVELOPMENT-2g-i386-nanobsd-20150930-1813.img.gz from snapshots.pfsense.org
b) physdiskwrite.exe pfSense-2.2.5-DEVELOPMENT-2g-i386-nanobsd-20150930-1813.img.gz to a CF card
c) Put in an Alix 2D13 and boot, assign interfaces.
d) Login to 192.168.1.1 and skip doing the wizard
e) Restore a simple config using the webGUI - it rebooted fine.
f) Restore a complex real config saved from a production box - again it rebooted fine.
g) Use the config history and revert to a previous config, then reboot - also worked fine.

So this is a bit mysterious - I can't reproduce this issue at all on my test hardware.
As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1631
  • Karma: +6/-0
    • View Profile
Re: fresh nanobsd install wont restore config
« Reply #16 on: October 01, 2015, 03:41:39 am »
sounds wierd, let me get a sandisk or lexar CF card and try.

first time in my life i see a computer failing without any signs of it, if thats the case or the brand of CF card which is causing this

i believe this issue is the root cause and not the backup/restore config in general
https://forum.pfsense.org/index.php?topic=100028.0

Offline cmb

  • Hero Member
  • *****
  • Posts: 11230
  • Karma: +893/-7
    • View Profile
    • Chris Buechler
Re: fresh nanobsd install wont restore config
« Reply #17 on: October 01, 2015, 02:20:08 pm »
2.3 i dont feel confident enough to try it out.

We're not talking about putting it into production, just write out a nano image and try what you're trying. It'll help narrow down whether there's a problem and if so where it is.

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1631
  • Karma: +6/-0
    • View Profile
Re: fresh nanobsd install wont restore config
« Reply #18 on: October 02, 2015, 01:12:09 am »
ok ill give that a try and report back soon

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1631
  • Karma: +6/-0
    • View Profile
Re: fresh nanobsd install wont restore config
« Reply #19 on: October 03, 2015, 01:09:16 am »
2.3 i dont feel confident enough to try it out.

We're not talking about putting it into production, just write out a nano image and try what you're trying. It'll help narrow down whether there's a problem and if so where it is.

i tried 2.3 today, the issue still persists, cant restore config as well as cant edit files in www folder using edit file but can upload config using winscp and edit using ee editor from console.

is this something to do with those SLC based CF cards that pcengines sells because recently there was a recall of some old CF cards with bad firmware and i have got a brand new replacement one and i tried that as well as my old one, in total i have 3 of their CF cards and same issue with all of them. Its preety hard to find CF cards in my region and the ones that r sold are very high capacity ones that r to be used in DSLRs

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1631
  • Karma: +6/-0
    • View Profile
Re: fresh nanobsd install wont restore config
« Reply #20 on: October 03, 2015, 03:48:37 am »
same brand, firmware and capacity CF card in the other remote alix box on 2.2.4 edits all files properly. let me once again try a 2.2.4 image on the same CF card and see if that too has the issues or no, last time i tried it was working fine and was able to do everything

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1631
  • Karma: +6/-0
    • View Profile
Re: fresh nanobsd install wont restore config
« Reply #21 on: October 03, 2015, 04:23:07 am »
tried a fresh install of 2.2.4 on all the 3 CF cards, booted it, configured interface, restored config and rebooted fine. Edit file also works. Even tried both things multiple times and with CF permanently mounted as RW as well as RO and then let it switch automatically when restoring config and in all possible scenarios everything works all good on 2.2.4 on all the 3 CF cards i have from pcengines so definitely something changed between 2.2.4 and 2.2.5 or some other patches in the php files etc caused this to happen to my box which was merged in 2.2.5