Everything I've ever read says only to define 127.0.0.1 to localhost. So in mine, I've always had:
Code:
127.0.0.1 localhost
And for a host entry I'd do:
Code:
192.168.1.50 orion orion.domain.tld
Ubuntu should grab the value for 'hostname' from what you have defined in /etc/hostname.
Might be that you have a firewall stopping your pings?
Check that with 'iptables --list'
If there's no firewall it should look something like this:
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination