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:
Continue reading »sudo nano /etc/dnsmasq.conf
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 »
Categories
Tags
adbard Android archlinux auckland awesome bzr conference crap crunchbang debian dhcp eeepc electricity facebook Fedora foss Free Software gallery3 google google analytics identi.ca java javascript kiwi pycon launchpad linux LVM mu-feeder netboot Open Cloud photos piwik pxe python site news skepticism SwallowCatcher tftp turnitin ubuntu UoA upmotw videos wifi wordpressI Also Contribute To...
Planets I'm On

