Fortunately, sch_htb, the Hierarchical Token Bucket is available on OpenWRT, which can do the same thing, but it's a lot more complicated to configure.
The following script will rate limit the single IP address of 192.168.0.67 to 128kbps. All other addresses on the network will remain unlimited. Set the name of the inside interface on your Linux router in DEV, the IP address in IP, the maximum rate on your inside network in MAXRATE and the limit that you want to apply in LIMIT.
I don't know what it is with the Ubuntu developers; they seem to be going out of their way to make their distribution as unpleasant to use as is humanly possible. If it wasn't bad enough that they slow it down by running the default desktop with pointless animations, and playing annoying drumbeats at boot time, they disable potentially useful features like menu tearoffs and then move everyone's titlebar buttons across to the left side, ignoring their previous defaults.
Here's a script to fix up these inanities:
# Put the buttons on the right, where they should be
gconftool-2 --type string --set /apps/metacity/general/button_layout ":minimize,maximize,close"
Every new release of Ubuntu seems to break something that was working on my systems, and it was no different with the 10.04 release of Ubuntu: my Huawei e169 mobile broadband modem, which can be used in Australia on the Optus, Vodafone and Virgin mobile networks, and in Europe almost everywhere, stopped working.
The device would appear in the filesystem, but no matter what I did, it refused to connect.
It's quite easy to fix this, in fact. Firstly, install the usb-modeswitch package:
sudo apt-get install usb-modeswitch
Then create the file /etc/udev/rules.d/75-e169.rules with the following contents:
It's a common scenario: you've been given the task of rolling out dozens of Linux boxes, but you'd rather not have to go through the pain of installing every one them manually. Automated installations with Redhat are well documented, but what about Ubuntu?
Ubuntu inherits Debian's ability to preseed the answers to its installation questions, but the instructions for this are rather haphazard and seems to quickly become out of date as newer versions are released.
In this article, we'll look at setting up automated installations for Ubuntu Jaunty, entirely from the network. We'll start out with one assumption however - that the workstation being used has the ability to perform network boots using PXE. Most modern workstations and servers have this feature, which is usually enabled via the BIOS. If your computer doesn't have this, then you will most likely need to initial your boots from a CDROM, floppy disk drive or USB key.