Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Backup Restore

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 366 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      unixnerd777
      last edited by

      I tried upgrading from 2.4 to 2.5 and had these issues. I figure I'd play it safe and install 2.4 in a VM, and that doesn't work. I feel like I'm stuck and need to switch firewalls, which I really don't want to do.

      I install pfSense 2.4.5-RELEASE-p1-amd64 in a 2GB RAM 2 core, 1 socket proxmox VM with a 64G SATA disk and 2x virtio nics; thinks seem to work.
      I have a config dump from before I upgraded to 2.5, I go to System -> Update -> Update Settings and set the Branch to "Previous stable version (2.4.5 DEPRECATED)". I then go to Diagnostics -> Backup & Restore, pick the dump and hit Restore Configuration.
      It then kicks me out, I login again with my restored password, then manually navigate to Interface -> Assignments as bce0 is now vtnet1, so I have to change the base interface on each VLAN, then the actual LAN (which takes 10s for each VLAN, so it takes several minutes), save.
      I then manually navigate to my real LAN IP instead of the 192.168.1.1 default and reboot.

      (somehow in one of my tries, before I could reboot, it refused to respond on LAN at all, no ping, no HTTP, no HTTPS. It did provide DHCP though. That was the 4th re-install)

      After the reboot, things seem fine in the console, then it takes a minute or so for the web interface to start responding, once it does about 1min later I get a PHP plaintext error in the browser window and I can't do anything in the console, so I force reboot, on boot it says this:

      Bootup Complete
      /bin/rm: not found
      

      and I am unable to do anything (web interface or console), obviously.

      I also discovered I can't pass MQTT traffic through the FW in version 2.5 either, devices keep reconnecting making it increasingly easy to try to control a device while it's reconnecting. If I move all my IoT devices to my core LAN, everything works just fine, but I obviously would rather them on their own VLAN.

      I also want to be able to provide tenants with their own WiFi network, but not have to have a ton of SSIDs (I seem to only be able to do 4, and I need 6). Before I updated to 2.5, I was able to run freeradius on the FW against MySQL in my cluster and it would allow tenants to pick their room in a captive portal and it would add them to the DB and reconnect their WiFi to their VLAN. This way I have 1 SSID and it assigns their VLAN based on their MAC in the DB.

      As-is right now I'm stuck with IoT on LAN with direct access to any management and the internet, with an SSID per tenant or all tenants on the same VLAN.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        So you're asking here how to restore a 2.4.5p1 config from some other hardware into a VM?

        Firstly I would exit the config to correct the interface names inclusing the VLANs because doing so manually is painful.

        Secondly when you restore the config it will revert the repo setting and pull in packages from 2.5 which is probably what you're hitting. Restore the config with the WAN disconnected so it cannot do that. When you get the notice that it failed to install packages reconnect the WAN, reset the package repo to 2.4.5 deprecated again and manually install the packages. The packahe config will be retained.

        Steve

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.