Code Monkey home page Code Monkey logo

router's Introduction

openwrt-shelly-modules-source

These files and directories are what turn a regular distribution of OpenWrt into the "ShellyWRT"

Here is how to compile a .bin image of openWRT for the ZBT WG108 router

  1. Download the OpenWRT from github found here

    Run:

    gh repo clone openwrt/openwrt

  2. cd into /openWrt and git checkout into v19.07.10

    This is the only version that has worked

    Run:

    cd openWrt

    git checkout v19.07.10

  3. Run:

    ./scripts/feeds update -a

    ./scripts/feeds install -a

  4. Add the modules you see into their respect places in /openWrt/feeds/luci:

    /openwrt/feeds/luci/applications/luci-app-shelly-utilities

    /openwrt/feeds/luci/modules/luci-mod-network

    /openwrt/feeds/luci/themes/luci-theme-shelly

    /openwrt/package/base-files/files/etc/shadow

    /openWrt/.config

  5. Run again:

    ./scripts/feeds update -a

    ./scripts/feeds install -a

  6. Run:

    make

  7. Image cane be found here: /openwrt/bin/targets/ramips/mt7621/openwrt-ramips-mt7621-zbt-we1326-squashfs-sysupgrade.bin

  8. To flash firmware

    a. Connect to ZBT-WG 108 router by ethernet or wifi (if able)

    b. Go to browser enter into URL 192.168.1.1

     i. If no response, clear cache and try again
     
     ii. If still no response, change the interface on your device that is connecting to the router, change to:
     
         IP address: 192.168.1.100
         
         IP subnet mask: 255.255.255.0
         
         IP gateway: 192.168.1.1 
         
         DNS server 8.8.8.8 and 1.1.1.1 
    

    c. In LuCi interface enter

     Username: root
     
     Password: admin
    

    d. Go to System > Backup/Flash Firmware > FLASH IMAGE

    c. Upload image and uncheck "keep current configuration"

     i. If asked, check "force upgrade" 
    

    f. Press upload to flash and DO NOT power off

  9. If flash fails for any reason

    a. Unplug power from router

    b. Press and hold "reset" button on back of router neat power jack

    c. While pressing and holding button, plug pwoer back on and hold for about 10 seconds

    d. Connect to router through 192.168.1.1 and a minimal backup interface to flash router only will appear, use this to re-flash firmware

     i. You may need to clear cache in your browser if you do not see the option to do this, 
     be sure to set your interface settings to static like in step 8(b)(ii)
    

router's People

Contributors

allterco-rodrigo avatar

Watchers

Doug Roberson 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.