DD-WRT Firewall Fine Tuning

To add additional firewall rules via the DD-WRT web interface when there’s no checkbox, navigate to web interface’s section at [Administration] -> [Commands]

You should see a text box, there you can add individual iptables rules as if you were using the command line. Just save the command with the appropriate button labeled [Save Firewall]

I found this particularly useful for allowing a machine with a static IP to ping a machine that drops ping requests. Here is the rule I added as an example

 

Improve Flash Drive Performance

So after having my 32 GB PNY Attache flash drive fail every time I tried to write to <pre>sync</pre>, it finally let me after using

But discovering that command wasn’t the end, I had to deal with it’s almost impossible write-speed, this information helped:

Append to /etc/rc.local

Append to /etc/sysctl.conf

Thanks once again to ArchWiki

Encoding MP3′s is LAME !

Lame Encoding Output

Once in a great while I come across artists and uploaders who still distribute tracks as .wav .. This is great if you wanna do some editing and what-not, but I’d rather turn a 70MB into 9MB for the sake of space. Here’s a quick one-liner as an example

This results in  original-file.mp3 , a high-quality 320 kbps VBR MP3.

Wasn’t that much easier than opening some GUI-intensive bloatware in Windows?.. Just one of the many reasons why *Nix is awesome.