Build goeap_proxy or other projects for a specific install on OpenWRT.
goeap_proxy(Go: Proxy EAP packets between network interfaces)eap_proxy(Python: Proxy EAP packets between network interfaces)ookla-speedtest(Ookla's Speedtest CLI)
Most people will want this method, for simplicity. Just install buildah and
podman on your distribution. Everything else will run rootless. The included
DockerFile should make the build process simple and remove any enivorment
specific build issues.
- Clone:
git clone https://github.com/EvanCarroll/openwrt-feed.git - Change Dir:
cd openwrt-feed - Update
SDK_URL, andSDK_SUMinentry.sh, you can get these paths by going to the- OpenWRT Release page, select the one you want, likely the newest at the bottom. It must match the version on your router.
- Select your build.
- Select your chipset.
- Scroll down to "Supplementary Files": the link under "Filename" is your
SDK_URL; the "sha256sum" is yourSDK_SUM.
- Build image, note the image created won't actually have the SDK in it. Just the environment to put the SDK.
buildah bud -t openwrt-sdk:latest . - Download the SDK and build package: replace
goeap_proxywith the name of the package you want to buildpodman run --rm -it -v "${PWD}:/src" openwrt-sdk:latest goeap_proxy - Built packages can be found in
./build/*/bin/packages/*/pyther, or withfind,# See what packages were built ls ./build/*/bin/packages/*/pyther # Find them by their full path find . -name '*.ipk' -path '*/pyther/*'
- After you have the packages built you can either,
- Upload and install directly to LuCI (web interface)
- Log into LuCI
- Click on "System" tab, select "Software" from the drop down
- Click "Upload Package"
- Log into LuCI
- Copy the package to the router and install on the CLI with
opkg install ./package.ipk
- Upload and install directly to LuCI (web interface)
While more complex, this is a standard OpenWrt Feed, therefore packages can be built in the same way as another OpenWrt package.
- Add to feeds.conf:
src-git pyther https://github.com/pyther/openwrt-feed.git - Update the feed:
./scripts/feeds update pyther - Install the package:
./scritps/feeds install $PKGNAME - Build Package: `make package/$PKGNAME/{download,prepare,compile}'
Resources