once more I answere my own question. SOLUTION! put this in a shell script and go for a walk, it will take some time: if ! grep -q "src/gz reboot_base https://downloads.lede-project.org/releases/packages-17.01/mipsel_24kc/base" /etc/opkg/customfeeds.conf; then echo "src/gz reboot_base https://downloads.lede-project.org/releases/packages-17.01/mipsel_24kc/base" >> /etc/opkg/customfeeds.conf fi if ! grep -q "src/gz reboot_packages https://downloads.lede-project.org/releases/packages-17.01/mipsel_24kc/packages" /etc/opkg/customfeeds.conf; then echo "src/gz reboot_packages https://downloads.lede-project.org/releases/packages-17.01/mipsel_24kc/packages" >> /etc/opkg/customfeeds.conf fi opkg update opkg install grep gcc make autoconf automake tar wget http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2018.03.13.tar.xz tar -xf autoconf-archive-2018.03.13.tar.xz cd autoconf-archive-2018.03.13 sh configure --prefix=/usr make install done, have fun bootstraping (it's a pain)