Archive for June, 2009
Even easier netboot installation…
by Rob Connolly on Jun.24, 2009, under Howtos
A while ago I covered netbooting/installation on ubuntu, well I’ve now found an even easier way to do this! It’s probably the easiest way to go about this as it really only involves editing one config file. Some of the info here comes from the official Ubuntu documentation on this, though my approach is actually easier, since you don’t need a separate tftp server.
The main piece of software you will need is dnsmasq, which you can install with the command:
sudo apt-get install dnsmasq
I already had this installed as I’m using it as a DNS cache for my network (which is also pretty useful). It turns out that dnsmasq is a bit of a ‘swiss army knife’, it can do DHCP, DNS and TFTP all together and very easily. You should edit the config file:
sudo nano /etc/dnsmasq.conf (continue reading…)
Quickly change Debian repositories
by Rob Connolly on Jun.03, 2009, under Tips
Apt is awesome. Plain and simple.
But it is kinda static. By this I mean it’s not particularly suited to environments where things change frequently. For example, we have a local mirror at uni, which of course it much faster than using the external Ubuntu or Debian ones, however as this is only available from internal University of Auckland IP addresses I would have to change my /etc/apt/sources.list file if I wanted to install something from home.
Today I knocked together a quick Python script to fix this, all it does is basically manipulate a symlink which points to the real /etc/apt/sources.list file, but I thought I’d share it anyway: (continue reading…)
