Skip to content

Month: November 2018

EdgeOSv1.10.6 – EdgeMax (EdgeRouter) installing vnstat to record bandwidth usage

I wanted to record how much bandwidth is being used during the month. I found these instructions to install vnstat, a traffic monitor.

  • open a ssh connection to your router
    • the credentials are the same that you use in the web admin portal
  • run the following lines to add the debian repo
    • configure
      set system package repository wheezy components 'main contrib non-free'
      set system package repository wheezy distribution wheezy
      set system package repository wheezy url http://http.us.debian.org/debian
      commit; save; exit
  • update cache
    • sudo apt-get update
  • install vnstat
    • sudo apt-get install -y vnstat vnstati
      • vnstati is a tool that creates images off of the data
  • run vnstat
    • sudo vnstat -i eth0
  • run this line to allow vnstat to start after reboot
    • ln -s /etc/init.d/vnstat /config/scripts/post-config.d/vnstat

More info can be found here:

http://tate.cx/edgeos-data-usage-monitor-using-vnstat
https://community.ubnt.com/t5/EdgeMAX-Feature-Requests/vnStat-vnStati-on-ERL/idi-p/819414

 

Leave a Comment

soyoustart – arm ufw error

If you get this error:

modprobe: ERROR: could not insert 'ip_tables': Exec format error
iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Run this:
$ wget http://last.public.ovh.hdaas.snap.mirrors.ovh.net/ubuntu/pool/main/l/linux-modules-armada375/linux-modules-armada375_4.5.2-4_armhf.deb
$ dpkg -i linux-modules-armada375_4.5.2-4_armhf.deb

Found on: https://www.lowendtalk.com/discussion/comment/2806769/#Comment_2806769

Leave a Comment