Giter Club home page Giter Club logo

wlan-ap's Introduction

Setting up your build machine

Requires a recent linux installation. Older systems without python 3.7 will have trouble. See this link for details: https://openwrt.org/docs/guide-developer/quickstart-build-images

Install build packages: sudo apt install build-essential libncurses5-dev gawk git libssl-dev gettext zlib1g-dev swig unzip time rsync python3 python3-setuptools python3-yaml.

Plus specific for TIP: sudo apt-get install openvswitch-common

Doing a native build on Linux (OpenWrt 19.07 based)

First we need to clone and setup our tree. This will result in an openwrt/.

python3 setup.py --setup

Next we need to select the profile and base package selection. This setup will install the feeds, packages and generate the .config file. The available profiles are ap2220, ea8300, ecw5211, ecw5410.

cd openwrt
./scripts/gen_config.py ap2220 wlan-ap wifi

If you want to build an AX image you need to setup a different config. The available profiles are hawkeye, cypress, wallaby.

cd openwrt
./scripts/gen_config.py wallaby wifi-ax

Finally we can build the tree.

make -j X V=s

Builds for different profiles can co-exist in the same tree. Switching is done by simple calling gen_config.py again.

Doing a native build on Linux (OpenWrt 20.x based)

First we need to clone and setup our tree. This will result in an openwrt-20.x/.

python3 setup.py --setup --20x

Next we need to select the profile and base package selection. This setup will install the feeds, packages and generate the .config file. The available profiles are ap2220, ea8300, ecw5211, ecw5410. It is no longer required to add the wifi profile. Board profiles will now include their specific wifi flavour profile automatically.

cd openwrt
./scripts/gen_config.py ap2220 wlan-ap

Finally we can build the tree.

make -j X V=s

Builds for different profiles can co-exist in the same tree. Switching is done by simple calling gen_config.py again.

Doing a docker build

Start by installing docker.io on your host system and ensuring that you can run an unprivileged container. Once this is done edit the Dockerfile and choose the Ubuntu flavour. This might depend on your host installation. Then simple call (available targets are AP2220, EA8300, ECW5211, ECW5410)

TARGET=AP2200 make -j 8

wlan-ap's People

Contributors

blogic avatar ricksommerville avatar arifalam avatar chaitanyagodavarthi avatar yashvardhan-netex avatar nagconnectus avatar ammadrehmatcus avatar netexp-ravi avatar shimmy568 avatar greearb avatar cbuschfb avatar msenecic avatar ecsv avatar bmoylejoin avatar eugenetaranov-opsfleet avatar nbd168 avatar t-x avatar brennerm 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.