Note: This guide was created based on personal experience and available references. Official documentation could not be found, My apologies if any sections are misplaced or unclear, i figured this was the only way to share and place this knowledge.
This guide provides step-by-step instructions to flash your OMP2-HS V2 with OpenWrt firmware using the ap51-flash tool and npcap. Ensure you have the following prerequisites before starting:
Windows PC: With an Ethernet port configured with IP 192.168.100.8 and subnet mask 255.255.255.0.
- Firmware files:
- Initial flash: openwrt-19.07.9-ar71xx-generic-om2p-squashfs-factory.bin
- Latest upgrade: search for the latest upgrade on the wonderful OpenWrt firmware selector.
- Tools:
- ap51-flash-2022.1-i686-npcap.exe
- npcap 1.79.exe
Steps to Flash the Router
1. Install npcap
- Run npcap 1.79.exe and follow the installation instructions.
- Ensure that npcap is installed correctly.
2. Prepare the ap51-flash Tool
- Download and extract ap51-flash-2022.1-i686-npcap.exe to a folder on your PC.
- Open Command Prompt and navigate to the folder containing the ap51-flash tool.
3. Identify the Ethernet Interface
- Run ap51-flash-2022.1-i686-npcap.exe to list available network interfaces.
- Note the number corresponding to the Ethernet interface connected to the router.
4. Flash the Router
- Open Command Prompt in the folder where ap51-flash-2022.1-i686-npcap.exe is located.
- Run the command to flash the router with the initial firmware:
ap51-flash-2022.1-i686-npcap.exe [Ethernet Interface Number] openwrt-19.07.9-ar71xx-generic-om2p-squashfs-factory.bin
Replace [Ethernet Interface Number] with the number identified in step 3.
- You will see error messages about writing to the pcap socket, proceed to the next step
5. Power On and Connect the Router
- Connect the router to the Ethernet port closest from the power cable.
- Power on the router.
6. Wait for Flash Completion (flash complete, device ready to unplug)
- Monitor the Command Prompt for the message indicating the flash is complete.
- The router will reboot with the new OpenWrt firmware.
7. Change ethernet address on windows again
- Change it to 192.168.1.8
8. Switch ethernet cable on router to the port farthest away from power adapter
9. Upgrade to the Latest OpenWrt Firmware
- After the initial flash is complete, connect to the router's web interface.
- Open a web browser and navigate to http://192.168.1.1.
- Log in to the OpenWrt interface (default username is root and the password is blank).
- Go to System -> Backup / Flash Firmware.
- In the "Flash new firmware image" section, click Choose File and select your latest downloaded formware.
- Click Flash Image and follow the on-screen instructions to complete the upgrade.
- Wait for the router to reboot with the latest OpenWrt firmware. 5 mins or so.
Troubleshooting
- Error Messages: If errors persist, check the npcap installation and ensure the correct Ethernet interface is used.
- Connection Issues: Verify that the Ethernet cable is properly connected and the router is powered on.
Following these steps will ensure your router is flashed with OpenWrt firmware successfully. Enjoy the enhanced features and customization that OpenWrt offers!
Credits:
All credits go to the developers and contributors of these programs; I only made this manual and tested it on 2 devices.