{"id":1041,"date":"2023-02-14T12:38:37","date_gmt":"2023-02-14T07:08:37","guid":{"rendered":"https:\/\/lazytourer.com\/in\/?p=1041"},"modified":"2023-02-19T20:43:13","modified_gmt":"2023-02-19T15:13:13","slug":"openwrt-firmware-flashing-in-mi-4a-gigabit-wifi-router","status":"publish","type":"post","link":"https:\/\/lazytourer.com\/in\/openwrt-firmware-flashing-in-mi-4a-gigabit-wifi-router\/","title":{"rendered":"OpenWRT firmware flashing in Mi 4A Gigabit WiFi Router"},"content":{"rendered":"\n<p>The Mi Router 4A Gigabit Edition is a cost-effective option for those looking for a dual-band gigabit WiFi 5 router in India. We have conducted a thorough review of the product, which can be found below.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Budget Gigabit Router for India by Xiaomi - Mi 4A Review\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/ysf_s73M1bg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>As you can see or read (Our Website article -&gt; <a href=\"https:\/\/lazytourer.com\/in\/xiaomi-mi-router-4a-gigabit-edition-review-budget-wifi5-router-for-india\/\" target=\"_blank\" rel=\"noreferrer noopener\">Mi 4A Router Gigabit Edition Review<\/a>) in the review, with any mainstream consumer end routers, although the hardware specifications are excellent but actual capabilities are really limited due to the stock firmware supplied with the router. But fortunately, the good thing is OpenWRT support of this router.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Amazon_Product_Page.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"343\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Amazon_Product_Page.jpg\" alt=\"\" class=\"wp-image-1087\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Amazon_Product_Page.jpg 400w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Amazon_Product_Page-300x257.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<iframe sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/ws-in.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=IN&amp;source=ss&amp;ref=as_ss_li_til&amp;ad_type=product_link&amp;tracking_id=lazytourer-21&amp;language=en_IN&amp;marketplace=amazon&amp;region=IN&amp;placement=B09MKG4ZCM&amp;asins=B09MKG4ZCM&amp;linkId=4883880e85d8a3f79137ad066917c169&amp;show_border=true&amp;link_opens_in_new_window=true\"><\/iframe>\n\n\n\n<p>Check out the <a href=\"https:\/\/amzn.to\/3RVyS4O\" target=\"_blank\" rel=\"noreferrer noopener\">latest price of Mi 4A Router<\/a> Gigabit Edition at Amazon India<\/p>\n<\/div>\n<\/div>\n\n\n\n<p>In this article, we are going to share a step by step guide and tutorial on how to flash or install OpenWRT custom firmware in a Xiaomi Mi 4A Router Gigabit Edition. Further, we shall also cover the process on how to setup Internet \/ LAN and WiFi of your Mi 4A router running OpenWRT firmware.<\/p>\n\n\n\n<p class=\"has-text-align-center has-white-color has-vivid-cyan-blue-background-color has-text-color has-background has-large-font-size\"><strong>What is OpenWRT?<\/strong><\/p>\n\n\n\n<p>OpenWRT is a custom and open-source firmware for routers or any x86 hardware.<\/p>\n\n\n\n<p>OpenWRT Project Website -&gt; <a href=\"https:\/\/openwrt.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/openwrt.org\/<\/a><\/p>\n\n\n\n<p>In simple terms, just like when you buy a PC, it may come with Microsoft Windows as Operating system but if you want or need, you can choose to delete that and Install Linux. Here too, consumer end routers come with their own company given software (which is called Firmware) for operation and control but if you want or need, you can flash that and replace it with Open-Source software like OpenWRT or DD-WRT.<\/p>\n\n\n\n<p class=\"has-text-align-center has-white-color has-vivid-cyan-blue-background-color has-text-color has-background has-large-font-size\"><strong>Why Installing and Flashing OpenWRT?<\/strong><\/p>\n\n\n\n<p>Dell \/ HP \/ Lenovo, all these multinational large PC manufacturers don&#8217;t actually make any PCs. All of them buy off the shelf parts like Processor, Graphics Card, RAM and stuff like that and then assembles all these parts in their own case &amp; sell it to us. Often, they would include software like Microsoft Windows as the operating system. Now if you look at these parts on their hardware capabilities, they are perfectly capable of turning this PC into a server or do way more than what Microsoft Windows Home SL edition would allow. It is just the software which is holding it back. So you have the option to remove stock software and install Linux and use the full capabilities of the given hardware.<\/p>\n\n\n\n<p>Similarly router makers too do the same. They mostly buy off the shelf parts like Network ICs, Radio Modems, SoC board and assembles them into their own casing. Major difference here is the software. There is no Windows for routers so all the manufacturers of WiFi Router or network hardware have their own software team. Like Apple, they make custom software for each routers they sell and just like apple, although a specific router may contain hardware capable of doing many advance tasks, they would remove that capability from their software. They do it for two reasons, No.1 home users will never need such pro and advance features. It will only confuse them and hamper easy operations and No.2 they can sale the same hardware with more software features with inflated price.<\/p>\n\n\n\n<p>Here comes OpenWRT to rescue. An open-source custom firmware for routers to allow you use the full potential of your router hardware by unlocking all the advance and pro features and options.<\/p>\n\n\n\n<p><strong>Caution &#8211; You are warned<\/strong> !!<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Simple regular home users really don&#8217;t need OpenWRT. Router Custom firmware is sufficient. OpenWRT will unnecessarily complicate things for you. If you are unsure, then most likely you don&#8217;t need OpenWRT.<br><\/li>\n\n\n\n<li>OpenWRT will void your warranty so proceed with caution.<br><\/li>\n\n\n\n<li>OpenWRT installation is complicated and needs advance skills. Furthermore, chance of destroying your router is high since a simple mistake while flashing can ruin it for you.<br><\/li>\n\n\n\n<li>Flashing OpenWRT will void your product warranty. So if anything goes wrong, repair or replacement is out of question.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-center has-white-color has-vivid-cyan-blue-background-color has-text-color has-background has-large-font-size\"><strong>Prerequisites<\/strong><\/p>\n\n\n\n<p>This step by step guide &amp; tutorial is for Mi Router 4A Gigabit Edition. Different models will have their own process so this process is only applicable to Xiaomi Mi Router 4A Gigabit Edition (Version R4A only)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"366\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/R4A_Version.jpg\" alt=\"\" class=\"wp-image-1096\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/R4A_Version.jpg 650w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/R4A_Version-300x169.jpg 300w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n\n\n\n<p>Before you begin, make sure to complete this prerequisite checklist.<\/p>\n\n\n\n<p><strong>Hardware<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Xiaomi Mi Router 4A Gigabit Edition -&gt; We are flashing OpenWRT Firmware on this device.<br><\/li>\n\n\n\n<li>RJ45 LAN Network Cable<br><\/li>\n\n\n\n<li>Computer (Desktop or Laptop) with RJ45 LAN Network Port<br><\/li>\n\n\n\n<li>Working Internet Connection to the Router WAN Port<br><\/li>\n\n\n\n<li>Power Backup for router and your computer -&gt; Both router and computer must be on proper power backup. You must avoid restart or turn off during flashing process since any reboot or turning off during flashing and OpenWRT installation process may result in a destroyed router.<\/li>\n<\/ul>\n\n\n\n<p><strong>Software<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows 10 or 11 (with admin rights) \/ A HyperVisor (like VMWare or Virtual Box or Microsoft Hyper-V) \/ Ubuntu Server LTS ISO \/ FileZilla Client \/ OpenWRT Full install firmware file<br><\/li>\n\n\n\n<li>MAC Address of WAN Interface of your Present Router<\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-center has-white-color has-vivid-cyan-blue-background-color has-text-color has-background has-large-font-size\"><strong>OpenWRT &#8211; Flashing &amp; installing<\/strong><\/p>\n\n\n\n<p><strong>Installing Linux VM<\/strong><\/p>\n\n\n\n<p>Some of the commands needs to be run from Linux, so if you are already having a working Linux computer then fine, otherwise for those who are with Windows PCs, you need to install a Linux VM (Virtual Machine). You can use Virtual Box \/ VMWare or Windows built-in Microsoft Hyper-V software to create a virtual machine using Ubuntu Server ISO. While you are installing Ubuntu Server, make sure to install OpenSSH server when asked by the installer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"417\" height=\"260\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/01\/Ubuntu_Install_02.jpg\" alt=\"\" class=\"wp-image-893\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/01\/Ubuntu_Install_02.jpg 417w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/01\/Ubuntu_Install_02-300x187.jpg 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/figure>\n\n\n\n<p>Make sure to keep the Ubuntu Virtual Machine on external \/ bridge mode network to allow the VM to obtain DHCP IP directly from router.<\/p>\n\n\n\n<p>Ubuntu \/ Hyper-V \/ Virtual Box and VMWare Player, all these are free software and they have many guides on how to install them. Just follow any and complete the installation.<\/p>\n\n\n\n<p><strong>Getting the software<\/strong><\/p>\n\n\n\n<p>You will lose Internet connectivity during the flashing process. So obtain the needed software and files before starting,<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download and install FileZilla FTP client for Windows -&gt; <a href=\"https:\/\/filezilla-project.org\/download.php?type=client\" rel=\"noopener\">Download FileZilla Client for Windows (64bit x86) (filezilla-project.org)<\/a><br><\/li>\n\n\n\n<li>Download the OpenWRT Firmware Full install -&gt; <a href=\"https:\/\/openwrt.org\/inbox\/toh\/xiaomi\/xiaomi_mi_router_4a_gigabit_edition\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/openwrt.org\/inbox\/toh\/xiaomi\/xiaomi_mi_router_4a_gigabit_edition<\/a> (Save the firmware file as openwrt.bin)<\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-center has-white-color has-vivid-cyan-blue-background-color has-text-color has-background has-large-font-size\"><strong>Flashing Process<\/strong><\/p>\n\n\n\n<p>Make sure that your Router is connected to the Internet via WAN port and your PC (from which you are flashing and installing OpenWRT) is connected the LAN Port of the router. Both Router and your PC must be having proper power backup. There can&#8217;t be any sudden restart \/ reboot or shutdown during this process.<\/p>\n\n\n\n<p><strong>Step 1 :- Ubuntu VM Login \/ Update<\/strong><\/p>\n\n\n\n<p>Use your HyperVisor (VMWare \/ VirtualBox or Hyper-V) to start the Ubuntu VM.<\/p>\n\n\n\n<p>Start a command prompt in your Windows by clicking start menu and type <strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">cmd<\/mark><\/code><\/strong>. Then right click on it to start it as administrator.<\/p>\n\n\n\n<p>You can run following command in your command prompt to do a remote login to Ubuntu VM.<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">ssh username@VM.IP.Address<\/mark><\/strong> -&gt; Enter your Ubuntu username and password to login.<\/p>\n\n\n\n<p>Then run, <strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo su<\/mark><\/code><\/strong><\/p>\n\n\n\n<p>Then run <strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo apt update &amp;&amp; apt upgrade -y<\/mark><\/code><\/strong> -> This will update the Ubuntu VM. Once the update finishes, run <strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo reboot<\/mark><\/code><\/strong> -> This will restart the VM.<br><br><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Ubuntu-VM-Update-01.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"107\" class=\"wp-image-1100\" style=\"width: 150px;\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Ubuntu-VM-Update-01.jpg\" alt=\"\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Ubuntu-VM-Update-01.jpg 717w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Ubuntu-VM-Update-01-300x213.jpg 300w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n\n\n\n<p><strong>Step 2 :- Install Dependencies<\/strong><\/p>\n\n\n\n<p>Login to Ubuntu VM using command prompt then run following commands,<\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo su<\/mark><\/code><\/strong><\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo apt install git pip python3 -y<\/mark><\/code><\/strong><\/p>\n\n\n\n<p><strong>Step 3 :- OpenWRT Invasion<\/strong><\/p>\n\n\n\n<p>We are using a GitHub project called <a href=\"https:\/\/github.com\/acecilia\/OpenWRTInvasion\" target=\"_blank\" rel=\"noreferrer noopener\">OpenWRTInvasion<\/a> for this process. So run following commands in your Ubuntu VM (via Windows cmd login)<\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo su<\/mark><\/code><\/strong><\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo git clone https:\/\/github.com\/acecilia\/OpenWRTInvasion.git<\/mark><\/code><\/strong><\/p>\n\n\n\n<p><code><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">cd OpenWRTInvasion<\/mark><\/strong><\/code><\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo pip3 install -r requirements.txt<\/mark><\/code><\/strong><\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo python3 remote_command_execution_vulnerability.py<\/mark><\/code><\/strong> -&gt; Now this command will ask for few things like, <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Your Mi 4A Router IP Address :- Enter what is your Router IP Address<\/li>\n\n\n\n<li>Admin Password :- Enter your Router Password.<\/li>\n\n\n\n<li>Invasion File Option :- Enter <strong>2<\/strong> for downloading it directly from GitHub.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"486\" height=\"136\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Script_View_02.jpg\" alt=\"\" class=\"wp-image-1054\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Script_View_02.jpg 486w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Script_View_02-300x84.jpg 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/figure>\n\n\n\n<p>Once the script is run, it will generate an output. Copy that output into a Notepad file. You may need it at a later stage for router login.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"289\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Script_View_03.jpg\" alt=\"\" class=\"wp-image-1055\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Script_View_03.jpg 485w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/Script_View_03-300x179.jpg 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/figure>\n\n\n\n<p><strong>Step 4 :- Uploading the OpenWRT Firmware into the Router<\/strong><\/p>\n\n\n\n<p>Visit <a href=\"https:\/\/openwrt.org\/inbox\/toh\/xiaomi\/xiaomi_mi_router_4a_gigabit_edition\" target=\"_blank\" rel=\"noreferrer noopener\">OpenWRT download page<\/a> and download the latest Full Install Firmware. Save it in your PC and rename it to openwrt.bin<\/p>\n\n\n\n<p>Now launch File Zilla in your Windows PC. Install it if you haven&#8217;t done it already.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"480\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/FTP_Connect_01.jpg\" alt=\"\" class=\"wp-image-1058\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/FTP_Connect_01.jpg 749w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/FTP_Connect_01-300x192.jpg 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/figure>\n\n\n\n<p>Host :- Router IP \/ UserName :- root \/ Password :- Root -&gt; Click Quickconnect to connect to the router via FTP. Once you have successful connection, upload the OpenWRT ROM File that you have downloaded to the <strong>tmp<\/strong> directory of the router<\/p>\n\n\n\n<p><strong>Step 5 :- Flashing the ROM<\/strong><\/p>\n\n\n\n<p>Under Ubuntu VM Logged in terminal, type following command to log into the router via telnet.<\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">telnet 192.168.1.1<\/mark><\/code><\/strong> -&gt; Enter user name and password to log in (UserName :- root \/ Password :- root)<\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">cd \/tmp<\/mark><\/code><\/strong><\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">mtd -e OS1 -r write openwrt.bin OS1<\/mark><\/code><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"516\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/ROM_Flashing_01.jpg\" alt=\"\" class=\"wp-image-1103\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/ROM_Flashing_01.jpg 608w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/ROM_Flashing_01-300x255.jpg 300w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/figure>\n\n\n\n<p>This flashing process may take some time and router will reboot during this process. So have patience during it. Once it completes the job, your Mi 4A Router Gigabit Edition is now running OpenWRT Firmware.<\/p>\n\n\n\n<p class=\"has-text-align-center has-white-color has-vivid-cyan-blue-background-color has-text-color has-background has-large-font-size\"><strong>OpenWRT Configuration for Mi Router 4A Gigabit Edition<\/strong><\/p>\n\n\n\n<p>Once the flashing process has finished, now you can log into the OpenWRT control panel via the browser of your PC. The default access URL \/ IP address for OpenWRT Router Login is 192.168.1.1. The router page first login needs no password, username is root. So once you log in, change the password to your own.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_First_Login_01.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"326\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_First_Login_01.jpg\" alt=\"\" class=\"wp-image-1060\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_First_Login_01.jpg 450w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_First_Login_01-300x217.jpg 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_First_Login_02.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"563\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_First_Login_02.jpg\" alt=\"\" class=\"wp-image-1061\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_First_Login_02.jpg 574w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_First_Login_02-300x294.jpg 300w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>Router isn&#8217;t connected to the Internet yet but since it is an official OpenWRT firmware release for Mi Router 4A Gigabit Edition, so your network interfaces and stuff like that are already configured. You just need to change WAN the settings as per your ISP for internet access to work &amp; setup the WiFi SSID \/ Password for WiFi to work.<\/p>\n\n\n\n<p><strong>Step 1 :- LAN DHCP Configuration<\/strong><\/p>\n\n\n\n<p>Under network menu, click interfaces and there under LAN click Edit. This will bring up the configuration of your LAN Network Interface, there under DHCP Server tab go to General Setup. Here you can configure the LAN DHCP server. Default is fine but for fine tuning, for my setup I am starting the DHCP IP at .151 and allowing it to hand over maximum of 45 addresses (different devices) with lease time of 12 hours. Configure it as per your LAN network requirements.<\/p>\n\n\n\n<p>Click Save. But it won&#8217;t commit the changes yet. Notice up top in your RHS, there is an option given showing unsaved changes. Click it to bring up the menu to save and apply the settings changes.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_01.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"778\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_01.jpg\" alt=\"\" class=\"wp-image-1064\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_01.jpg 719w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_01-277x300.jpg 277w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_02.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"778\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_02.jpg\" alt=\"\" class=\"wp-image-1065\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_02.jpg 719w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_02-277x300.jpg 277w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_03.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"778\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_03.jpg\" alt=\"\" class=\"wp-image-1066\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_03.jpg 719w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_03-277x300.jpg 277w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p><strong>Step 2 :- WAN Interface Configuration<\/strong><\/p>\n\n\n\n<p>First is to change or spoof the MAC. Most Indian ISP, especially those with Fiber to Home ONU\/ONT setup may lock your router mac, we need to change the or sppof the WAN Interface MAC with the previous running router MAC.<\/p>\n\n\n\n<p>Click Network in the top menu, then Interface and there under Devices Tab. Click Configure for WAN and enter your MAC address (MAC ID Spoofing). Save it.<\/p>\n\n\n\n<p>Now go to Interfaces and click edit for WAN. There under general settings, you can configure your Internet Connection as per ISP given settings. Some may have DHCP, some may use PPPoE dialer like mine. So configure it as per your ISP given settings. Save it and apply all changes.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_04.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"778\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_04.jpg\" alt=\"\" class=\"wp-image-1067\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_04.jpg 719w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_04-277x300.jpg 277w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_05.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"778\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_05.jpg\" alt=\"\" class=\"wp-image-1068\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_05.jpg 719w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_05-277x300.jpg 277w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_06.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"778\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_06.jpg\" alt=\"\" class=\"wp-image-1069\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_06.jpg 719w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_06-277x300.jpg 277w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>If everything is done alright, by now your OpenWRT Firmware running Mi 4A Router will get a successful internet connection. Connection should now be available via both the LAN Ports. Let&#8217;s proceed towards the last thing, getting the WiFi up.<\/p>\n\n\n\n<p><strong>Step 3 :- Setting up WiFi<\/strong><\/p>\n\n\n\n<p>It is fairly simple. All you need to do is under network menu, click Wireless. It will bring up the WiFi Settings Page. You can see Radio0 -&gt; 2.4Ghz and Radio1 -&gt; 5Ghz showing disabled. So click settings for each to make your own changes, like SSID (WiFi Name) and Password under WiFi Security. Don&#8217;t tinker much, rest of the stuff can stay default or if you want to tinker, do it at your own desecration.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"617\" height=\"464\" src=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_07.jpg\" alt=\"\" class=\"wp-image-1070\" srcset=\"https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_07.jpg 617w, https:\/\/lazytourer.com\/in\/wp-content\/uploads\/2023\/02\/OpenWRT_Config_07-300x226.jpg 300w\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center has-white-color has-vivid-cyan-blue-background-color has-text-color has-background has-large-font-size\"><strong>Share your feedback<\/strong><\/p>\n\n\n\n<p>All done by now. You have a working OpenWRT firmware running Mi 4A Router Gigabit Editon. Options are now limitless for you. There are many articles on advance stuff possible with OpenWRT so go ahead and get your pro-network up and running.<\/p>\n\n\n\n<p>Let us know your feedback on this process. If you have any questions or feedback, feel free to share that with us<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Mi Router 4A Gigabit Edition is a cost-effective option for those looking for a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1072,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,67],"tags":[],"class_list":["post-1041","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","category-reviews"],"_links":{"self":[{"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/posts\/1041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/comments?post=1041"}],"version-history":[{"count":32,"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/posts\/1041\/revisions"}],"predecessor-version":[{"id":1106,"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/posts\/1041\/revisions\/1106"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/media\/1072"}],"wp:attachment":[{"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/media?parent=1041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/categories?post=1041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lazytourer.com\/in\/wp-json\/wp\/v2\/tags?post=1041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}