Locked out of SG-1100



  • Last night there was an update available for my SG-1100. From 2.4.3 to 2.4.4, if i recall correctly. I ran the update, which failed when reaching the Python package (if I recall correctly). I chose to run the update again, again by clicking the Update button. The output showed a message saying something along the line of "Initializing the update component". This msg showed for a very long time (like 15 minutes or so) and I lost net connectivity. I decided that the unit was probably in a crashed state, so I power-cycled it.
    Now the unit powers on, the switch is working and the port mappings are working, but the Admin webinterface doesn't (ERR_CONNECTION_TIMED_OUT) and I cannot connect to the Console port either, which btw. is detected correctly as a Profilic USB-to-Serial Comm Port. When I connect to this port I get no output.

    Also, before the failed update, the status led would be blinking merrily and constantly. Now it remains solid on.

    Whats my next move? Any help greatly appreciated.


  • LAYER 8 Rebel Alliance

    Check the Console settings again: https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/connect-to-console.html
    The failed Update has nothing to do with the Console.

    -Rico



  • Thanks Rico,

    I got the console connection working. It turned out that while I was waiting for some screen output upon connection, I should have hit Enter for the menu to appear. Duh!

    I get the following errors/warnings, followed by the device menu:

    Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20170718/curl.so (Shared object "libcurl.so.4" not found, required by "curl.so"), /usr/local/lib/php/20170718/curl.so.so (/usr/local/lib/php/20170718/curl.so.so: invalid file format)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'sqlite3.so' (tried: /usr/local/lib/php/20170718/sqlite3.so (Shared object "libsqlite3.so.0" not found, required by "sqlite3.so"), /usr/local/lib/php/20170718/sqlite3.so.so (/usr/local/lib/php/20170718/sqlite3.so.so: invalid file format)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'zmq.so' (tried: /usr/local/lib/php/20170718/zmq.so (Shared object "libzmq.so.5" not found, required by "zmq.so"), /usr/local/lib/php/20170718/zmq.so.so (/usr/local/lib/php/20170718/zmq.so.so: invalid file format)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite.so' (tried: /usr/local/lib/php/20170718/pdo_sqlite.so (Shared object "libsqlite3.so.0" not found, required by "pdo_sqlite.so"), /usr/local/lib/php/20170718/pdo_sqlite.so.so (/usr/local/lib/php/20170718/pdo_sqlite.so.so: invalid file format)) in Unknown on line 0

    Is there any way that I can fix this (from the Shell)?

    Thanks again


  • LAYER 8 Rebel Alliance

    You have a Config Backup?
    The fastest way to fix your problem 100% is just to reinstall: https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/reinstall-pfsense.html
    You can also try the Auto Restore: https://docs.netgate.com/pfsense/en/latest/backup/automatically-restore-during-install.html

    -Rico



  • Thank you for your help Rico. My SG-1100 is running full steam again (with it's restored cfg) :-)

    / Casper


  • LAYER 8 Rebel Alliance

    Glad you have it working again. :-)
    Did you use the Auto Restore Option?

    -Rico


  • Netgate Administrator

    You can't use the restore during install option in the same way on the ARM firewalls because the recovery image does not actually run an installer. It just copies the image bitwise.
    However you can have it recover the config on first boot using the ECL:
    https://docs.netgate.com/pfsense/en/latest/backup/automatically-restore-during-install.html#external-configuration-locator-ecl
    The fat partition on the recovery image allows you to do that with one USB stick.

    Steve


Log in to reply