Yesterday, I wanted to update my Debian system and because it sometimes can take a while, I wanted to stream a movie alongside while the updates were being applied. Home bandwidth being what it is, I ended up having a stalled streaming connection – moderately annoying.
The fix? Trickle. Trickle’s a neat little app on Linux that allows you to limit the upload and/or download bandwidth available to any app. And it installs pretty fast too.
So from the linux prompt I hit:
$trickle -d 40 sudo apt-get upgrade
And voila, I could stream that movie while the system upgraded itself. And naturally, no reboots required. 🙂
And one of the simplest ways is to use Keepassx. It works on both Windows and Linux, is pretty easy to install and has the amazing feature of AutoType, where it can type in your passwords, once you unlock the app. So now, there are fewer excuses for not using stronger and stranger passwords.
Here’s a quick how-to on setting it up for use on your Windows machine! For Linux, RTFM 🙂
And so as I’m traveling and not carrying my laptop, I was starting to miss Linux. I couldn’t install it on my wife’s work laptop either, so I was left to ponder a different solution: Live USBs.
The concept is to install Linux onto a USB stick and boot using the USB. Now that’s all good except that most Live USBs are based on the USB model and by default may not include the ability to save between reboots. The missing feature is called persistence. And so that lauched me into a search for something that would work.
It turns out the major distros have something available that helps. I tried Debian first – but by default the WiFi wouldn’t work, and I had to wire myself up, which didn’t seem very feasible. I figured Ubuntu possibly would work too, but I’ve really grown not to like Ubuntu lately. After some poking around I found Puppy Linux! And I love this pooch.
1. It’s damn small – 175 MB
2. Persistence is available by default
3. Everything works Out of the Box!
4. Extending it is extremely easy and adding more utilities is no hassle
So, here I am with this amazing pooch and Tux!
Enjoying the read but I still think Murakami is a prick for his constant bourgeois brand name dropping. It might be descriptive, but still very annoying.
One benefit of being part of a forum, as most forum users would know, is that one gets exposed to a ton of information. Today was quite interesting that way and I learnt about the following:
- Loopback devices – how to get a Virtual Hard Drive and possibly even boot from it (Linux) – http://wiki.osdev.org/Loopback_Device
- A free book that teaches you how to build a minimal linux installation:
- A tool that’ll help you fix most of your boot issues:
- A book on graphics programming:
- A manual for Aptitutde (a bit out of date, but still useful, I’m sure):
- And since I’m thinking of setting up a dual-boot system on my machine (Debian and Ubuntu) how to install Debian from inside Linux:
- And since I’m super excited about minidlna, I was happy to discover that there’s a fork that does transcoding! I’m looking forward to getting that working on my system:
Next project for me is to figure out how to get all these projects I want done done!
I’ve been running into a regular problem with Squid proxy – I have to restart Squid for it to work. After putting in some thought I think I have a handle on the problem. When using wired connections, the ethernet is one of the first devices to be initialized. However, WiFi ends up being the last device initialized. So perhaps I needed to just ensure that squid started after everything else was loaded. Easier said than done. I’ve been looking for an answer and now I hit upon this document!
So first I need to figure out my runlevel.
gives me the answer. It’s 2.
So going into rc2.d I just change the filename from whatever it was to S25squid or anything bigger than my network manager 🙂
I need to test this on more than one machine to ensure that it’s working!