Thursday, October 07, 2010

ZeroConf Ubuntu Server Setup

Situation: You have a development server (Running the Ubuntu Server OS), an OSX work station, and one network cable.

Task: Enable networking between the two via a network cable so that development can commence!

Action:

1. Plug cable in, notice that network is non existent.
2. Install needed software on server.
sudo apt-get install avahi-daemon avahi-autoipd

3. Modify /etc/network/interface file. Change or add a section like this:
auto eth0
iface eth0 inet ipv4ll
(The ipv4ll is the magic bit.)

4. Restart networking.
sudo /etc/init.d/networking restart

5. Ping yourserver.local from your workstation.


Response: Voila, networking is now working.

No comments:

Popular Posts