Netgate SG-1000 microFirewall

Author Topic: Hardware for a region with lot of power outages  (Read 457 times)

0 Members and 1 Guest are viewing this topic.

Offline trumee

  • Jr. Member
  • **
  • Posts: 88
  • Karma: +1/-0
    • View Profile
Hardware for a region with lot of power outages
« on: January 01, 2018, 01:14:26 pm »
Hello,

I have been using Openwrt based router (Netgear WNDR3700v2) in a region with lot of power outages. The router has served me very well with no issues. Since FreeBSD now has EMMC support which should land in pfsense, i can finally think about replacing the openwrt router. Is there any recommended router which has EMMC support?

Requirements:
 - Load balanced 2x ADSL 24MBPS lines.
 - Powerful enough for OpenVPN
 - USB port for 3g dongle (for failover)

Thanks

Btw: A UPS is not an option, please dont suggest that.
« Last Edit: January 01, 2018, 01:26:02 pm by trumee »

Offline johnkeates

  • Hero Member
  • *****
  • Posts: 842
  • Karma: +60/-1
    • View Profile
Re: Hardware for a region with lot of power outages
« Reply #1 on: January 01, 2018, 03:55:23 pm »
You'll need a UPS. There are no supported embedded builds anymore. The SG-1000 has an eMMC already, but it doesn't matter, the system no longer as embedded mode and thus won't handle power outages as it mounts filesystems in normal mode now.

Offline chpalmer

  • Hero Member
  • *****
  • Posts: 1793
  • Karma: +93/-3
    • View Profile
    • Home of Cablenut
Re: Hardware for a region with lot of power outages
« Reply #2 on: January 01, 2018, 07:00:24 pm »

I just did a build using a 12vdc capable device using a 24vdc to 12vdc regulator (Samlex) with a seriously big battery and charger (24Vdc) and its done us well so far. 

But even with the long outages the system has come back up fine.

 
P.S. statements made by me are not necessarily condoned by the management of this fine organization.  http://badmodems.com

Offline trumee

  • Jr. Member
  • **
  • Posts: 88
  • Karma: +1/-0
    • View Profile
Re: Hardware for a region with lot of power outages
« Reply #3 on: January 01, 2018, 08:39:43 pm »
You'll need a UPS. There are no supported embedded builds anymore. The SG-1000 has an eMMC already, but it doesn't matter, the system no longer as embedded mode and thus won't handle power outages as it mounts filesystems in normal mode now.

Is it not possible to mount the root partition as readonly and send all logs to tmpfs?

Offline johnkeates

  • Hero Member
  • *****
  • Posts: 842
  • Karma: +60/-1
    • View Profile
Re: Hardware for a region with lot of power outages
« Reply #4 on: January 02, 2018, 07:44:39 am »
You'll need a UPS. There are no supported embedded builds anymore. The SG-1000 has an eMMC already, but it doesn't matter, the system no longer as embedded mode and thus won't handle power outages as it mounts filesystems in normal mode now.

Is it not possible to mount the root partition as readonly and send all logs to tmpfs?

Nope. You can probably do it manually, but true embedded mode is gone.

Offline jgiannakas

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +18/-0
    • View Profile
Re: Hardware for a region with lot of power outages
« Reply #5 on: January 02, 2018, 11:53:56 am »
You'll need a UPS. There are no supported embedded builds anymore. The SG-1000 has an eMMC already, but it doesn't matter, the system no longer as embedded mode and thus won't handle power outages as it mounts filesystems in normal mode now.

Is it not possible to mount the root partition as readonly and send all logs to tmpfs?

A decent UPS alongside NUT are your best bets. The UPS will give you a few hours run time and if that fails NUT will safely shut down your device to prevent corruption on the FS. Also running ZFS will give you some more resilience compared to UFS.

Offline johnkeates

  • Hero Member
  • *****
  • Posts: 842
  • Karma: +60/-1
    • View Profile
Re: Hardware for a region with lot of power outages
« Reply #6 on: January 02, 2018, 03:04:36 pm »
If a normal UPS isn't an option, you might be able to get away with a Raspberry Pi targeting UPS. They often have a few LiPO cells and a serial or USB interface. Since a normal pfSense setup won't use that much power, it might be suitable for a few minutes of power and a safe shutdown. This only works if you do a setup with DC-in power options.

Offline SammyWoo

  • Jr. Member
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: Hardware for a region with lot of power outages
« Reply #7 on: February 09, 2018, 11:01:09 pm »
That's what I call fighting City Hall.

Offline occamsrazor

  • Jr. Member
  • **
  • Posts: 33
  • Karma: +4/-0
    • View Profile
Re: Hardware for a region with lot of power outages
« Reply #8 on: February 09, 2018, 11:11:04 pm »
I have lots of power cuts too. Running a Qotom i5 with pfSense and ZFS filesystem (copies=2 setting). Have had frequent hard-power-downs with no issues. Also have an APC UPS and run apcupsd in pfSense.