Blog Posts

Ansible ssh-dss workaround for AOS6

These days as was fighting with configuration of multiple AOS6 and AOS8 switches using Ansible and I discovered that for old versions of AOS6, this doesn’t work because of the encryption limitation of the python. Error that I had: As a workaround I had to edit: And find those two lines: And replace them with: Don’t need to reload any services, just works after. Source.

Snmp “extend” to OpenWrt Meraki MR33

I discovered recently that Librenms is capable to “handle” and show wifi sensors and because i had a OpenWrt AP running i tried to have it running but… It wasn’t running as it was described. Here i would like to explain what i did to make it running.Two issues that are not discribed in the documentation: Librenms don’t have MIB or snmp-mibs. OpenWrt had a bug that doesn’t have “extend’ feature enabled in my running SNMP application. For problem number

Continue Reading

Installing and Troubleshooting eNMS

Because i started with LibreNMS and then with Netbox, i saw that eNMS can be synced with Librenms. The installation documentation was not the best, really don’t know the exact reason behind. No VM machine for DEMO. I’m guessing that docker demo can be the easier to do it but if i have enough space, i would like to avoid it. Because i recently did a Netbox installation, i discovered that 80% of eNMS installation is really the same and

Continue Reading

Installing and Troubleshooting Netbox

Today because i had some free time, i start to install and configure Netbox to a new virtual machine with Ubuntu 18.04. Found some tutorials online but looks like this was not an easy concept like having a short apt-get install netbox. This is not the case here. One of the best and very recently looks like to be this one. Credit to the author.Installation was pretty fast. Issues: Make sure you put ” inside [] for the IP’s. Example:

Continue Reading

Add temperature and fan data to SNMP -> EdgeRouter

While playing with Librenms and EdgeRouter Infinity i found out that temperature and fan is missing from SNMP. Found that somebody did it manually but for USG PRO and i did it for Ubiquiti EdgeRouter Infinity 2.0.8 version. We are going to use the same concept.Step1: ssh to your EdgeRouter. You can use Filezilla or putty. Default user/pass: ubnt/ubnt.Step2: sudo -i (to become root)Step3: create scripts for monitoring and checking fan and temperature. We have 5 sensors for temperature and

Continue Reading

How to resize a added new disk to a current running partition in Ubuntu 16.04 (running under VMware ESXi)

I would like to describe how i expand the current partition to a new added hard drive under ESXi (not expanding the running hard drive/partition).Because i saw to many tutorials, it was not clear for me how does this works. What we have:– 2 hard drives– 1 of 10 GB– 1 of 50 GB– third one just added of 100GB (the new one)– there is a running partition of 60 GB (aprox)– want to expand the running partition to 150-160

Continue Reading

How to configure VyOS as a home router

Because i’m a networking guy, i don’t like the default view of vyos configuration and I want to see clear cisco like configuration. For this i’m using “show configuration commands”. It works better I would say. We have here: free tunnel to https://tunsafe.com/vpn using wireguard i have a free hotspot configured that is using wireguard to tunsafe. This hotspot have only 443 and 80 enabled. DNS works as well. This means free wifi for my neighbors. ppooe connection dhcp for

Continue Reading

Best OS for Homebridge and how to install it

So the best OS for Homebridge from my point of view is DietPi (even de VMware version). It’s very light and fast for homebridge. How to install Homebridge on DietPI? First of all, using dietpi-software (command in terminal) you have to install using search software bellow applications: build-essentials avahi-daemon node.js python And then using apt-get install bellow: # apt-get install -y libavahi-compat-libdnssd-dev # npm install -g --unsafe-perm homebridge hap-nodejs node-gyp # npm which default # cd /usr/local/lib/node_modules/ # npm install

Continue Reading

Script to install WireGuard on Ubiquiti

Because i had some issues with configuration lost on Edgerouter ER-4 after power loss i’ve search how to upgrade wireguard without losing configuration (like pubkey and privkey).I found this. Works pretty good. Installed. Saved. Reboot. ubnt@ubnt-oradea:~$ sudo -i root@ubnt-oradea:~# cd /config/scripts root@ubnt-oradea:/config/scripts# curl -LO --silent https://github.com/whiskerz007/ubnt_get_wireguard/raw/master/get_wireguard.sh root@ubnt-oradea:/config/scripts# chmod +x get_wireguard.sh root@ubnt-oradea:/config/scripts# ./get_wireguard.sh [INFO] Board model: EdgeRouter 4 [INFO] Board type: e300 [INFO] Board repo mapping: e300 [INFO] Firmware version: v2.0.4.5199165.190605.1549 [INFO] Installed WireGuard version: 0.0.20190601-1 [INFO] Release version: 0.0.20191219-2 [INFO]

Continue Reading

Pi-hole as ad blocking DNS + OS for it

I had to remove Pi-hole from the Raspberry Pi just to use resources for something else.As i have a ESXi host, i just need a clean OS (linux) where to deploy Pi-hole. Best option from my point of view? Diet-Pi (VMware version) + Pi-hole. Problem 1. Because VMware version doesn’t work directly into ESXi tool/webpage i had to import version (I used Virtual Box version) on VMware Workstation (Windows version) and then export OVA from there. Problem 2. Installation of

Continue Reading

Site Footer