ip-full broken in TurrisOS 5.0.0, breaks mwan3
Using hbt
branch in Turris Omnia:
/etc/turris-version: 5.0.0
ip-full - 5.0.0-2.1.0
mwan3 - 2.8.1-1.17
mwan3
needs ip-full
to work. I have both installed, but the Turris setup is broken. This is logged during mwan3
start-up:
ip: invalid argument '0x3d00/0x3F00' to 'fwmark'
ip: invalid argument '0x3e00/0x3F00' to 'fwmark'
ip: invalid argument '0x3d00/0x3F00' to 'fwmark'
ip: invalid argument '0x3e00/0x3F00' to 'fwmark'
ip: invalid argument '0x100/0x3F00' to 'fwmark'
The reason for this error is because ip-full
does not update the ip
symlink:
# opkg files ip-full
Package ip-full (5.0.0-2.1.0) is installed on root and has the following files:
/usr/libexec/ip-full
# ls -l /sbin/ip
lrwxrwxrwx 1 root root 20 Apr 18 13:25 /sbin/ip -> ../bin/busybox
# opkg search /sbin/ip
busybox - 1.30.1-5.18
ip-full
should be updating the /sbin/ip
symlink to point to /usr/libexec/ip-full
(or mwan3
should be updated to invoke /usr/libexec/ip-full
). If I update the symlink myself, everything works. However, this is an incredible fragile setup because any update restores the symlink back to busybox.
IMO Turris should ship with ip-full
as the default ip
command. It does not make sense to use busybox
since it is not resource-constrained in the same way as most routers.