I managed to install ipmitool 1.8.18 on my netgear R7000 router flashed with adveced tomato:
Here's a short tutorial for my own reference and for anyone trying to accomplish this as well in the future:
Steps:
1. use an usb stick and install entware
2. download packages to create a build environment
3. download the latest ipmitool source files (I used 1.18.8)
4. install dependancies +libopenssl +libncurses +libreadline
5. symlink crypto libs so the ./configure command is able to detect is
1. : see here: (I cannot post links) Entware-ng Install-on-the-TomatoUSB
2. : see this guide: Entware-ng/Entware-ng/wiki/Using-gcc-(native-compilation)
3: download ipmitool from sourceforse, for lanplus as well (the above mentioned removing of --enable-internal-md5 doesn't seem to be needed anymore)4. use opkg install (you need the latest wget)
4. use opkg
5. this one took the most time to figure out: create a symlink from the /opt/lib/libcrypto.so.1.0.0 to /opt/lib/libcrypto.so (since the compiler is looking for libcrypto.so and otherwise lanplus interface cannot be used (needed for ipmi v2.0)
configure using ./configure --prefix=/opt and if everything is fine it will compile using make && make install and be a happy camper..
(Last edited by dafart on 29 Mar 2017, 18:26)