Monday, October 11, 2010

Upgrading Ubuntu 10.04.1 to 10.10 using update manager

A couple of you have been having problems trying to upgrade to Ubuntu 10.10 from 10.04 LTS because the option to upgrade is not listed on in the Update Manager. This could be because, by default, update manager is not set to show this type of upgrade and to only show "long term support only" upgrades.


Simply launch Update Manager from the Admin menu, select go to settings and select the Update Tab. At the Bottom there is a drop down for "Release Upgrade: show new distribution releases" Change to Normal Releases and rerun the check. The 10.10 option will now show.




  

Friday, December 4, 2009

DNS Problem with two Network cards

On a server or PC with two network cards running Ubuntu Linux, you are inevitably tempted to hardcode your IP addresses by editing /etc/networking/interfaces. Logically you may draw the conclusion that both devices should be configured with the same routing information like this:



auto lo
iface lo inet loopback


# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.8
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

auto eth1
iface eth1 inet static
address 192.168.0.9
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1



this is actually incorrect and will cause two symptoms. When you run /etc/init.d/networking restart you get this response:


RTNETLINK answers: no such process


Your internal network will work ok and you'll be able to access the system but you will not be able to get to the outside network and a ping to google.com will come back with unknown host. 


The solution is to remove the second gateway listing (highlighted in red). You only need one. Run /etc/init.d/networking restart and you should be good to go.