Networking – Dirty Optics https://dirtyoptics.com Jack of all trades, Master of none Sun, 27 Oct 2024 09:19:06 +0000 en-US hourly 1 Wardriving: Capturing ALL the WiFi https://dirtyoptics.com/wardriving-capturing-all-the-wifi/ https://dirtyoptics.com/wardriving-capturing-all-the-wifi/#respond Mon, 12 Feb 2024 13:00:38 +0000 https://dirtyoptics.com/?p=55518 Wardriving is the practice of driving around a vehicle/bike or drone to discover Wi-Fi networks, mapping their locations, and sometimes logging their details, such as SSID (network name), security protocols, and signal strength. This activity, often performed by hobbyists, cybersecurity researchers, and hackers. It involves using a laptop, smartphone, or a specialized device equipped with Wi-Fi scanning software. (RPi4 etc…) While wardriving itself is not illegal, it raises privacy and security concerns as it can potentially be used to exploit unsecured networks or to gather data for malicious purposes. Consequently, it underscores the importance of securing Wi-Fi networks with strong encryption and passwords to protect against unauthorized access.

This build is based on the following hardware:

My Enclosure (Inspiration from Krrawn’s version here.)

    • Print Settings:
      • 20% infil
      • No Supports
      • Print orientation: Faces flat
      • 0.20 Layer height.

UPDATE: New design fits both Jhewitt and WiSpy boards. Also fits a LiPo Battery in the rear.

Enclosure Lid STL

Middle STL

Battery Pack STL

These STL’s are not for commercial use. You do not have permission to sell or use this design for commercial purposes unless written permission has been given.

 

BOM:

4 x 16mm M3
4 x 8mm M3
8 x M3 x 4 x 5 Threaded Inserts.

1 x Lid STL
1 x Middle STL
1 x Battery Pack STL

1 x STEP UP, LiPo to 5v.
1 x Lipo Charger (https://www.aliexpress.com/item/1005006514259622.html?spm=a2g0o.order_list.order_list_main.82.652e1802qawb6a)
1 x switch (https://www.jaycar.com.au/spdt-micro-slide-switch/p/SS0834)
1 x 5000 mAh LiPo 105570

 

 

]]>
https://dirtyoptics.com/wardriving-capturing-all-the-wifi/feed/ 0
How to Monitor a Raspberry Pi Remotely https://dirtyoptics.com/how-to-monitor-a-raspberry-pi-remotely/ https://dirtyoptics.com/how-to-monitor-a-raspberry-pi-remotely/#respond Sun, 11 Oct 2020 13:51:18 +0000 https://dirtyoptics.com/?p=54921 I’m working on a project that houses a bunch of Raspberry Pi computers in multiple remote locations. I wanted to be able to monitor the “Health” of the hardware in these remote locations. The metrics I was hoping to capture are Up-time, CPU temps, CPU usage, Memory and disk usage, etc.. as you may have noticed, I also have a love/hate relationship with Grafana, which made it the only choice for displaying these metrics in a user-friendly way.

Prerequisites:

1 x VM running Ubuntu 20.04 – I tested using a Cloud Compute server on VULTR, but you could use any VM that is on the same network as the RPi.

1 x RPi – As long as the RPi is on the same network it will be good to go. I tested over a VPN and it worked also.

Software Stack:

Influxdb – As usual the time series database.

Grafana – My favorite program for displaying this kind of data.

Telegraf – A plugin server agent for collecting and passing hardware metrics such as CPU, Temps, RAM, Storage, etc…

Install InfluxDb on VM/Host

Install Grafana on VM/Host

PLEASE READ: Now that our host/server has Grafana and InfluxDb Installed. We need to install Telegraf on the RPi that we wish to fetch metrics from. Don’t worry, we will come back and configure Grafana/InfluxDb Shortly.

Install Telegraf on Raspberry Pi (RPi)

Configuration – Telegraf on RPi

Telegraf.conf

PLEASE READ: Now that we are done configuring the Raspberry Pi, it’s back to the VM/Host to configure influx and grafana.

Configuration – InfluxDB on VM/Host

Configuration – Grafana

Navigate to your Grafana Install: http://<server-ip-address>:3000

Login: default login is admin:admin

Please change the username and password straight away.

The first step is to add the Influxdb data source:

Grafana Datasource

The second step is to import the Dashboard – We used this dashboard from the Grafana Library:

https://grafana.com/grafana/dashboards/10578/reviews Props to Jorge

To import the dashboard, navigate to DASHBOARD > MANAGE > IMPORT

Insert 10578 into the field and click ‘Load’

Grafana Import Dashboard

 

 

 

 

 

Make sure you then select the datasource to associate with the dashboard.

Grafana Import Dashboard

 

 

 

 

 

You should now be greeted with a Dashboard that is connected to the RPi.

Dashboard Complete

 

The rest is now up to you! Add multiple RPi’s. You can switch between them at the top of the Dashboard.

A big thanks to Dorian Machado and his article. Also Jorge de la Cruz and his Dashboard! These guys did the real heavy lifting.

]]>
https://dirtyoptics.com/how-to-monitor-a-raspberry-pi-remotely/feed/ 0