pfSense Forum

pfSense English Support => Hardware => Topic started by: trumee on January 01, 2018, 01:14:26 pm

Title: Hardware for a region with lot of power outages
Post by: trumee 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 (https://www.theregister.co.uk/2017/10/04/free_bsd_10_4/) 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.
Title: Re: Hardware for a region with lot of power outages
Post by: johnkeates 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.
Title: Re: Hardware for a region with lot of power outages
Post by: chpalmer 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.

 
Title: Re: Hardware for a region with lot of power outages
Post by: trumee 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?
Title: Re: Hardware for a region with lot of power outages
Post by: johnkeates 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.
Title: Re: Hardware for a region with lot of power outages
Post by: jgiannakas 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.
Title: Re: Hardware for a region with lot of power outages
Post by: johnkeates 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.
Title: Re: Hardware for a region with lot of power outages
Post by: SammyWoo on February 09, 2018, 11:01:09 pm
That's what I call fighting City Hall.
Title: Re: Hardware for a region with lot of power outages
Post by: occamsrazor 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.