PDA

View Full Version : [ubuntu] Need Help- Ubuntu Server


pampersdry
September 16th, 2009, 12:59 AM
hi all.....im new here....im sorry if the question had already asked by someone....

i've install ubuntu server on my hp proliant...the problem is my box have no conn to the internet or network...i use 2 net interface

this is my ip setting

******eth0
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1


when i ping google.com, the server say "unknown host google.com"... and i cannot ping my gateway...."destination host unreachable"....

i dont know what the real problem is.... :(

KiLaHuRtZ
September 16th, 2009, 04:51 AM
Make sure you have DNS setup in '/etc/resolv.conf'.

domain [YOUR DOMAIN] # (optional)
search [YOUR DOMAIN] # (optional)
nameserver [A.A.A.A]
nameserver [B.B.B.B]
[...]
nameserver [Z.Z.Z.Z]

Also, have you restarted networking?

sudo /etc/init.d/networking restart

One last thing, are you using the correct NIC?

PilotJLR
September 16th, 2009, 06:10 PM
Please post:


ifconfig -a

route

cat /etc/resolv.conf

Udayakiran
September 17th, 2009, 11:58 PM
have you tried this:
sudo dmesg | lessmost of the time it shows what the problem is.

maybe the network interface has not been initialized.

also try ifconfig -a to see if it is eth0 or something else. at times it initializes to eth1.