DIY Airplane tracker (ADS-B tracking)

Do you want to build your Airplane tracker by yourself? It’s easy and it’s realtime, not delayed like flightradar24.

What do you need?

Here are the steps for Linux/Unix Systems:
Download and unzip the Software:

wget https://github.com/antirez/dump1090/archive/master.zip
unzip master.zip

Change into the unzipped directory and execute make:

cd dump1090-master/
make

Plug in your DVB-T stick and launch dump1090:

./dump1090 --interactive --net

The option “interactive” tells the program to output planes with automatically refreshed screen every second
The option “net” enables networking support.

After a few seconds you should see the first planes:

You can even connect with your webbrowser to http://127.0.0.1:8080 to see the planes on a map.

Now you should see planes near you. It’s best to go outside with your antenna to track airplanes. You can even build better antennas ­čśë See the links below.

Happy plane tracking!

DIY Antenna: ADS-B wine cork antenna
Or if you use Windows see this post here: dump1090 on Windows

How to use iperf on an ESX host

Did you ever want to test the network-speed to your ESX-Host with iperf? iperf exists already on installations with vSphere 6.0. Follow this short description:

iperf is located on the ESX host at /usr/lib/vmware/vsan/bin/iperf

Execution of /usr/lib/vmware/vsan/bin/iperf gives an error:

bind failed: Operation not permitted

Workaround: Make a copy of the binary:

cp /usr/lib/vmware/vsan/bin/iperf /usr/lib/vmware/vsan/bin/iperfcopy

Disable the firewall during the tests:

esxcli network firewall set --enabled false

Start the copy of iperf:

/usr/lib/vmware/vsan/bin/iperfcopy -s

Perform tests from client: (download iperf here)

iperf -c <ESX-IP>

After the tests, don’t forget to re-enable the firewall with:

esxcli network firewall set --enabled true

Arduino powered Bobbycar for my Son

A project I’m currently working on, is the Arduino powered Bobbycar for my Son.
Because my Son is currently so interested in Switches / Buttons and Lights, I decided to add some on his Bobbyar with future extension possibilities.

I did not want to destroy his new Bobbycar, a gift from his Godmother. So I bought a used one (with trailer) for 20 bucks on ricardo.

BobbyCar

Prototype cabling & programming the RBBB (Also already used in this Project):

Cabling

Prototype Board designed with Fritzing:

fritzing-bobby

img_7075 img_7076

19.11.2016: Put all together.

img_7077

20.11.2016: Drilling, soldering, FINISHED ­čśë

carinaction

VMware VSAN delete/purge inaccessible objects

Sometimes it could happen, that you get inaccessible files on your ESXi Cluster with VSAN.
Here are the Steps to clean up inaccessible files with vCenter Server on Windows 2012R2:

Connect to vcenter server with rvc.bat in C:\Program Files\VMware\vCenter Server\rvc

login with administrator@vsphere.local@localhost:

C:\Program Files\VMware\vCenter Server\rvc>rvc.bat administrator@vsphere.local@localhost
 password:
 0 /
 1 localhost/
 >

Check command: vsan.check_state “pathToYourCluster”

> vsan.check_state /localhost/myDatacenter/computers/Cluster01/
 2016-07-14 07:34:49 +0200: Step 1: Check for inaccessible VSAN objects
 Detected 1 objects to be inaccessible
 Detected bf9c6a57-9cc3-d20c-ccb3-a0369f89ecac on 192.168.1.4 to be inaccessible

2016-07-14 07:34:50 +0200: Step 2: Check for invalid/inaccessible VMs

2016-07-14 07:34:50 +0200: Step 3: Check for VMs for which VC/hostd/vmx are out
 of sync
 Did not find VMs for which VC/hostd/vmx are out of sync

Delete inaccessible VSWP Objects command:
vsan.purge_inaccessible_vswp_objects /localhost/myDatacenter/computers/Cluster01/

vsan.purge_inaccessible_vswp_objects /localhost/myDatacenter/computers/Cluster01/
 2016-07-14 07:35:00 +0200: Collecting all inaccessible Virtual SAN objects...
 2016-07-14 07:35:00 +0200: Found 1 inaccessbile objects.
 2016-07-14 07:35:00 +0200: Selecting vswp objects from inaccessible objects by c
 hecking their extended attributes...
 2016-07-14 07:35:00 +0200: Found 0 inaccessible vswp objects.

Delete other inaccessible objects:
Connect to ESXi Server and issue the following command, which should show you the related objects:

/usr/lib/vmware/osfs/bin/objtool getAttr --bypassDom -u bf
9c6a57-9cc3-d20c-ccb3-a0369f89ecac -c

Check the output of the related object and make sure you can delete this file.

Delete the file with:

/usr/lib/vmware/osfs/bin/objtool delete -u bf9c6a57-9cc3-d
20c-ccb3-a0369f89ecac -f -v 10

Run check in vSphere Web Client on “Cluster” -> “Monitor” -> “Virtual SAN” -> “Health” -> Click on “Retest”.
Everything should be ok now.

Kleine Anekdote zu den iCloud AGB’s

iCloud-Logo

Hast du ein iPhone, ein iPad einen Mac oder anderes Apple-Ger├Ąt? Wenn ja, nutzt du sicher den bequemen iCloud-Dienst. Es macht schwupp und Bilder, Kalender, Dokumente und Kontakte sind pl├Âtzlich jederzeit auf all deinen Apple-Devices verf├╝gbar.

Mal ehrlich: Hast du die iCloud AGB’s vor der Zustimmung gelesen? Nat├╝rlich nicht! Wer vergeudet schon seine wertvolle Zeit damit die AGB’s zu lesen, geschweige denn zu verstehen! Ich habe mir mal die Zeit genommen und die AGB’s angeschaut. Dabei ist mir der Abschnitt E. Zugriff auf Ihren Account und Ihre Inhalte” besonders aufgefallen.

Darin heisst es, Zitat:

“… Sie erkl├Ąren sich damit einverstanden, dass Apple, ohne Ihnen gegen├╝ber zu haften, auf Ihre Accountinformationen und Ihre Inhalte zugreifen, diese nutzen, aufbewahren und/oder an Strafverfolgungsbeh├Ârden, andere Beh├Ârden und/oder sonstige Dritten weitergeben darf, wenn Apple der Meinung ist, dass dies vern├╝nftigerweise erforderlich oder angemessen ist, wenn dies gesetzlich vorgeschrieben ist oder wenn Apple einen hinreichenden Grund zu der Annahme hat, dass ein solcher Zugriff, eine solche Nutzung, Offenlegung oder Aufbewahrung angemessenerweise notwendig ist…”

Hmm,  Apple darf also eigentlich jedem bei Lust und Laune meine Daten geben, die ich in der iCloud gespeichert habe. Interessant oder?

Hier ├╝brigens der Link zu den AGB’s.

Ich pers├Ânlich nutze iCloud nur f├╝r Kontakte und Kalender, f├╝r alles Andere kann ich einen eigenen Seafile oder Owncloud Server empfehlen. Auch ein NAS von Synology oder QNAP bietet schon erheblichen Komfort mit Apps f├╝r diverse Platformen um eure privaten Daten auch privat zu halten.

Important FortiGate CLI commands

FortiGate High Availability Cluster CLI commands:

Manage the specified FortiGate unit (X ist the unit number):

execute ha manage X

Set the current ForitGate Unit as master:

diag sys ha set-as-master enable

Get HA Status:

get system ha status

 

FortiGate Session commands:

Get all Sessions:

diag sys session list

Filter Sessions:

diagnose sys session filter

Clear Sessions (only filtered ones or all):

diagnose sys session clear

Clear Filter:

diag sys session filter clear

LetsEncrypt on CentOS 6 – Free SSL certificate for everyone!

This is a short manual how to use Let’s Encrypt on CentOS 6 with Apache Webserver:

1. Install dependencies:

Download, unzip and install Python:

wget https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tgz
tar -xvpzf Python-2.7.11.tgz
cd Python-2.7.11
./configure
make altinstall

Install Git:

yum install git
git clone https://github.com/letsencrypt/letsencrypt

2. Stop apache:

Continue reading LetsEncrypt on CentOS 6 – Free SSL certificate for everyone!