Navigation

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

    How to export conf.xml to USB on a broken pfSense machine?

    General pfSense Questions
    3
    4
    1727
    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.
    • N
      NopIt last edited by

      Since my pfSense machine seems to be completely broken after the last update, I would like to extract the config.xml file.
      The problem is, that the machine's networking is completely dead. I can't connect to the web gui, I can't ssh into it, I can't ping it and I can't ping anything from the machine either.

      I can still use the terminal though and /cf/conf/config.xml does still exist. Now my question is, how can I mount a USB stick and copy the configuration file over to it. And is there anything special I need to do with the USB stick, like formatting?

      1 Reply Last reply Reply Quote 0
      • dotdash
        dotdash last edited by

        You can stick in a fat32 formatted usb stick. You should see messages about the device on the console- usually it's da0.
        Mount the stick, then copy the config over. Then you can restore the config later.
        mount_msdosfs /dev/da0s1 /mnt
        cp /cf/conf/config.xml /mnt/

        1 Reply Last reply Reply Quote 0
        • N
          NopIt last edited by

          It worked, thank you. Sorry for the late reply.

          1 Reply Last reply Reply Quote 0
          • F
            Flagpole last edited by

            I think this worked for me also. Is there a way to check? When I place the usb drive in a Windows box I can not see the file. Also how will I restore it after rebuilding the broken PfSense box?
            Thanks
            Joe

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Products

            • Platform Overview
            • TNSR
            • pfSense
            • Appliances

            Services

            • Training
            • Professional Services

            Support

            • Subscription Plans
            • Contact Support
            • Product Lifecycle
            • Documentation

            News

            • Media Coverage
            • Press
            • Events

            Resources

            • Blog
            • FAQ
            • Find a Partner
            • Resource Library
            • Security Information

            Company

            • About Us
            • Careers
            • Partners
            • Contact Us
            • Legal
            Our Mission

            We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

            Subscribe to our Newsletter

            Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

            © 2021 Rubicon Communications, LLC | Privacy Policy