can't ping to local host when set default gateway

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, forgot something very important:
If we delete the default gateway, we can ping the
localhost successfully:
#route del default gw 192.168.0.1
#ping localhost
... OK ...


The following is the original e-mail:

I am making a Java application on top of a Samsung ARM
embedded platform.
I can not ping the local host when trying to reach an
internet address when set the default gate way to
192.168.0.1, the shell says,

#ping localhost
unknown host

but it is strange enough that ping to 127.0.0.1 is ok.

Since the X-server need to use localhost to get to the
local machine, this becomes a very big problem.

I have filled the /etc/hosts file with the following
line,
127.0.0.1 localhost.localdomain localhost

and in the /etc/host.conf,
...
order hosts
...

I found the named is missing in my system, could this
possibly be the reason? Then how can I find it?

regards


_________________________________________________________
Do You Yahoo!? 
繁华世界里,让我看清你
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_dec2003
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux