Not sure if I can firmware upgrade my pfsense box



  • I have a pfSense appliance

    I'm not sure of which model it is, its  a small square pink/purple device

    When I cat /etc/version I get

    1.2.3-RELEASE

    and /etc/platform

    nanobsd

    uname -a

    FreeBSD pfsense.network.local 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #0: Mon Dec  7 23:21:27 EST 2009    sullrich@FreeBSD_7.2_pfSense_1.2.3_snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_wrap.7.i386  i386

    Are there any upgrade files available for this device? What's the best version I can upgrade to? Where do I get these files?


  • Netgate Administrator

    Yes, you should be able to upgrade that box directly but there are a few gotchas for coming from an older release. Firstly you are on the first embedded version that is upgradable so that's good!  :)
    The transition from 1.X to 2.X was big. If you have unusual characters in your interface names you may run into issues. Are you running any packages? See: System: Packages: Installed:
    How much RAM do you have? Some early embedded boxes had only 128MB, 256MB is now the minimum.
    What size is your nano image? There is no longer a 512MB image available as the system had outgrown it so you may need a bigger CF card.

    See: https://doc.pfsense.org/index.php/UpgradeGuide

    Steve



  • hw.physmem: 255303680

    Looks like I have 256MB RAM - how do I find out how big is my nano image?

    Would it be safer to do a staged upgrade instead?



  • Looks like I have 512MB of storage?

    Filesystem          Size    Used  Avail Capacity  Mounted on
    /dev/ufs/pfsense1    443M    81M    326M    20%    /
    devfs                1.0K    1.0K      0B  100%    /dev
    /dev/md0              38M    4.0K    35M    0%    /var/tmp
    /dev/md1              58M    6.2M    47M    12%    /var
    /dev/ufs/cf          49M    192K    45M    0%    /cf
    devfs                1.0K    1.0K      0B  100%    /var/dhcpd/dev


  • Netgate Administrator

    Nope I'd say you have 1GB. Due to the way NanoBSD works you have two boot slices each 443MB and config slice, 50MB.
    It's usually written next to the platform type on the dashboard:

    Platform 	nanobsd (1g) 
    

    Not sure about 1.2.3 though.
    My 1g image shows nearly identical to yours:

    [2.1.4-RELEASE][root@pfsense.fire.box]/root(1): df 
    Filesystem        1K-blocks   Used Avail Capacity  Mounted on
    /dev/ufs/pfsense1    453327 325815 91246    78%    /
    devfs                     1      1     0   100%    /dev
    /dev/ufs/cf           50527   8373 38112    18%    /cf
    /dev/md0              39406    750 35504     2%    /tmp
    /dev/md1              79086  27712 45048    38%    /var
    devfs                     1      1     0   100%    /var/dhcpd/dev
    
    

    You should be able to upgrade directly to 2.1.4. Make sure you've backed up your config file first though. I would probably remove any packages and reinstall them afterwards unless you have some very complex setup.

    Steve