Restart does not function properly.



  • Up to now pfsense has worked properly. But now onwards, every time that I have switched on, I get a message asking to configure the interfaces. As a solution I have stored the previous configuration.  An it works. But again when I switched on the computer on the next day, it ask for initial interface configuration  which we do at the installation.  The other configuration remains same.
    Please advice me to find a permanent solution.


  • Netgate Administrator

    There are two reasons why this might happen:
    1. The config.xml file cannot be read correctly. Perhaps it has been corrupted or the drive is failing. Did this behaviour just start happening or did it co-inside with a config change?
    2. One of the configured interfaces has been removed or has changed. What NICs are you using?

    Steve



  • @stephenw10:

    There are two reasons why this might happen:
    1. The config.xml file cannot be read correctly. Perhaps it has been corrupted or the drive is failing. Did this behaviour just start happening or did it co-inside with a config change?

    –- It just started happening and every time I start my firewall it ask for interface configuration. I manually enter on interface to WAN and after that reload with the previous configuration. Then it works fine. On the next day when i boot it, i get the same issue.

    2. One of the configured interfaces has been removed or has changed. What NICs are you using?
    --- I am using my laptop and the firewall was installed into a pen driver. The laptop has a wireless interface card and an Ethernet card.
    Steve


  • Netgate Administrator

    What type of install did you do to the 'pen drive'? (A USB flash drive I assume)
    Are both those interfaces built into the laptop?

    When you boot now are having to restore the old config file every time? Where are you retrieving the backup file from?

    Steve


  • Rebel Alliance Developer Netgate

    It's also possible it's booting from your install CD and not from the hard drive.

    Either the configuration isn't there (e.g. booting from CD) or the configuration isn't readable (rare but can happen if HDD/CF/Storage is failing)



  • @stephenw10:

    What type of install did you do to the 'pen drive'? (A USB flash drive I assume)
    Are both those interfaces built into the laptop?

    –--- YES

    When you boot now are having to restore the old config file every time? Where are you retrieving the backup file from?
    ----- first I configure the interface and it will redirect to the Pfsense console. From there I use option store previous configuration. That's how i get access to the system. when I reboot again i will face the same problem.
    Steve


  • Netgate Administrator

    Ok, what names does the output of 'ifconfig' show? You can run it in Diagnostics: Command Prompt: and copy & paste the output here.
    It's possible your wifi interface is internally usb connected. You may have added or removed a usb device causing the NIC to be detected in a different USB location.

    What install type did you do? Full install from a CD onto the pen drive? Which kernel did you select?

    Steve



  • Hi steph;
    Thank you for the reply.

    @stephenw10:

    Ok, what names does the output of 'ifconfig' show? You can run it in Diagnostics: Command Prompt: and copy & paste the output here.

    –--------  The interface shows as up. Right now I am having another problem with it. I have installed a new package and pf sense is not booting up. the pen driver is only 8GB in size.
    I have also activated access log for squid.

    It's possible your wifi interface is internally usb connected. You may have added or removed a usb device causing the NIC to be detected in a different USB location.
    Wifi interface is not a USB device. I have also disabled this interface. The problem is that the configuration for the LAN disappear.

    What install type did you do? Full install from a CD onto the pen drive? Which kernel did you select?
    Yes a full installation from a USB pen to another USB pen.
    Steve


  • Netgate Administrator

    So you booted from the a pen drive with the memstick install image on it and used that to install the full version of pfSense onto another pendrive?
    You may have killed the pen drive if it's low quality. If you haven't you probably will trying to run Squid from it unless you disabled it's caching features.

    I was hoping to see the names of your interfaces as listed by ifconfig.

    Steve