YAMon is a network monitoring tool that can tell you how much of your internet connection you’re using along with nice monthly charts and detailed usage information, such as what devices are downloading the most data. Majordomo (included in the Omnia) is nice but gives you text data, I also find it to be a bit slow.
These are just some basic instructions, you’ll have to be comfortable with the command line to get this running, and modifying config files. But it does work. Note you’ll be editing some system files, so updating your Omnia to a new OS version might knock out these changes and you’ll have to redo them. Note this is tested on Omnia v3.7.1 with YAMon 3.3.0, on my personal router, different versions or configurations might need some changes.
-
Download the YAMon installer script, I saved mine into /opt.
-
Unzip the install package and go through installation. I selected most of the defaults (specifying Turris as the OS) and installed into
/opt/YAMon3
. -
Edit
/opt/YAMon3/config.file
and make the following changes:
_dnsmasq_conf='/var/etc/dnsmasq.conf'
_dnsmasq_leases='/tmp/dhcp.leases'
_includeBridge=1
_bridgeMAC="XX:XX:XX:XX:XX:XX" (whatever your MAC is for br-lan)
_bridgeIP="###.###.###.###" (your br-lan IP address)
-
Copy YAMon’s web directory:
cp -rpv /tmp/www /www/yamon
-
Add the following line to /etc/lighttpd/lighttpd.conf (at the end is fine):
server.follow-symlink = "enable"
-
Create the following init script
/etc/init.d/yamon
using vi or your preference:
#!/bin/sh /etc/rc.common
START=50
STOP=50
start() {
echo Starting YAMon...
/opt/YAMon3/startup.sh
}
stop() {
echo Stopping YAMon...
/opt/YAMon3/shutdown.sh
}
-
Set permissions on the script:
chmod 0755 /etc/init.d/yamon
-
Reboot your router
You may also need to go into the LuCI interface > System > Startup
and enable the yamon
startup script there for it to be active. You should only need to do this once. You can disable YAMon here as well without removing it.
You should now be able to go to http://<yourrouterIP>/yamon
with a browser on your network and get to the stats (after some browser setup questions).
If you wish to remove YAMon, simply remove /www/yamon
, /opt/YAMon3
, and /etc/init.d/yamon
and reboot.
This isn’t supported by Turris, but it is being supported by YAMon now. I’ll try and keep these docs up-to-date.