Skip to content

Instantly share code, notes, and snippets.

@TalalMash
Last active September 16, 2023 03:10
Show Gist options
  • Save TalalMash/f5830fbfb8bc943f3497eb5636ef73a6 to your computer and use it in GitHub Desktop.
Save TalalMash/f5830fbfb8bc943f3497eb5636ef73a6 to your computer and use it in GitHub Desktop.
[OpenWRT] EasyTether on ARMv7 without NEON CPUs
#!/bin/sh
###INSTRUCTIONS###
#SSH to router & download this script (copy RAW button) and easytether (openwrt19 zip file) in the same directory using command wget <link>
#run: sh armv7-no-neon.sh
#Script will autoinstall, the package in the same directory: easytether-without-neon.ipk can be used for other deployments
#Tested: Slate AX
rm -r build-xiej43 download-s39c
mkdir build-xiej43 download-s39c
unzip easytether*.zip -d download-s39c/
cp download-s39c/*/bcm53xx/generic/easytether*.ipk build-xiej43/
tar -xvf ./build-xiej43/easytether*.ipk -C build-xiej43/
tar -xvf ./build-xiej43/control.tar.gz -C build-xiej43/
sed -i "s/Architecture:.*/Architecture: arm_cortex-a7/g" build-xiej43/control
tar -czvf build-xiej43/control.tar.gz build-xiej43/control build-xiej43/postinst build-xiej43/prerm
tar -czvf easytether-without-neon.ipk build-xiej43/control.tar.gz build-xiej43/data.tar.gz build-xiej43/debian-binary
opkg install easytether-without-neon.ipk
@CT-Biggles
Copy link

Hi I'm hoping you can help me. I've followed your script for GL-AX1800 (Slate AX) but i'm getting the error "* pkg_init_from_file: Malformed package file easytether-without-neon.ipk." when it is attempting to install the ipk.

I believe I've done everything correctly. Would you be able to assist or even send me a copy of the ipk?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment