LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-28-2003, 10:30 PM   #1
zick
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
Can not Ping Another PC (win2000) on LAN !!


Hi

From some strange resons i can not ping my Wwwserver pc on LAN with 2 machines one Linux Mandrake 9 and 2nd Win2K. In /etc/hosts i got:
127.0.0.1 localhost
only one entry, Is that corect? I read few thread about similar issue and that file had many entries each one for seperate Machin on LAN. Shoul I munualy enter the 2nd pc IP there? or shoul my Linux Mach. enter the entry by itself or should it broadcat the LAN for the IP ?


Help could be usefull from you .

Thanks


I will watch the thread.

Thanks guys
 
Old 09-29-2003, 12:48 AM   #2
linux-addict
LQ Newbie
 
Registered: Apr 2003
Distribution: Red Hat 9.0
Posts: 23

Rep: Reputation: 15
If you are behind a DHCP server, it should set that up on it's own. I'm pretty sure the /etc/hosts/ file will read "localhost" when it cannot get a address from a DHCP server or a name from a DNS server (correct me if I am wrong). You need to check out your "ifcfg-eth0" file for details regarding whether it is trying to use DHCP or not, and if not what the static IP is set to. I forget the directory, just "su root" and do "locate eth0". It should be /etc/network-scripts/...

Last edited by linux-addict; 09-29-2003 at 12:49 AM.
 
Old 09-29-2003, 07:42 PM   #3
zick
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Hi

You rock Man, You sound like you REALY know what you talking about. THX man. I have to go for shopping now cause they close at 9 supper market and when I come back i will check it out. But can say now that before everything was ok I didn't have to munualy enter Name and Its IP in host file. But now I have to in order to ping the other PC ( win2000) on my LAN. It should user broadcast addresss 192.168.1.255 if linux doesn't knwo the name, apperently it doesn't work the command now. Any other possiblility to check or any troubleshoots?

Thanks for all your hints.
 
Old 09-29-2003, 11:10 PM   #4
kjsubbu
Member
 
Registered: Apr 2003
Location: india
Posts: 73

Rep: Reputation: 15
ping to winpc

Hi Zick,
first u check ur localseeting is coorect or not i mean ping to 127.0.0.1
Its working after u check it ur local linux maching ip.

I mean its firewall problem > pl checkit ur firewall settings
or use
IPTABLES -F



LINUX make impossible to possible
 
Old 09-30-2003, 07:58 PM   #5
zick
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Sorry man but the command doesn't work on Mandrake 9.1 that you gave me. By the way I can ping lo (localhost) successfuly
 
Old 09-30-2003, 08:12 PM   #6
jonh_doe_linux
LQ Newbie
 
Registered: Sep 2003
Location: Tuxcity, Brazil
Posts: 20

Rep: Reputation: 0
uses DHCP
it`s the better way
 
Old 09-30-2003, 08:47 PM   #7
zick
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
DHCP command?

And what should I especialy pay attention to?

2nd of all, somebody told me there is something wrong with my firewall, where is firewall in Linux? where can I find it and who to fix it.

So many questions..

Thx all

Last edited by zick; 09-30-2003 at 08:50 PM.
 
Old 10-01-2003, 10:31 AM   #8
jonh_doe_linux
LQ Newbie
 
Registered: Sep 2003
Location: Tuxcity, Brazil
Posts: 20

Rep: Reputation: 0
visit
www.linuxajuda.com.br
there is many tutorials there
buts is in Portuguese
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM
cannot ping LAN ryedunn Linux - Networking 5 04-01-2004 01:59 PM
Cannot ping another PC (win2000) on LAN!! zick Linux - General 6 09-29-2003 09:16 PM
cannot ping lan kubicon Linux - Networking 2 09-15-2003 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration