Tuesday, February 10, 2009

Installing Web Frameworks, part 3: fixed IP address for SCC server

Next task was to ensure a fixed IP was assigned to the SCC (SVN) server. There's a known feature in Ubuntu 8.10 whereby any attempt to assign a fixed IP address using the Network Manager is overridden during reboot. There are many proposed solutions: here, here, here and here.

Having spent ~3 hours today fighting my own unique battle, I can relay the following measures that I had to do:
  1. I had to uninstall Network Manager: sudo apt-get purge network-manager
  2. edit /etc/networking/interfaces, as shown below
  3. edit /etc/resolv.conf, as shown below
  4. restart networking and/or reboot: sudo /etc/init.d/networking restart
# /etc/networking/interfaces
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet static
address 192.168.0.11
netmask 255.255.255.0
gateway 192.168.0.1

# /etc/resolv.conf
nameserver 192.168.0.2
nameserver 192.168.0.1

HTH

No comments:

Post a Comment