Private WAN to connect multiple sites using WireGuard

Hello all!

Today I wanted to share how I made my network, connecting together my base LAN at my flat together with other devices outside it and other sites, or virtual locations.

Picture on the right shows map of target network that will be finished soon, for now I’m lacking few elements. The map is centered around my WnekoTank Rover project, so it’s also missing many elements, but general topology is there and I’ll cover all the details in following descriptions of each part.

I decided on such “star” architecture as, first of all, I have static IP address at my flat, so it’s easy to configure all “clients” to connect to it, and also makes configuration easier, all other devices have to route local traffic just here and only here is it spread around. Configuring it in a “mesh” would be just much more complicated, as for example to connect from laptop (on mobile connection) to my Rover would require checking public IP first and changing configuration accordingly, or using some DDNS service, also each device would need to have separate WireGuard and routing configuration for each other device. Compared to that having central hub with static public IP makes everything much easier.

Read more “Private WAN to connect multiple sites using WireGuard”

WnekoTank development plan

Introduction

Past few weeks, due to changing apartment and other personal stuff I had to pause work my WnekoTank rover project.

I’m almost at the end of 2nd iteration, where first was just basic remotely controlled platform able only to be directly controlled like RC car, and now second being finished mostly on hardware side and having all building blocks needed for later autonomy:

  • Ability to program series of movements, which can later be user by pathfinding algorithms to move over selected route,
  • Having basic proximity sensors for emergency stopping on obstacles,
  • Gimbal allowing view for operator around whole rover, also translating image clicks into camera or rover movement – later to be used in conjunction with pathfinding
  • Base stereo camera for computer vision – to be used with stereoscopic 3d mapping of terrain in front for pathfinding and for obstacle detection
  • Complete reorganization of all electronics onboard

Now I’m slowly working on 3rd iteration – which won’t provide much hardware changes, maybe some additional sensors and finally finishing at least most important parts of chassis to allow using it outdoors. But this will require many, many different software elements to be written and put together, this time consisting of many different technologies ranging from basic console app solutions, to Azure. This post is just roadmap, where I can systematize future steps and those already taken.

Read more “WnekoTank development plan”

Video surveillance part 2 – installing MotionEye

In my previous post I configured basic video capabilities for web camera connected to OpenWRT router. Today I decided to go further and install more advanced software that would in fact be a surveillance solution. I decided to try with Motion package and MotionEye interface for it.

Read more “Video surveillance part 2 – installing MotionEye”

Netgear R6220 installing packages to reserved space

Today I was playing around quite a lot with my router. I wanted to put on it MotionEye, but I found one, quite big (or small, depending on how to look at it) problem – although R6220 has 128MB of memory installed, for packages only around 20MB is available. Quick googling explained problem:

Read more “Netgear R6220 installing packages to reserved space”

OpenWRT backup and network config corrupted

Today i wanted to try something new on my OpenWRT router… And while meddling with files by accident i corrupted network settings. I was unable to access it neither through LUCI, nor even SSH. I quickly found DHCP must have not been working, but even manually configuring network card did not helped. What to do?

Read more “OpenWRT backup and network config corrupted”

OpenWRT log to file with bash script

Today I had quite strange experience – in the evening I saw webcam connected to my router has it’s LED lit up meaning it’s working. Yet – it should be disabled as I left mjpeg-stream turned off and haven’t configured other surveillance method yet. First thought – have I been hacked? CPU usage graph shows around 6PM it spiked so it must have started then.

Read more “OpenWRT log to file with bash script”

Video surveillance through router

How I configured my OpenWRT router with web camera to have real time video feed

Hello everyone and thanks for reading my first post here!

Today I decided I want to finally try connecting webcam to my router to get additional video surveillance possibilities, here are some notes on configuring everything to work. Main purpose is just to remember what i did for future – but if someone will find it useful then even better 🙂

I’m renting flat alone for the first time – before I always had room- or flatmates. Of course having your own apartment has a lot of advantages, but there are also some obvious drawbacks.

Read more “Video surveillance through router”