How to setup adblocker on OpenWrt router

In this quick guide we will see how to setup adblocker on OpenWrt router. I tested this on PandoraBox (OpenWrt based firmware for Xiaomi Mi3 router) and it works beautifully. Installing necessary packages We need to install some packages before setting up adblocker. First SSH into your router then execute the below commands (execute those commands one by one) wget --no-check-certificate https://gist.githubusercontent.com/k4mrul/6d0e395e5a332c2a2c27756d0d3b4c51/raw/dba9996ff7a0cd5973fe5ef93dbb0909d49cc180/ssl-in-wget.sh chmod +x ssl-in-wget.sh sh ssl-in-wget.sh Setting up adblocker Execute those below commands to download my custom adblocker script into /etc directory....

May 26, 2020 · Kamrul

Configure internet connection (PPPoE) in OpenWrt router

Previously we saw how to setup OpenWrt on Xiaomi Router 3. In this tutorial we will configure internet connectivity (PPPoE) via SSH. SSH into your router (IP: 192.168.1.1, username: root, password: admin or your selected admin password) Now issue the below command: vi /etc/config/network Paste this (remember to change ‘username-given-by-isp’ & ‘password-given-by-isp’ fields. Also If your ISP needs specific mac address to connect, change ‘’ the field also): config interface 'wan' option ifname 'eth0....

July 24, 2019 · Kamrul

How to install OpenWrt on Xiaomi Mi Router 3

(last update: 08-Mar-2021) OpenWrt is an embedded operating system based on Linux. You will get full power of Linux in your home router. OpenWrt has a lot of powerful features that default firmware doesn’t offer. There are several OpenWrt based firmwares for Xiaomi Mi Router 3. Among of them, PandoraBox and X-Wrt work very well in Xiaomi Mi Router 3. However, PandoraBox is discontinued. Means Mi Router 3 might not get any latest update from PandoraBox....

July 24, 2019 · Kamrul