Month: December 2013

Traffic Logging with Asus RT-N56U

UPDATES! 21/6/14: Use a different interface that does just WAN traffic and made the cron thing actually work. Scroll down for the green bits (padavans firmware only though).

I’ve spent the last few days fiddling around with network traffic monitoring on my modem so I can track downloads for each different computer on my network. This article is a how to guide and a set of notes about getting it working.
If you want to follow this guide, you will need an Asus RT-N56U or one of the similar models. You can also mostly follow this guide using any OpenWRT routers (but you will need to adjust as you go to suit your router). I initially set it up using the stock firmware on the RT-N56U, however I ran into issues where it was reporting the wrong amount of traffic. After I installed the Padavan’s Firmware, I still had the same problem (I later solved it by disabling hardware NAT below). In theory this technique should work with the stock firmware and I’ll detail it below as well as how to get Padavan’s Firmware up and running too.

The final result of this is to be able to see a screen like this:
Screen Shot 2013-12-31 at 11.49.33 am

Continue reading →

Posted by duck in Home, How-To Guides, 31 comments

MacBook Pro Retina Going to Sleep on Battery in Mavericks

I recently got myself a MacBook Pro 15″ Retina and noticed that in Mavericks they have removed the option to have separate timers for display sleep and computer sleep.  You can turn off sleep mode  when you’re running on AC power, but not when you’re running on the battery.

The problem with this is that I want the display to turn off to save battery power, but I want all my background processes (eg. Adium/Colloquy) to continue running and for it to stay connected to wifi, but when the display goes blank, it goes straight to sleep and disconnects everything!

The fix for this is to manually set the options via pmset in the terminal. To do this, you’ll need to do the following:
1.    Open Terminal (it’s in the Utilities folder under Applications)
2.    Enter the command:  sudo pmset -b sleep 0
3.    Enter the command:  sudo pmset -b standby 0

You will need to enter your password after running these commands (if it asks for it).
For more information about what this command does, check here:  https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/pmset.1.html

Hope this helps someone 🙂

Ducky

Posted by duck in Home, How-To Guides, IT Issues, 7 comments