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


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”

D-Link DNS-320L NAS – fan modification

Few months ago, when I moved to my current apartment, I bought this tiny little NAS used but in perfect condition to be part of my home network. I quickly found out it has quite a few drawbacks, but most of them I was able to find a way around, and taking into account how cheaply I’ve got it – I was happy with it. Till the end of the year I want to get full sized server so probably it wont be needed anymore, and for current usage it was almost perfect. More on it it another post, but today I wanted to write more about that “almost” part…

Yes, there was one extremely annoying thing about it. It was LOUD. And I mean – extremely loud for such small, low power device. It has just little 40x40mm fan and it’s making soooo much noise… I haven’t done any measurements but to be honest I felt like it was more annoying than my powerful i7-7700K workstation! With all it’s multiple fans – at night, when sometimes i left it working, it still had more pleasant sound than this little howling monster…

Read more “D-Link DNS-320L NAS – fan modification”

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”