Code Monkey home page Code Monkey logo

ot-br-openwrt's Introduction

ot-br-openwrt

This project provide scripts to build a Thread border router on openwrt.

Hardware

Software

  • Docker development environment
  • OpenWrt v22.03.5
  • ot-br-posix @c0897a70b907410d9be87eab16c41910bb14a000
  • openthread @1203ea6426a906d62a3921b6d4c6a4a6c8e0abde
  • ot-nrf528xx @7dc1f1406f437807cdafd6c53a974d76439b6a2b
  • totd DNS64

Initialize development environment

update git submodules:

git submodule update --init
cd /src/ot-br-posix/
git submodule update --init

Note: If you need to use a proxy, uncomment and change the environment configs in docker-compose.yml file .

Install docker and docker-compose, and run:

docker-compose up --build

To enter your docker development machine, run:

docker-compose exec -u docker compiler /bin/bash

Build OpenWrt firmware

Edit /src/openwrt/feeds.conf, using feeds.conf.default as template:

src-git-full packages https://git.openwrt.org/feed/packages.git;openwrt-22.03
src-git-full luci https://git.openwrt.org/project/luci.git;openwrt-22.03
src-git-full routing https://git.openwrt.org/feed/routing.git;openwrt-22.03
src-git-full telephony https://git.openwrt.org/feed/telephony.git;openwrt-22.03
src-link openthread /src/ot-br-posix/etc/openwrt
src-link otbr /src/ot-br

Configure and make OpenWrt

./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
# select MediaTek Ralink MIPS -> MT76*8 based boards -> Hi-Link HLK-7688A
# select Network -> ot-br -> ot-br
# select Network -> openthread-br
# select tcpdump if you want to capture and analyze network traffic
make V=99

ot-br-openwrt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dengcj0

ot-br-openwrt's Issues

docker build

I run install enviroment but when i run command: sudo docker-compose up --build
It stopped at Attaching without continuing. Is that an error? What gid do I have to do next?
image

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.