Hello, I want to store my custom sysupgrade.bin on github and want to install it to openwrt
Instead of downloading and winscp to router, are there any way to download the sysupgrade.bin stored from github directly to my openwrt router?
I tried wget but it is just transfering portion like 256kb out of the 16mb file
just to understand what router model you are using?
I assume this (which has 1024Mb of ram):
https://openwrt.org/toh/arcadyan/astoria/aw1000
if you followed the guide in point 6 it says to move to /tmp and save the sysupgrade file in that directory
https://openwrt.org/toh/arcadyan/astoria/aw1000#sysupgradecoming_from_an_openwrt_firmware
it should work if you move to the /tmp directory which is in ram memory ...
cd /tmp
wget https://github.com/your-user/your-repositories/sysupgrade.bin
show the output command "df -h":
df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 7.5M 7.5M 0 100% /rom
tmpfs 121.2M 1.1M 120.2M 1% /tmp
/dev/mtdblock14 18.0M 1.2M 16.8M 6% /overlay
overlayfs:/overlay 18.0M 1.2M 16.8M 6% /
tmpfs 512.0K 0 512.0K 0% /dev
documentation:
https://openwrt.org/docs/guide-user/installation/sysupgrade.cli#download_and_verify_the_openwrt_firmware_upgrade_image
show the point "4."
Download and check the firmware checksum with:
DOWNLOAD_LINK="http://URLOFFIRMWAREBIN"; SHA256SUMS="http://URLOFSHA256"
cd /tmp;wget $DOWNLOAD_LINK;wget $SHA256SUMS;sha256sum -c sha256sums 2>/dev/null|grep OK
im using arcadyan aw1000
it is downloading but incomplete files it should be around 16mb
test this:
cd /tmp
wget https://github.com/chanrio13/Arcadyan_AW1000/raw/refs/heads/main/test.bin
sha256sum test.bin
1d71e1f822c65b82af211a53934805eeb1b8afee1995ccfe73fad4ac5d0f6f34 test.bin
show:
the error is this:
the file you were trying to download was the html version of the link, the correct one is the "raw" version:
cd /tmp
wget https://github.com/chanrio13/Arcadyan_AW1000/blob/main/test.bin
head test.bin
<!DOCTYPE html>
<html
lang="en"
sha256sum test.bin
95128071552f1351c4c1e6484ca4944da063e6bd0144136f3641a56b26d7c92d test.bin
nice router anyway...
just to understand how much you paid for it?
Thank you
I got it around 9-10k php or atound 175$