Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Slackware Linux Help > I cant ping Windows/Linux boxes in our network

Forgot Password?
 Slackware Linux Help   For help and Discussion about Slackware linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-01-2006   #1 (permalink)
Just Joined!
 
Join Date: Jun 2006
Posts: 8
I cant ping Windows/Linux boxes in our network

Hi all I am new in linux. i got Slackware 10.2 installed. i never installed any linux dist in a company network ...here is we have a lot of Windows boxes and control them with Active Directory ...i did install slack and did config of the DHCP client so everything its cool i have internet and intranet but when i am trying to ping some windows or linux box over its hostname my slacks tells me that :

root@salck:~# ping anyhostname
ping: unknown host anyhostname
root@slack:~#

any ideas why this happends? thanks in advance
salck is offline  



Reply With Quote
Old 06-01-2006   #2 (permalink)
Just Joined!
 
LinuxBox420's Avatar
 
Join Date: Jan 2005
Posts: 32
Send a message via AIM to LinuxBox420
Add them to your /etc/hosts file.
LinuxBox420 is offline   Reply With Quote
Old 06-01-2006   #3 (permalink)
Just Joined!
 
Join Date: Jun 2006
Posts: 8
yes i thought about that but the Pcz are more than 10.000 it is impossible to add them all in host file
any other suggestions?
salck is offline   Reply With Quote
Old 06-01-2006   #4 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,076
If you already have a windows environment - surely you have a DNS server? You should be able to use this, instead of trying to modify hosts files.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 06-01-2006   #5 (permalink)
Just Joined!
 
Join Date: Jun 2006
Posts: 8
you are right ...i use resolv.conf and i put the ips of the DNS servers there ...but nothings happend ...the same old error ....i am sure that these ips are the DNS ips but ....error again
salck is offline   Reply With Quote
Old 06-01-2006   #6 (permalink)
Just Joined!
 
Join Date: Jun 2004
Location: Warwickshire UK
Posts: 18
Send a message via MSN to Kia_Breizzze Send a message via Yahoo to Kia_Breizzze
I too get that.
I can for example ping google by ip but not by name.
I haven't found a solution to this as yet, however, I can access google (or any other site) via a web browser by name so it's not such an issue for me.
Kia_Breizzze is offline   Reply With Quote
Old 06-01-2006   #7 (permalink)
Linux Enthusiast
 
Join Date: Apr 2004
Location: UK
Posts: 597
Can I get you to check the files /etc/nsswitch.conf and /etc/host.conf. Particuarly host.conf containing a line "mdns on". If it does then change it to "mdns off" and try pinging google again.

If that isn't the case can you post the contents of those files and the resolv.conf file.

Let us know how you get on.

Chris...
__________________
DRM keeps an honest user loyal
kakariko81280 is offline   Reply With Quote
Old 06-02-2006   #8 (permalink)
Just Joined!
 
Join Date: Jun 2006
Posts: 8
hi guys when i change ON to OFF in host.conf its works for me ..but you know what its strange
lets say we have 5 pcs - pc1, pc2, pc3, pc4 and pc5
i can ping all except pc2 haha i cant understand that?
also could you please explain me what is Multi On for ? What this thing do, when its on or off?
we have hosts, bind which mean ..first look for hosts then try dns server but this multi on/off i dont know what is for ?
salck is offline   Reply With Quote
Old 06-02-2006   #9 (permalink)
Linux Enthusiast
 
Join Date: Apr 2004
Location: UK
Posts: 597
Multicast dns. It's a protocol to allow machines to find each other on the network without a DNS server. It's part of a series of protocols that are meant to allow people to simply attach a computer to a network and have it work without any setup.

Google is your friend here, it's all a bit new to me too.

As for PC2, can you post what you get when you try to ping it.

Let us know how you get on

Chris...
__________________
DRM keeps an honest user loyal
kakariko81280 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:42 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1