Blog Posts

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. [email protected]:~$ sudo -i [email protected]:~# cd /config/scripts [email protected]:/config/scripts# curl -LO --silent [email protected]:/config/scripts# chmod +x [email protected]:/config/scripts# ./ [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

Password recovery for Alcatel Omniswitch 6250/6450

It happens to lost the password for Alcatel Omniswitches 6250/6450 series.To recover the password you have to press “s” key at booting that will boot your switch into some kernel location where you can delete user table with passwords included (it means you will reset/delete current password list) WARNING: Stopping in miniboot as directed by boot flagsā€¦ [Miniboot]->cd "network" value = 0 = 0x0 [Miniboot]->ls . .. userTable5 lockoutSetting policy.cfg ssh_host_dsa_key value = 0 = 0x0 [Miniboot]->xdelete "userTable5" value

Continue Reading

Kernel panic to a bricked EdgeRouter X

For multiple locations we decided to use this model because if very cheap and powerful.First we had to decide to use between Zerotier and Wireguard but because of the time that zerotier is very easy to configure and because branches only have to access a webserver page we choose Zerotier. First tutorial on the internet showed us that is working with no problems on verson 2.X from Ubiquiti but we wanted go further just to be easier later on. In

Continue Reading

OpenWrt to Meraki MR33

As i got this for free from Cisco and i had to get rid of the firmware and license, OpenWRT is what we actually need. Step1. Open the case.Step2. You need a UART serial console. For this i used Raspberry Pi 4. Pins and how to can be found online, just google it.Step3. Once you are connected, you need pre-flash using UART serial.Step4. After pre-flashing is done, AP is listening for a TFTP device from where to download rest

Continue Reading

How to disable Wireguard static routing

I’m familiar to use dynamic routing and not static routing. All tutorials are with static routing where wireguard is included. First i tried to add the routing and then disable the routing in the same command. Like this: PostUp = ip route delete dev wg0; ip route delete dev wg0PostDown = sleep 2 Then i found a way to disable the complete manual routing with this syntax in the wireguard config file. Table = off Source.

Vyos – Wireguard p2p BGP bug

It looks like that after couple of days of testing wireguard through vyos and using BGP for dynamic routing, i have issue with some routes learned. Actually i discovered that this is a bug of vyos with wireguard. Routes are actually learned but are marked neighbor is marked as inactive and routers are not saved in the kernel routing tables.Routers are there but not there. Currently there is bug opened at vyos that should be fixed in the next version

Continue Reading

How to use Raspberry Pi as a serial console server for network switches

From time to time in my daily job i need very fast console access remotely to some network switches. This is not easy all the time.Digging around i found a solution using minicom as a linux application but when you would like to use all 4 USB ports and you need to connect to multiple switches, this is a challenge. Then i found another application called ser2net but the problem was related to USB RS232 adaptors. If you change USB

Continue Reading

Site Footer