Labels

Friday, August 8, 2014

Setting up Shorewall and VLANs on the 1-Port Router

In putting together a 1-Port router, it seems that I have kind of lost a purpose here.  What I would like to do is have the router allow just the Mac Mini to access 3 other VLANs than what it is connected to.  In addition, I don't want anything from the Pers VLAN with the exception of the Mac Mini to be able to connect to these three VLANs.  I don't want any cross-talk between the VLANs.  The diagram of what I want to do is shown below.



 In order to accomplish this task I am turning to an old friend in the firewall world, Shorewall (http://www.shorewall.net/).  So I want to load Shorewall onto my 1-port router, add the additional VLANs, and add Webmin to manage the Shorewall setup and other things on this platform.  Installing Shorewall and Webmin is pretty easy:

sudo apt-get update
sudo apt-get install shorewall
sudo apt-get install -y perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.690_all.deb
sudo dpkg --install webmin_1.690_all.deb


Thursday, August 7, 2014

Weather Station Project #8 - Spatial Consistency Checks failing

I have been checking the CWOP data analysis for my weather station and it is telling me that I am failing the Level 3 Spatial Consistency checks on the Barometer.  What that means is that I am not consistent with the other weather stations around me, so I will have to change.

The Barometer is showing an average barometer error of -1.9 miliBars, a standard deviation of 1.1 miliBars, and a worst daily average barometer error of -2.7 miliBars.  The average error works out to be -0.0561 in HG.  I am going to add a "fudge" factor of this error, wait a week, and see what the analysis brings.  The analysis will flag it as bad just as soon as I add the "fudge" factor for a period of time.  We shall see.

Update: CWOP is reporting that I am even further out from where I should be.  I have decided to remove the "fudge" factor from the weewx configuration file.  The difficulty is that I have apparently not calibrated the ISS/Console unit (per weewx), the output from the console is in SLP (sea level pressure), and CWOP is expecting "Alt" style pressure levels.  I am not sure how weewx is handling this issue.  Right now I do not have the time to really research this out to a conclusion.  I do know that the barometric pressure from a Davis station with weewx has been a hot topic over the last couple of years.  I am giving weewx the benefit of the doubt by relying on their calculations knowing that I am outputting from a Davis station.