How to build metarouter image LEDE 17.0.4 + GUI(luci) + ALL packages for Mikrotik RB951UI-2HND?

Hi!

I have router Mikrotik RB951UI-2HND and it work well on ROS 6.42.4.

But I want install in Metarouter image LEDE 17.0.4 + GUI(luci) + ALL packages(because they can`t installed thru opkg from LEDE feeds) for using it as small LAMP server and etc.

Please, can You tell me how to do this (maybe link to the actual instruction, how to do this step by step)? Before I have some experience in installation and configuration Metarouter images OpenWRT, but it long time not supported.

Im trying now build image from this instruction https://github.com/cuihaoleo/lede-mr-mips, but until the end Im not sure that I'm doing everything right and get a stable image with a set of installation packages.


P.S.:
Tried before "make menuconfig" to run this command and get errors:
ev@debian:~/LEDE/source$ ./scripts/feeds update -a
Updating feed 'packages' from 'https://git.lede-project.org/feed/packages.git;lede-17.01' ...
Клонирование в «./feeds/packages»…
fatal: unable to access 'https://git.lede-project.org/feed/packages.git/': Failed to connect to git.lede-project.org port 443: В соединении отказано
failed.
Updating feed 'luci' from 'https://git.lede-project.org/project/luci.git;lede-17.01' ...
Клонирование в «./feeds/luci»…
fatal: unable to access 'https://git.lede-project.org/project/luci.git/': Failed to connect to git.lede-project.org port 443: В соединении отказано
failed.
Updating feed 'routing' from 'https://git.lede-project.org/feed/routing.git;lede-17.01' ...
Клонирование в «./feeds/routing»…
fatal: unable to access 'https://git.lede-project.org/feed/routing.git/': Failed to connect to git.lede-project.org port 443: В соединении отказано
failed.
Updating feed 'telephony' from 'https://git.lede-project.org/feed/telephony.git;lede-17.01' ...
Клонирование в «./feeds/telephony»…
fatal: unable to access 'https://git.lede-project.org/feed/telephony.git/': Failed to connect to git.lede-project.org port 443: В соединении отказано
failed.

  1. https://openwrt.org/docs/guide-developer/build-system/install-buildsystem
  2. https://openwrt.org/docs/guide-user/additional-software/imagebuilder
    or
  3. https://openwrt.org/docs/guide-developer/using_the_sdk

alternatively use docker for easy setup (either useing precompiled packages or build from source


1 Like

Thank you for reply.

I build image+packages from:

Then I did import custom image in metarouter (this image http://www.ifugo.ru/lede/bin/targets/mr-mips/generic/lede-mr-mips-default-rootfs.tar.gz); setup network and change opkg feeds in /etc/opkg/distfeeds.conf:

src/gz reboot_core http://www.ifugo.ru/lede/bin/targets/mr-mips/generic/packages
src/gz reboot_base http://www.ifugo.ru/lede/bin/packages/mips_mips32/base
src/gz reboot_luci http://www.ifugo.ru/lede/bin/packages/mips_mips32/luci
src/gz reboot_packages http://www.ifugo.ru/lede/bin/packages/mips_mips32/packages
src/gz reboot_routing http://www.ifugo.ru/lede/bin/packages/mips_mips32/routing
src/gz reboot_telephony http://www.ifugo.ru/lede/bin/packages/mips_mips32/telephony

Then reboot and run command "opkg update":

root@LEDE:/etc# opkg update
Downloading http://www.ifugo.ru/lede/bin/targets/mr-mips/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_core
Downloading http://www.ifugo.ru/lede/bin/targets/mr-mips/generic/packages/Packages.sig
Signature check passed.
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/base/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_base
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/base/Packages.sig
Signature check passed.
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_luci
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/luci/Packages.sig
Signature check passed.
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_packages
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/packages/Packages.sig
Signature check passed.
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_routing
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/routing/Packages.sig
Signature check passed.
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_telephony
Downloading http://www.ifugo.ru/lede/bin/packages/mips_mips32/telephony/Packages.sig
Signature check passed.

Try to install any package, for example luci:

root@LEDE:/etc# opkg install luci
Unknown package 'luci'.
Collected errors:

  • opkg_install_cmd: Cannot install package luci.

P.S Later I seen, that package don`t exist http://www.ifugo.ru/lede/bin/packages/mips_mips32/luci/ ..

Where get actual feeds for packages, if https://git.lede-project.org and https://git.openwrt.org is offline?

I think you simply missed to actually install the feeds:

./scripts/feeds clean
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig

You can check via make menuconfig and see if luci and all the other packages are select-able, that come from the feeds.

PS: I don't use opkg and just include all i need via [*] instead of [m].