LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   windows 98 m/c ping to ip address of red hat server but fails to ping hostname (https://www.linuxquestions.org/questions/linux-networking-3/windows-98-m-c-ping-to-ip-address-of-red-hat-server-but-fails-to-ping-hostname-227269/)

ravilohot 09-06-2004 08:05 AM

windows 98 m/c ping to ip address of red hat server but fails to ping hostname
 
Hi all

I am facing a problem will connecting to red hat linux , i have assign and local ip for the server 192.168.4.1 & hostname as precise.nasik.com
I have a network which have m/c of multiple windows os e.g win95/98 /xp /2000. I have modified the host file on all the os and added the ip address and hostname in it , i havent enable dns on any machine.
now for the problem ....
i can ping the red hat server through all windows os
i can ping for the hostname only through windows XP
WIN 95/98/2000 DOES NOT PING WHEN I TYPE HOSTNAME precise.
as my application oracle need domain name to be typed in IE to get the access , my windows 95 /98 machine should ping by hostname
the error message i get is also different on different system with same OS.
on max windows 98 machines i get error as unknown host ,
in one machine i get reply but thro, the same machines ip .i.e. if i ping precise from 192.168.4.142 . i get reply successfully but not from 192.168.4.1 but from 192.168.4.142.

i tried applying all the patches of windows 98 available on microsoft site , i also upgraded the IE to 6 but in vain ,

I personally think , the problem is between red hat server and windows 95/98 . windows 98 is unable to resolve the name of the linux server .
Also i cant down the server , and my graphics screen is in hang mode . so i have to try everthing in dos mode ,

as i am not facing any problem with XP i think allthe settings on server are ok , but that something which xp has and windows 98 doesn't , which , Enable XP to resolve the Linux Server name is missing , i finding that link ,

please help

sorry for being too descriptive but that allows to all to understand my problem clearly .

Thankx in advance

raj

bruj3w 09-06-2004 08:56 AM

this is boardering on being a windows question :>

a cheap and dirty way would be to add an entry to your \sysroot\system32\drivers\etc\hosts file on your win9x machine that points to your redhat box.

ipofyourredhatbox youredhatmachinename
192.168.1.1 local.server

for example should do it.

ravilohot 09-07-2004 04:57 AM

Quote:

Originally posted by bruj3w
this is boardering on being a windows question :>

a cheap and dirty way would be to add an entry to your \sysroot\system32\drivers\etc\hosts file on your win9x machine that points to your redhat box.

ipofyourredhatbox youredhatmachinename
192.168.1.1 local.server

for example should do it.


well in win9x the hosts file is in c:\windows dir. and i have already entered the ip and machinename in it pointing towards the red hat box. but still it does not works
funny no , but its true , i get reply from the red hat box when i ping for its ip address and get unknown host reply when i ping for its hostmane ( machine name )

raj


All times are GMT -5. The time now is 02:08 AM.