Git Product home page Git Product logo

er605v2_openwrt_install's Introduction

TP-Link ER605 v2 OpenWrt Installer

This repository provides a method to install OpenWrt on a factory-flashed TP-Link ER605 hardware version 2 router.

⚠️ Use at your own risk. Your device may become bricked if you do something wrong or as a result of a bug.

Initramfs Image

The initramfs image is based on OpenWrt version 23.05.0. If you would like to build your own initramfs image, see the files in the image-build-files directory. The initramfs image needs to be 5,242,880 (0x00500000) bytes or smaller in size to fit into the factory kernel UBI volume.

Steps to Install

⚠️ After the install, you will NOT be able to use the recovery mode of the ER605 to flash a factory image to recover from a bad install. You will need to use ubiformat to reflash your mtd3 (firmware) partition if you ever want to restore to the default firmware.

  1. Enable SSH on your ER605 by logging into the web configuration GUI, navigating to System Tools > Diagnostics > Remote Assistance, and enabling Remote Assistance.
  2. Generate your shell password by clicking here.
  3. SSH into your ER605. Use ssh -o hostkeyalgorithms=ssh-rsa if your ssh client complains no matching host key type. Follow the steps below for the firmware version you have installed:
    v2.0.1 and below: Login using the username root and the "root password" generated in the previous step.
    v2.1.1 and above: Login using your web configuration GUI credentials. Then run the enable command followed by the debug command. When you are prompted for a password, enter the "CLI debug mode password" generated in the previous step.
  4. Backup your MTD partitions (recommended). The backup process will not be covered in these instructions. You can find some more information on how to do this here: https://openwrt.org/docs/guide-user/installation/generic.backup?do=#create_full_mtd_backup
  5. Download openwrt-initramfs-compact.bin and er605v2_write_initramfs.sh to the ER605 (run these commands in the SSH shell):
cd /tmp
curl -o er605v2_write_initramfs.sh https://raw.githubusercontent.com/chill1Penguin/er605v2_openwrt_install/main/er605v2_write_initramfs.sh
curl -o openwrt-initramfs-compact.bin https://raw.githubusercontent.com/chill1Penguin/er605v2_openwrt_install/main/openwrt-initramfs-compact.bin
chmod +x er605v2_write_initramfs.sh
  1. Verify the checksum of the openwrt-initramfs-compact.bin image. It should match the checksum found in the md5sums file. You can get the checksum by running:
md5sum openwrt-initramfs-compact.bin
  1. Run er605v2_write_initramfs.sh script to flash the initramfs image.
./er605v2_write_initramfs.sh openwrt-initramfs-compact.bin
  1. Reboot the ER605 and wait for it to reboot.
  2. Open a web browser and navigate to http://192.168.1.1/. If the page does not load, try waiting a bit longer or clearing your browser cache.
  3. Follow the steps on the web page. You can find a sysupgrade image at https://downloads.openwrt.org. Click here to download the v23.05.0 sysupgrade image.
  4. After rebooting, your ER605 should boot into OpenWrt! 😄

er605v2_openwrt_install's People

Contributors

chill1penguin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.