hello i trying to install openwrt on mikrotik rb951g,
my steps :
tool fetch url=https://downloads.openwrt.org/releases/18.06.2/targets/ar71xx/mikrotik/openwrt-18.06.2-ar71xx-mikrotik-vmlinux-initramfs.elf
metarouter import-image file-name=openwrt-18.06.2-ar71xx-mikrotik-vmlinux-initramfs.elf
i catch a error with this content : "import failed: could not extract: archive is too short
".
how to install openwrt in mikrotik metarouter from rb951g ?
sorry for my bad english ;'(
tmomas
April 27, 2020, 6:10am
2
Does the same happen when you follow the instructions on https://openwrt.org/toh/mikrotik/rb951g_2hnd#installation (with 19.07.2 image)?
You might want to try a snapshot image too, due to a recently fixed bug, see
ar71xx: Fix gigabit switch support for Mikrotik RB951G-2HnD
i followed this solution :
If you need a multifunctional router but at the same time, you have a limited budget. There is an option, but for beginners, it might look…
Reading time: 3 min read
and solved my problem !
first of all you need to downgrade routeros verions to 6.45.7
/tool fetch https://download.mikrotik.com/routeros/6.45.7/routeros-mipsbe-6.45.7.npk
/system package downgrade
and download openwrt with :
/tool fetch http://download.bmsoft.de/mikrotik/12.09/metarouter/mr-mips/openwrt-mr-mips-rootfs.tar.gz
and add to metaROUTER :
/metarouter import-image memory-size=32 file-name=openwrt-mr-mips-rootfs.tar.gz
i trying to build openwrt from source with this custom patch
https://srv-file9.gofile.io/download/ikQ8pf/MetaROUTER-Linux-4.14.180.patch
sudo apt-get update
sudo apt-get install subversion g++ zlib1g-dev build-essential git python python3 python3-distutils libncurses5-dev gawk gettext unzip file libssl-dev wget libelf-dev ecj fastjar java-propose-classpath
umask 0022
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
patch -p0 <MetaROUTER-Linux-4.14.180.patch
make menuconfig
make -j 4
i get this error in booting level :
https://srv-file9.gofile.io/download/ikQ8pf/Untitled.png
[Ctrl-A is the prefix key]
Starting...
ln: /rw/run/netns: No such file or directory
/etc/rc.d/run.d/S01init: 11: cannot create /var/run/netns/main: Directory nonexistent
System halted.
please help me ...
Is this related to the original topic?
(You may want to ask this in the For Developers section.)
1 Like