OpenWRT extRoot & openVPN

Install extRoot
OpenWRT – Rootfs & Swap on USB Storage

Install openVPN

Setup OpenVPN using OpenWRT

Config firewall

* OpenVPN on the OpenWRT

openVPN routing problem explanation and solution

OpenVPN and iroute

How To Assign Static IP Addresses to OpenVPN Clients In pfSense

Low power foto-webcam

I’m working on a new project, a low power foto-webcam. The idea come from website, they are installing this systems in remote area from many years. However, they use to leave the system always turned on, instead I want to turn the system ON only when the camera have to take the picture.

I’m doing this with a STM32L0 evaluation board and a Mosfet to turn the system ON/OFF.

Here is the picture of the first prototype (the camera power supply is not yet implemented)

I will write further details and post my script.

OpenWRT check wireless link status

You can check if your interface is connected to an AP with

iw wlan0 link

and the output is something like this

SSID: blabla
freq: 2432
RX: 196892 bytes (1278 packets)
TX: 19107 bytes (125 packets)
signal: -35 dBm
tx bitrate: 57.8 MBit/s MCS 5 short GI

bss flags: short-preamble short-slot-time
dtim period: 0
beacon int: 100