goeap_proxy
(Go: Proxy EAP packets between network interfaces)eap_proxy
(Python: Proxy EAP packets between network interfaces)ookla-speedtest
(Ookla's Speedtest CLI)
This is a standard OpenWrt Feed, therefore packages should be built in the same way as another OpenWrt package.
- Add to feeds.conf:
src-git pyther git://github.com/pyther/openwrt-feed
- Update the feed:
./scripts/feeds update pyther
- Install the package:
./scritps/feeds install $PKGNAME
- Build Package: `make package/$PKGNAME/{download,prepare,compile}'
Resources
- https://openwrt.org/docs/guide-developer/using_the_sdk
- https://openwrt.org/docs/guide-developer/single.package
- https://openwrt.org/docs/guide-developer/quickstart-build-images
The included DockerFile should make the build process simple and remove any enivorment specific build issues.
- Clone:
git clone https://github.com/pyther/openwrt-feed.git
- Change Dir:
cd openwrt-feed
- Update
SDK_URL
, andSDK_SUM
inentry.sh
- Update UID/GID in the Dockerfile to match that of your current user (
id
) - Build Docker Image:
sudo docker build . -t openwrt-sdk:latest
- Create Build Directory:
mkdir ./build
- Build Package:
sudo docker run --rm -it --volume $(pwd):/src openwrt-sdk:latest goeap_proxy
- replace
goeap_proxy
with the name of the package you want to build
- Built packages can be found in
./build/openwrt-sdk-x86-64_gcc-8.4.0_musl.Linux-x86_64/bin/packages/x86_64/pyther
Troubleshooting
To get an interactive shell in container to troubleshoot build problems run
$ sudo docker run -it --volume $(pwd):/src --entrypoint /bin/sh openwrt-sdk:latest
$ sh -x /tmp/entry.sh # no args setups the build envirnoment
$ sh -x /tmp/entry.sh goeap_proxy # builds goeap_proxy package
The included entry.sh will automate the process of downloading, extracting, and building the package. You can either run the script or use it as guide for manual command execution.
- Clone:
git clone https://github.com/pyther/openwrt-feed.git
- Change Dir:
cd openwrt-feed
- Update 'BUILD_DIR
,
SDK_URL, and
SDK_SUMin
entry.sh` - sh entry.sh PKG_NAME
-
Download the OpenWrt Image Builder: Instructions: Using the Image Builder
$ wget https://downloads.openwrt.org/releases/18.06.4/targets/x86/64/openwrt-imagebuilder-18.06.4-x86-64.Linux-x86_64.tar.xz
-
Extract Image Builder and enter directory
$ tar xf openwrt-imagebuilder-18.06.4-x86-64.Linux-x86_64.tar.xz $ cd openwrt-imagebuilder-18.06.4-x86-64.Linux-x86_64
-
Copy built package into
./packages
$ cp ~/build/openwrt-sdk-18.06.4-x86-64_gcc-7.3.0_musl.Linux-x86_64/bin/packages/x86_64/pyther/goeap_proxy_0.200502.3-1_x86_64.ipk ./packages
-
Build Image
$ make image PACKAGES="goeap_proxy"
Note: other platforms (non-x86) you mant to to specify
PROFILE=XXX
List of profiles can be obtained with
$ make info