Add stuff for power monitoring and post on freebsd routers
|
@ -0,0 +1,19 @@
|
||||||
|
+++
|
||||||
|
date = "2018-03-07T22:35:34-05:00"
|
||||||
|
title = "Building a FreeBSD router"
|
||||||
|
menu = "main"
|
||||||
|
Categories = ["Administration","Homelab","DIY"]
|
||||||
|
Tags = ["freebsd","homelab","router"]
|
||||||
|
Description = "Replace pfSense with an Ansible-managed router"
|
||||||
|
type = "post"
|
||||||
|
weight = 1
|
||||||
|
draft = true
|
||||||
|
|
||||||
|
+++
|
||||||
|
|
||||||
|
# Building a FreeBSD router
|
||||||
|
|
||||||
|
|
||||||
|
## Assemble the hardware
|
||||||
|
|
||||||
|
The project started with two unused C6100 nodes, which had recently been replaced with upgraded models. I pulled out the second CPU, gave them each 4GB of RAM, and attached each of them to a standard power supply.
|
|
@ -199,6 +199,12 @@ y. Install each circuit's voltage sensor between the hot and neutral leads, bein
|
||||||
|
|
||||||
## Part 3.9 - The Mux shield
|
## Part 3.9 - The Mux shield
|
||||||
|
|
||||||
|
![MuxShield](/images/pdu/mux_shield.png)
|
||||||
|
|
||||||
|
The Mayhew Labs MuxShield provides an additional 48 analog I/O inputs for an Arduino. In this case, I use it to allow all the individual sensors to be read independently, including the voltage sensors.
|
||||||
|
|
||||||
|
1. Connect each lead cable to one of the Analog inputs on the MuxShield.
|
||||||
|
|
||||||
# Part 4 - The Software
|
# Part 4 - The Software
|
||||||
|
|
||||||
## Part 4.1 - The Arduino
|
## Part 4.1 - The Arduino
|
||||||
|
|
After Width: | Height: | Size: 3.2 MiB |
After Width: | Height: | Size: 2.1 MiB |
After Width: | Height: | Size: 5.0 MiB |
After Width: | Height: | Size: 3.8 MiB |
After Width: | Height: | Size: 3.6 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.5 MiB |
After Width: | Height: | Size: 3.2 MiB |
After Width: | Height: | Size: 5.0 MiB |
After Width: | Height: | Size: 2.9 MiB |
After Width: | Height: | Size: 3.6 MiB |
After Width: | Height: | Size: 3.3 MiB |
After Width: | Height: | Size: 3.5 MiB |
After Width: | Height: | Size: 3.4 MiB |
After Width: | Height: | Size: 3.3 MiB |
After Width: | Height: | Size: 5.3 MiB |
After Width: | Height: | Size: 4.7 MiB |
After Width: | Height: | Size: 4.0 MiB |
After Width: | Height: | Size: 3.5 MiB |
After Width: | Height: | Size: 4.9 MiB |
After Width: | Height: | Size: 3.2 MiB |
After Width: | Height: | Size: 3.2 MiB |