Updated installation guide/FW Download links for D-Link DIR-300 A1?

So, I got this router and I was using it as a repeater on the 2nd floor of my home, but I was getting annoyed by the constant "freezes" that it had on the latest official fw, so decided to flash a custom fw. I started with DD-WRT v24-SP1 and got not better results. The wifi performed worse than in the stock fw, and I can't update to the latest beta because this error:

Can't program region at 0xbffa0000: Unknown error

Anyway, I didn't came here to solve this error (at least for now). I now want to try out OpenWRT, even thoe it dosent gets any update since 2011, but I hope it's better than the stock fw. So, going to this wiki, and reading it for a little bit, I found out that the fw files where nowhere to be found. Quote:

Now download the four files directly into this directory. You only need sudo, because as a normal user you cannot write in here:

sudo wget http://www.dd-wrt.com/ddwrtv2/downloads/v24/Atheros%20WiSoc/Airlink%20101%20AR430W/ap61.ram
sudo wget http://www.dd-wrt.com/ddwrtv2/downloads/v24/Atheros%20WiSoc/Airlink%20101%20AR430W/ap61.rom

sudo wget http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-vmlinux.lzma
sudo wget http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-root.squashfs

I don't really care about the bootloader, since I already did those things to install DD-WRT, so no problem there, but when I try to download the fw files from downloads.openwrt.org, I get a 404 error, and can't download the fw files.
First thing I thought, well, maybe they changed the location of where the fw is located, so, I went to the root location of downloads.openwrt.org and started looking. I first went to /kamikaze/8.09/atheros/, as it was the recommended build to use, and I found a lot of files, each one with different sizes and names, such as: JFFS2, 64K, 128K, UBNT2, UBNT5, SQUASHFS and VMLINUX. Now, I'm not an expert at linux, I know some things, but what are those keywords? I wasn't able to find anything about UBNT2 and UBNT5, and they happen to be the files that are more abundant in that folder. After that, I decided to check the latest relase for this router, located at /backfire/10.03.1/atheros/, and I found even more of those terms, such as: NP25G, PICO2, WPE53G. I think that PICO2 stands for some kind of "essential" build, but I may be wrong. Also, in this case, there are two specific .bin files that have a router model assigned to them, but I still wasn't able to find anything for the DIR-300 router. So, thats why I did this Topic, to at least show me what are the files that I have to download to test OpenWRT 8.09 and 10.03.1 for this specific router, and in the best case, update the wiki, and change the links.

Regards

This is so old hardware that you should give up

I believe the files you need are, at this point, at the following location:

https://downloads.openwrt.org/snapshots/targets/ath25/generic/

Your device seems to be using what's now the ath25 target on OpenWrt. Keep in mind there's a release candidate for the pending stable release 21.02 as well, which might be more interesting (as the person above says the hardware is old and the code isn't seeing any development anymore, so not much relevance in using master at this point):

https://downloads.openwrt.org/releases/21.02.0-rc1/targets/ath25/generic/

I doubt that you will have much fun with only 16MB RAM.

I overlooked that. Never hurts to try if he'd like to :grinning:

kofec I know it's old, but it's what I've got that works, and I don't want to expend money to buy a good router, and experience the max out of my 10mbps that my ISP provides.

@Borromini thanks, are you rally sure that I have to download the fw at the folder ath25? I ask you because as far as I know, this devices uses the atheros AR2317. Shouldn't be the folder where I download the files called ath23xx? I just wanna make sure that I don't flash the wrong firmware onto this router since it's the only one I've got that works fine (I also have a router with a realtek rtl8676 and 802.11b/g/n, but it has a lot of wifi latency and it also randomly freezes). Also, are you sure that there is a release candidate for the latest openwrt? I mean, even in the wiki they say that they won't work anymore with 4/32 devices. Also, cheking the files that are on the first link that you've sent me, i cannot find openwrt-atheros-vmlinux.lzma or openwrt-atheros-root.squashfs. What are the files on that folder that correspond to the ones used in the wiki? Also, there is no .squashfs file for root, what should i use then? One last thing, can you tell me what are the corresponding files to use in case that i want to use OpenWRT 8.09 and 10.03.1? Thanks

tmomas, I know, but as I said, I just want a working and stable router. It also dosent has a lot of things to try, like usb, or things like that.

Thanks for a the replies.

That means you do not care about security of your router?

I used this router as a repeater, so, I guess that all the security is done on the main router, isn't it?

There was an issue in wifi security - KRACK.
You have to compile image by yourself

Maybe you should use lede 17.01 - still maintained on some forks of openwrt:

Ok, thanks for the recommendations, I'll try to build LEDE 17.01, as you say. It shouldn't be so hard. Ive already cloned the reposiroty, and tried to use the build system, but i got very confused, as the guide you've sent to save space and ram only uses the image builder, so after i got tired of looking and tried to undestand, i saved what i got done on the .config file, and decided to make a build, but, not flash it, instead, ill use the image builder. RN im building it, so it'll be some time, until i can try the imagebuilder and see if this router boots up.

Thanks for the help kofec, I really appreciete it

Just finished building the imagebuilder, and now, i dont know which profile should i choose. Is there any place where i can check what does every profile include (for ath25 target) and wich one is the best for my case?
Also, while trying to compile an image with this parameters:

make image PROFILE=Default \ PACKAGES=“uhttpd uhttpd-mod-ubus libiwinfo-lua \ luci-base luci-app-firewall luci-mod-admin-full \ luci-theme-bootstrap zram-swap \ -ppp -ppp-mod-pppoe -iptables -ip6tables -odhcp6c -kmod-ipv6 \ -kmod-ip6tables -odhcpd-ipv6only -odhcpd -opkg”

I get a lot of (or just one large) errors. I'll paste the ouptut here:

fpp@DESKTOP-PG3VV3J:~/OpenWRT_LEDE_17.01/lede-imagebuilder-ath25.Linux-x86_64$ make image -j 11 PROFILE=generic \ PACKAGES=“uhttpd uhttpd-mod-ubus libiwinfo-lua \ luci-base luci-app-firewall luci-mod-admin-full \ luci-theme-bootstrap zram-swap \ -ppp -ppp-mod-pppoe -iptables -ip6tables -odhcp6c -kmod-ipv6 \ -kmod-ip6tables -odhcpd-ipv6only -odhcpd -opkg”
make: invalid option -- '-'
make: invalid option -- 'a'
make: invalid option -- '6'
make: invalid option -- 'a'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  --eval=STRING               Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
# GNU Make 4.2.1
# Built for x86_64-pc-linux-gnu
# Copyright (C) 1988-2016 Free Software Foundation, Inc.
# License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.

# Make data base, printed on Thu Apr 29 23:50:14 2021

# Variables

# environment
WSLENV = WT_SESSION::WT_PROFILE_ID
# default
.SHELLFLAGS := -c
# environment
SHELL = /bin/bash
# environment
_ = /usr/bin/make
# environment
GNUMAKEFLAGS :=
# environment
XDG_DATA_DIRS = /usr/local/share:/usr/share:/var/lib/snapd/desktop
# environment
LESSOPEN = | /usr/bin/lesspipe %s
# environment
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/d/Program Files/Microchip/xc8/v2.32/bin:/mnt/c/Program Files/PuTTY/:/mnt/c/Users/ffpp2/AppData/Local/Microsoft/WindowsApps:/snap/bin
# default
.FEATURES := target-specific order-only second-expansion else-if shortest-stem undefine oneshell archives jobserver output-sync check-symlink load
# environment
LS_COLORS = rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
# environment
PWD = /home/fpp/OpenWRT_LEDE_17.01/lede-imagebuilder-ath25.Linux-x86_64
# default
.LOADED :=
# environment
WSL_INTEROP = /run/WSL/8_interop
# environment
WT_SESSION = 1ae5f64f-111e-42ca-9b53-689f635b5c13
# environment
HOME = /home/fpp
# environment
LESSCLOSE = /usr/bin/lesspipe %s %s
# environment
LOGNAME = fpp
# default
MAKECMDGOALS := image uhttpd-mod-ubus libiwinfo-lua  luci-base luci-app-firewall luci-mod-admin-full  luci-theme-bootstrap zram-swap  -ppp  -kmod-ip6tables
# environment
SHLVL = 1
# environment
USER = fpp
# environment
NAME = DESKTOP-PG3VV3J
# environment
OLDPWD = /home/fpp/OpenWRT_LEDE_17.01
# default
.VARIABLES :=
# command line
PROFILE = generic
# command line
PACKAGES = “uhttpd
# environment
WT_PROFILE_ID = {07b52e3e-de2c-5db4-bd2d-ba144ed6c273}
# environment
HOSTTYPE = x86_64
# default
.RECIPEPREFIX :=
# environment
LANG = C.UTF-8
# environment
TERM = xterm-256color
# environment
WSL_DISTRO_NAME = Ubuntu-20.04
# variable set hash-table stats:
# Load=31/1024=3%, Rehash=0, Collisions=0/52=0%

# Pattern-specific Variable Values

# No pattern-specific variable values.

# Directories


# No files, no impossibilities in 0 directories.

# Implicit Rules

# No implicit rules.

# Files

# Not a target:
 -kmod-ip6tables:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
uhttpd-mod-ubus:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
 -ppp:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
 luci-base:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
libiwinfo-lua:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
 luci-theme-bootstrap:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
image:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
luci-mod-admin-full:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
luci-app-firewall:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
zram-swap:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# files hash-table stats:
# Load=10/1024=1%, Rehash=0, Collisions=0/10=0%
# VPATH Search Paths

# No 'vpath' search paths.

# No general ('VPATH' variable) search path.

# strcache buffers: 1 (0) / strings = 16 / storage = 190 B / avg = 11 B
# current buf: size = 8162 B / used = 190 B / count = 16 / avg = 11 B

# strcache performance: lookups = 26 / hit rate = 38%
# hash-table stats:
# Load=16/8192=0%, Rehash=0, Collisions=0/26=0%
# Finished Make data base on Thu Apr 29 23:50:14 2021

I tried with and without the -j N parameter, but nothing changed, also tried with the profile Default, but also, no changes. What am i doing wrong here? I just copied and pasted the command that is on the forum that you've sent about saving flash and ram, and the only thing i changed is the profile.

The backslashes are only needed if you were to spread a command over multiple lines, say in a shell script. Remove them. And see where that gets you.

I'm not sure why you'd want to use 17.01, it's not like that's going to run that much smoother on a 16 MiB RAM device. If you really want to keep this dinosaur going, use 19.07 or 21.02 and compile yourself instead of using the image builder. Only that will allow you to strip enough to get a barebones image.

You do not want a web interface either with your specs. Everything will grind to a halt and your device will quickly become unusable.

I tried to strip all what I know:
cat diffconfig_DIR300_2102

CONFIG_TARGET_ath25=y
CONFIG_TARGET_ath25_DEVICE_generic=y
CONFIG_TARGET_BOARD="ath25"
# CONFIG_BUSYBOX_DEFAULT_FEATURE_IPV6 is not set
# CONFIG_IPV6 is not set
# CONFIG_KERNEL_IPV6 is not set
# CONFIG_PACKAGE_dnsmasq is not set
# CONFIG_PACKAGE_firewall is not set
# CONFIG_PACKAGE_iptables is not set
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
# CONFIG_PACKAGE_kmod-ipt-core is not set
# CONFIG_PACKAGE_kmod-ipt-nat is not set
# CONFIG_PACKAGE_kmod-ipt-offload is not set
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
# CONFIG_PACKAGE_kmod-nf-conntrack is not set
# CONFIG_PACKAGE_kmod-nf-flow is not set
# CONFIG_PACKAGE_kmod-nf-ipt is not set
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
# CONFIG_PACKAGE_kmod-nf-nat is not set
# CONFIG_PACKAGE_kmod-nf-reject is not set
# CONFIG_PACKAGE_kmod-ppp is not set
# CONFIG_PACKAGE_libip4tc is not set
# CONFIG_PACKAGE_libip6tc is not set
# CONFIG_PACKAGE_libpthread is not set
# CONFIG_PACKAGE_libustream-wolfssl is not set
# CONFIG_PACKAGE_libwolfssl is not set
# CONFIG_PACKAGE_libxtables is not set
# CONFIG_PACKAGE_opkg is not set
# CONFIG_PACKAGE_ppp is not set
# CONFIG_PACKAGE_wpad-basic-wolfssl is not set
CONFIG_PACKAGE_wpad-mini=y
CONFIG_STRIP_KERNEL_EXPORTS=y
CONFIG_USE_MKLIBS=y
# CONFIG_WPA_WOLFSSL is not set

Size of images:

   4096 Apr 30 13:21 .
     20 Apr 30 13:18 ..
   1272 Apr 30 13:18 config.buildinfo
    194 Apr 30 13:18 feeds.buildinfo
3551500 Apr 30 13:21 openwrt-ath25-generic-kernel.elf
1638400 Apr 30 13:21 openwrt-ath25-generic-kernel.gz
1179648 Apr 30 13:21 openwrt-ath25-generic-kernel.lzma
   1402 Apr 30 13:21 openwrt-ath25-generic.manifest
1966080 Apr 30 13:21 openwrt-ath25-generic-squashfs-rootfs.bin
3014656 Apr 30 13:21 openwrt-ath25-generic-squashfs-sysupgrade.bin
   4096 Apr 30 13:21 packages
    863 Apr 30 13:21 sha256sums
     15 Apr 30 13:18 version.buildinfo

Well, just tried it, and i got the same result, i dont know what im doing wrong. Here is the output:

fpp@DESKTOP-PG3VV3J:~/OpenWRT_LEDE_17.01/lede-imagebuilder-ath25.Linux-x86_64$ make image -j 11 PROFILE=generic PACKAGES=“uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap zram-swap -ppp -ppp-mod-pppoe -iptables -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -odhcpd-ipv6only -odhcpd -opkg”
make: invalid option -- '-'
make: invalid option -- 'a'
make: invalid option -- '6'
make: invalid option -- 'a'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  --eval=STRING               Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
# GNU Make 4.2.1
# Built for x86_64-pc-linux-gnu
# Copyright (C) 1988-2016 Free Software Foundation, Inc.
# License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.

# Make data base, printed on Fri Apr 30 10:23:49 2021

# Variables

# environment
WSLENV = WT_SESSION::WT_PROFILE_ID
# default
.SHELLFLAGS := -c
# environment
SHELL = /bin/bash
# environment
_ = /usr/bin/make
# environment
GNUMAKEFLAGS :=
# environment
XDG_DATA_DIRS = /usr/local/share:/usr/share:/var/lib/snapd/desktop
# environment
LESSOPEN = | /usr/bin/lesspipe %s
# environment
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/d/Program Files/Microchip/xc8/v2.32/bin:/mnt/c/Program Files/PuTTY/:/mnt/c/Users/ffpp2/AppData/Local/Microsoft/WindowsApps:/snap/bin
# default
.FEATURES := target-specific order-only second-expansion else-if shortest-stem undefine oneshell archives jobserver output-sync check-symlink load
# environment
LS_COLORS = rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
# environment
PWD = /home/fpp/OpenWRT_LEDE_17.01/lede-imagebuilder-ath25.Linux-x86_64
# default
.LOADED :=
# environment
WSL_INTEROP = /run/WSL/8_interop
# environment
WT_SESSION = a23bd03a-3b70-4496-b3ef-ed28925a31db
# environment
HOME = /home/fpp
# environment
LESSCLOSE = /usr/bin/lesspipe %s %s
# environment
LOGNAME = fpp
# default
MAKECMDGOALS := image uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap zram-swap
# environment
SHLVL = 1
# environment
USER = fpp
# environment
NAME = DESKTOP-PG3VV3J
# environment
OLDPWD = /home/fpp/OpenWRT_LEDE_17.01
# default
.VARIABLES :=
# command line
PROFILE = generic
# command line
PACKAGES = “uhttpd
# environment
WT_PROFILE_ID = {07b52e3e-de2c-5db4-bd2d-ba144ed6c273}
# environment
HOSTTYPE = x86_64
# default
.RECIPEPREFIX :=
# environment
LANG = C.UTF-8
# environment
TERM = xterm-256color
# environment
WSL_DISTRO_NAME = Ubuntu-20.04
# environment
MOTD_SHOWN = update-motd
# variable set hash-table stats:
# Load=32/1024=3%, Rehash=0, Collisions=0/49=0%

# Pattern-specific Variable Values

# No pattern-specific variable values.

# Directories


# No files, no impossibilities in 0 directories.

# Implicit Rules

# No implicit rules.

# Files

# Not a target:
uhttpd-mod-ubus:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
luci-base:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
libiwinfo-lua:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
luci-theme-bootstrap:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
image:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
luci-mod-admin-full:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
luci-app-firewall:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
zram-swap:
#  Command line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# files hash-table stats:
# Load=8/1024=1%, Rehash=0, Collisions=0/8=0%
# VPATH Search Paths

# No 'vpath' search paths.

# No general ('VPATH' variable) search path.

# strcache buffers: 1 (0) / strings = 15 / storage = 177 B / avg = 11 B
# current buf: size = 8162 B / used = 177 B / count = 15 / avg = 11 B

# strcache performance: lookups = 23 / hit rate = 34%
# hash-table stats:
# Load=15/8192=0%, Rehash=0, Collisions=0/23=0%
# Finished Make data base on Fri Apr 30 10:23:49 2021

I really dont know what Im doing, im just following others people recommendations. I really want to have this router working well, and ideally, with a Web Interface. Thats why i first opted to older releases, and not stick with a "recent" one. I still want to try LEDE 17.01 with a barebone installation and a web interface. Also, i was wondering, is there any other web interface that its a little bit more lightweight? I really like LuCI, but i know that its going to be a lot for this router. Im going to try to look for forks of older releases that had develompent until last year, at least, so, maybe ill have som luck there, idk.

Thanks for that, i guess it dosent have Web interfece, dosent it? Also, there are some other things that can be stripped out, like all IPV6 related things, PPP and PPPoE and such, also some IPtables things can be took out, but i dont know what they are and how are going to affect the routers performance, so for the first time i build, ill try to not delete them. It seems like its a very small image, 1.1MB for the kernel and 1.9 for the root filesystem, right?
Also, thanks for the link about the build system, it should be easier to do the build guide for 4/32 devices instead of using the imagebuilder thanks to the diffconfig command. Ill try to build again, but now with the build system, and see where do i get.
There are only two things that i have to ask, one, i still dont know what profile to use, but ill stick to generic to try to build this time, and secondly, is there any way to "halt" but not freeze the router in the bootloader? i ask that because if the kernel is not what the router needs, it might get frozen or get a kernel panic and i wont be able to telnet to the bootloader to try another build. As far as i know, i have a window of 5 seconds to acces the bootloader after powering the router on, but does it starts up with the kernel or not?
Thanks for all the help to make this dinosaur work as it should!

Try manually typing the command instead of that copy paste. Really looks like it got mangled.

It seems like it was something with the text. I writed it manually and it worked! well, kinda. Now it threw me three errors. This is the output:

fpp@DESKTOP-PG3VV3J:~/OpenWRT_LEDE_17.01/lede-imagebuilder-ath25.Linux-x86_64$ make -j 13 image PROFILE=generic PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap zram-swap -ppp -ppp-mod-pppoe -iptables -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -odhcpd-ipv6only -ohcpd -opkg"
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'ldconfig-stub'... ok.
Building images for ath25 - Generic Images
Packages: uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap zram-swap base-files busybox dnsmasq dropbear firewall fstools kernel kmod-ath5k kmod-gpio-button-hotplug libc libgcc logd mtd netifd odhcpd swconfig uci uclient-fetch wpad-mini

Package list missing or not up-to-date, generating it.

Building package index...
Downloading file:packages/Packages
Updated list of available packages in /home/fpp/OpenWRT_LEDE_17.01/lede-imagebuilder-ath25.Linux-x86_64/build_dir/target-mips_mips32_musl-1.1.16/root-ath25/../../../../../../../home/fpp/OpenWRT_LEDE_17.01/lede-imagebuilder-ath25.Linux-x86_64/dl/imagebuilder

Installing packages...
Installing libc (1.1.16-1) to root...
Installing libgcc (5.4.0-1) to root...
Downloading file:packages/libgcc_5.4.0-1_mips_mips32.ipk
Configuring libgcc.
Configuring libc.
Installing kernel (4.4.240-1-f2a32ed123329102cd9eaf34857e00dd) to root...
Configuring kernel.
Installing uhttpd (2020-02-12-2ee323c0-1) to root...
Downloading file:packages/uhttpd_2020-02-12-2ee323c0-1_mips_mips32.ipk
Installing libubox (2018-07-25-c83a84af-5) to root...
Downloading file:packages/libubox_2018-07-25-c83a84af-5_mips_mips32.ipk
Installing libjson-c (0.12.1-2.1) to root...
Downloading file:packages/libjson-c_0.12.1-2.1_mips_mips32.ipk
Installing libblobmsg-json (2018-07-25-c83a84af-5) to root...
Downloading file:packages/libblobmsg-json_2018-07-25-c83a84af-5_mips_mips32.ipk
Installing libjson-script (2018-07-25-c83a84af-5) to root...
Downloading file:packages/libjson-script_2018-07-25-c83a84af-5_mips_mips32.ipk
Unknown package 'uhttpd-mod-ubus'.
Installing libiwinfo-lua (2016-09-21-fd9e17be-1) to root...
Downloading file:packages/libiwinfo-lua_2016-09-21-fd9e17be-1_mips_mips32.ipk
Installing libnl-tiny (0.1-5) to root...
Downloading file:packages/libnl-tiny_0.1-5_mips_mips32.ipk
Installing libuci (2019-05-17-f199b961-2) to root...
Downloading file:packages/libuci_2019-05-17-f199b961-2_mips_mips32.ipk
Installing libiwinfo (2016-09-21-fd9e17be-1) to root...
Downloading file:packages/libiwinfo_2016-09-21-fd9e17be-1_mips_mips32.ipk
Installing liblua (5.1.5-1) to root...
Downloading file:packages/liblua_5.1.5-1_mips_mips32.ipk
Installing luci-base (git-19.271.72080-7b230b0-1) to root...
Downloading file:packages/luci-base_git-19.271.72080-7b230b0-1_mips_mips32.ipk
Installing lua (5.1.5-1) to root...
Downloading file:packages/lua_5.1.5-1_mips_mips32.ipk
Installing libuci-lua (2019-05-17-f199b961-2) to root...
Downloading file:packages/libuci-lua_2019-05-17-f199b961-2_mips_mips32.ipk
Installing luci-lib-nixio (git-19.271.72080-7b230b0-1) to root...
Downloading file:packages/luci-lib-nixio_git-19.271.72080-7b230b0-1_mips_mips32.ipk
Installing luci-lib-ip (git-19.271.72080-7b230b0-1) to root...
Downloading file:packages/luci-lib-ip_git-19.271.72080-7b230b0-1_mips_mips32.ipk
Installing libubus (2018-10-06-221ce7e7-1) to root...
Downloading file:packages/libubus_2018-10-06-221ce7e7-1_mips_mips32.ipk
Installing rpcd (2018-11-28-3aa81d0d-1) to root...
Downloading file:packages/rpcd_2018-11-28-3aa81d0d-1_mips_mips32.ipk
Installing libubus-lua (2018-10-06-221ce7e7-1) to root...
Downloading file:packages/libubus-lua_2018-10-06-221ce7e7-1_mips_mips32.ipk
Installing luci-lib-jsonc (git-19.271.72080-7b230b0-1) to root...
Downloading file:packages/luci-lib-jsonc_git-19.271.72080-7b230b0-1_mips_mips32.ipk
Installing luci-app-firewall (git-19.271.72080-7b230b0-1) to root...
Downloading file:packages/luci-app-firewall_git-19.271.72080-7b230b0-1_all.ipk
Installing libxtables (1.4.21-3) to root...
Downloading file:packages/libxtables_1.4.21-3_mips_mips32.ipk
Installing libip4tc (1.4.21-3) to root...
Downloading file:packages/libip4tc_1.4.21-3_mips_mips32.ipk
Installing kmod-nf-ipt (4.4.240-1) to root...
Downloading file:packages/kmod-nf-ipt_4.4.240-1_mips_mips32.ipk
Installing kmod-ipt-core (4.4.240-1) to root...
Downloading file:packages/kmod-ipt-core_4.4.240-1_mips_mips32.ipk
Installing kmod-nf-conntrack (4.4.240-1) to root...
Downloading file:packages/kmod-nf-conntrack_4.4.240-1_mips_mips32.ipk
Installing kmod-ipt-conntrack (4.4.240-1) to root...
Downloading file:packages/kmod-ipt-conntrack_4.4.240-1_mips_mips32.ipk
Installing kmod-nf-nat (4.4.240-1) to root...
Downloading file:packages/kmod-nf-nat_4.4.240-1_mips_mips32.ipk
Installing kmod-ipt-nat (4.4.240-1) to root...
Downloading file:packages/kmod-ipt-nat_4.4.240-1_mips_mips32.ipk
Installing firewall (2017-05-27-a4d98aea-1) to root...
Downloading file:packages/firewall_2017-05-27-a4d98aea-1_mips_mips32.ipk
Installing luci-mod-admin-full (git-19.271.72080-7b230b0-1) to root...
Downloading file:packages/luci-mod-admin-full_git-19.271.72080-7b230b0-1_mips_mips32.ipk
Installing luci-theme-bootstrap (git-19.271.72080-7b230b0-1) to root...
Downloading file:packages/luci-theme-bootstrap_git-19.271.72080-7b230b0-1_all.ipk
Unknown package 'zram-swap'.
Installing base-files (173.6-r4102-34f1ac451d) to root...
Downloading file:packages/base-files_173.6-r4102-34f1ac451d_mips_mips32.ipk
Installing ubusd (2018-10-06-221ce7e7-1) to root...
Downloading file:packages/ubusd_2018-10-06-221ce7e7-1_mips_mips32.ipk
Installing ubus (2018-10-06-221ce7e7-1) to root...
Downloading file:packages/ubus_2018-10-06-221ce7e7-1_mips_mips32.ipk
Installing jshn (2018-07-25-c83a84af-5) to root...
Downloading file:packages/jshn_2018-07-25-c83a84af-5_mips_mips32.ipk
Installing netifd (2017-01-25-650758b1-1) to root...
Downloading file:packages/netifd_2017-01-25-650758b1-1_mips_mips32.ipk
Installing ubox (2017-03-10-16f7e161-1) to root...
Downloading file:packages/ubox_2017-03-10-16f7e161-1_mips_mips32.ipk
Installing procd (2018-01-22-9a4036fb-2) to root...
Downloading file:packages/procd_2018-01-22-9a4036fb-2_mips_mips32.ipk
Installing jsonfilter (2016-07-02-dea067ad-1) to root...
Downloading file:packages/jsonfilter_2016-07-02-dea067ad-1_mips_mips32.ipk
Installing usign (2019-08-06-5a52b379-1) to root...
Downloading file:packages/usign_2019-08-06-5a52b379-1_mips_mips32.ipk
Installing lede-keyring (2017-01-20-a50b7529-1) to root...
Downloading file:packages/lede-keyring_2017-01-20-a50b7529-1_mips_mips32.ipk
Installing fstools (2019-03-28-ff1ded63-5) to root...
Downloading file:packages/fstools_2019-03-28-ff1ded63-5_mips_mips32.ipk
Installing fwtool (1) to root...
Downloading file:packages/fwtool_1_mips_mips32.ipk
Installing busybox (1.25.1-4) to root...
Downloading file:packages/busybox_1.25.1-4_mips_mips32.ipk
Unknown package 'dnsmasq'.
Installing dropbear (2017.75-5) to root...
Downloading file:packages/dropbear_2017.75-5_mips_mips32.ipk
Package firewall (2017-05-27-a4d98aea-1) installed in root is up to date.
Package fstools (2019-03-28-ff1ded63-5) installed in root is up to date.
Package kernel (4.4.240-1-f2a32ed123329102cd9eaf34857e00dd) installed in root is up to date.
Installing kmod-ath5k (4.4.240+2017-01-31-16) to root...
Downloading file:packages/kmod-ath5k_4.4.240%2b2017-01-31-16_mips_mips32.ipk
Installing iw (4.9-1) to root...
Downloading file:packages/iw_4.9-1_mips_mips32.ipk
Installing kmod-cfg80211 (4.4.240+2017-01-31-16) to root...
Downloading file:packages/kmod-cfg80211_4.4.240%2b2017-01-31-16_mips_mips32.ipk
Installing hostapd-common (2016-12-19-ad02e79d-7) to root...
Downloading file:packages/hostapd-common_2016-12-19-ad02e79d-7_mips_mips32.ipk
Installing kmod-mac80211 (4.4.240+2017-01-31-16) to root...
Downloading file:packages/kmod-mac80211_4.4.240%2b2017-01-31-16_mips_mips32.ipk
Installing kmod-ath (4.4.240+2017-01-31-16) to root...
Downloading file:packages/kmod-ath_4.4.240%2b2017-01-31-16_mips_mips32.ipk
Installing kmod-gpio-button-hotplug (4.4.240-2) to root...
Downloading file:packages/kmod-gpio-button-hotplug_4.4.240-2_mips_mips32.ipk
Package libc (1.1.16-1) installed in root is up to date.
Package libgcc (5.4.0-1) installed in root is up to date.
Installing logd (2017-03-10-16f7e161-1) to root...
Downloading file:packages/logd_2017-03-10-16f7e161-1_mips_mips32.ipk
Installing mtd (23.1) to root...
Downloading file:packages/mtd_23.1_mips_mips32.ipk
Package netifd (2017-01-25-650758b1-1) installed in root is up to date.
Installing odhcpd (2018-05-27-59339a76-4) to root...
Downloading file:packages/odhcpd_2018-05-27-59339a76-4_mips_mips32.ipk
Installing swconfig (11) to root...
Downloading file:packages/swconfig_11_mips_mips32.ipk
Installing uci (2019-05-17-f199b961-2) to root...
Downloading file:packages/uci_2019-05-17-f199b961-2_mips_mips32.ipk
Installing uclient-fetch (2018-11-24-3ba74ebc-1) to root...
Downloading file:packages/uclient-fetch_2018-11-24-3ba74ebc-1_mips_mips32.ipk
Installing libuclient (2018-11-24-3ba74ebc-1) to root...
Downloading file:packages/libuclient_2018-11-24-3ba74ebc-1_mips_mips32.ipk
Installing wpad-mini (2016-12-19-ad02e79d-7) to root...
Downloading file:packages/wpad-mini_2016-12-19-ad02e79d-7_mips_mips32.ipk
Configuring libubox.
Configuring libuci.
Configuring liblua.
Configuring libuci-lua.
Configuring libubus.
Configuring libjson-c.
Configuring libblobmsg-json.
Configuring ubusd.
Configuring ubus.
Configuring libnl-tiny.
Configuring iw.
Configuring rpcd.
Configuring busybox.
Configuring odhcpd.
Configuring luci-lib-ip.
Configuring libubus-lua.
Configuring libiwinfo.
Configuring libiwinfo-lua.
Configuring swconfig.
Configuring luci-theme-bootstrap.
Configuring kmod-nf-ipt.
Configuring kmod-ipt-core.
Configuring kmod-nf-conntrack.
Configuring kmod-ipt-conntrack.
Configuring jshn.
Configuring netifd.
Configuring libjson-script.
Configuring ubox.
Configuring procd.
Configuring jsonfilter.
Configuring usign.
Configuring lede-keyring.
Configuring fstools.
Configuring fwtool.
Configuring base-files.
Configuring kmod-nf-nat.
Configuring kmod-cfg80211.
Configuring hostapd-common.
Configuring kmod-mac80211.
Configuring kmod-ath.
Configuring kmod-ath5k.
Configuring libxtables.
Configuring libip4tc.
Configuring kmod-ipt-nat.
Configuring firewall.
Configuring luci-app-firewall.
Configuring libuclient.
Configuring uclient-fetch.
Configuring uci.
Configuring lua.
Configuring wpad-mini.
Configuring dropbear.
Configuring mtd.
Configuring luci-lib-nixio.
Configuring luci-lib-jsonc.
Configuring luci-base.
Configuring luci-mod-admin-full.
Configuring kmod-gpio-button-hotplug.
Configuring logd.
Configuring uhttpd.
Collected errors:
 * opkg_install_cmd: Cannot install package uhttpd-mod-ubus.
 * opkg_install_cmd: Cannot install package zram-swap.
 * opkg_install_cmd: Cannot install package dnsmasq.
make[2]: *** [Makefile:151: package_install] Error 255
make[1]: *** [Makefile:116: _call_image] Error 2
make: *** [Makefile:203: image] Error 2

Also, i already compiled the image with the build system, this are the output files i got:

fpp@DESKTOP-PG3VV3J:~/OpenWRT_LEDE_17.01/openwrt/bin/targets/ath25/generic$ ls --size -h -l
total 20M
4.0K -rw-r--r-- 1 fpp fpp  796 Apr 30 11:18 config.seed
4.0K -rw-r--r-- 1 fpp fpp 2.0K Apr 30 11:18 lede-ath25-default.manifest
3.2M -rwxr-xr-x 1 fpp fpp 3.2M Apr 30 11:18 lede-ath25-generic-kernel.elf
1.5M -rwxr-xr-x 1 fpp fpp 1.5M Apr 30 11:18 lede-ath25-generic-kernel.gz
1.1M -rwxr-xr-x 1 fpp fpp 1.1M Apr 30 11:18 lede-ath25-generic-kernel.lzma
2.2M -rw-r--r-- 1 fpp fpp 2.2M Apr 30 11:18 lede-ath25-generic-squashfs-rootfs.bin
3.1M -rw-r--r-- 1 fpp fpp 3.1M Apr 30 11:18 lede-ath25-generic-squashfs-sysupgrade.bin
3.0M -rw-r--r-- 1 fpp fpp 3.0M Apr 30 11:18 lede-ath25-ubnt2-pico2-squashfs-sysupgrade.bin
3.0M -rw-r--r-- 1 fpp fpp 3.0M Apr 30 11:18 lede-ath25-ubnt2-squashfs-sysupgrade.bin
3.0M -rw-r--r-- 1 fpp fpp 3.0M Apr 30 11:18 lede-ath25-ubnt5-squashfs-sysupgrade.bin
4.0K drwxr-xr-x 2 fpp fpp 4.0K Apr 30 11:18 packages
4.0K -rw-r--r-- 1 fpp fpp 1001 Apr 30 11:18 sha256sums

Could it fit on the 4mb flash? i think that i only need these two files, isnt it?:

1.1M -rwxr-xr-x 1 fpp fpp 1.1M Apr 30 11:18 lede-ath25-generic-kernel.lzma
2.2M -rw-r--r-- 1 fpp fpp 2.2M Apr 30 11:18 lede-ath25-generic-squashfs-rootfs.bin

so, it probably can fit fine, isnt it?
Also, please tell me if the diffconfig file has a good syntax, i didnt found in any place how to not delete packages on the config file, so this it what i did:

fpp@DESKTOP-PG3VV3J:~/OpenWRT_LEDE_17.01/openwrt$ cat diffconfig
CONFIG_TARGET_ath25=y
CONFIG_TARGET_ath25_Default=y
CONFIG_TARGET_BOARD="ath25"
CONFIG_IPV6=n
CONFIG_KERNEL_IPV6=n
CONFIG_LUCI_LANG_es=n
# CONFIG_PACKAGE_dnsmasq is not set
CONFIG_PACKAGE_libip6tc=n
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
# CONFIG_PACKAGE_libpthread is not set
CONFIG_PACKAGE_libubus-lua=n
CONFIG_PACKAGE_libuci-lua=n
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-i18n-base-es=n
CONFIG_PACKAGE_luci-i18n-firewall-es=n
CONFIG_PACKAGE_luci-lib-ip=m
CONFIG_PACKAGE_luci-lib-jsonc=n
CONFIG_PACKAGE_luci-lib-nixio=n
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_opkg=n
CONFIG_PACKAGE_ppp=n
CONFIG_PACKAGE_rpcd=n
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_kmod-lib-crc-ccitt=y
CONFIG_PACKAGE_kmod-mppe=n
CONFIG_PACKAGE_kmod-ppp=n
CONFIG_PACKAGE_kmod-ppp-synctty=n
CONFIG_PACKAGE_kmod-pppoa=n
CONFIG_PACKAGE_kmod-pppoe=n
CONFIG_PACKAGE_kmod-pppol2tp=n
CONFIG_PACKAGE_kmod-pppox=n
CONFIG_PACKAGE_kmod-pptp=n
CONFIG_PACKAGE_kmod-slhc=y

is that right? or should i just comment the packages that i dont want to be included?
Thanks

This is too big - too big for flash and too big memory consumption.
Even if you remove almost everything it still can be not enough

Then what is the best I can try? No LuCI or go to an older release?

Let's be honest for a minute, your router is fourteen years old by now, 183 MHz, 4 MB flash and 16 MB RAM - there is no way to make it do anything useful, nor not to be horribly insecure. Stripping down the firmware can still rescue a device with 4 MB flash, but 16 MB RAM are a hard no-go - you will have a hard time to get it booting with 16 MB RAM in the first place, enabling wireless is out of the question.

The only reasonable choice would be to grant it its well deserved retirement in a cozy recycling bin.

3 Likes

You're right. I guess i wont be able to run OpenWRT on this device, but I'll still try to run DD-WRT as it is still being maintained on a regular basis (even for this specific device!), but of course, i guess it dosent has a fancy, material design UI and a good pack of monitoring tools. Only thing i have to figure out is how to avoid this Can't program region at 0xbffa0000: Unknown error error. I guess I'll try to compile my own image and get rid of something that i wont never ever need on a router like this one (like openvpn support, i dont use any vpn). So, yeah, thanks to everyone who tried to help, but its true, i wont be able to get a secure enough and working OpenWRT firmware. Il'll keep this thread open until i can make work DD-WRT flawlessly and with no problems on this dinosaur.
And again, thanks to everyone for trying to help and sharing their ideas with me. Good luck.

Regards,
fpp