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.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Slackware Linux Help
Reload this Page I cant ping Windows/Linux boxes in our network
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Slackware Linux Help For help and Discussion about Slackware linux

Reply
 
Thread Tools Display Modes
Old 06-01-2006   #1 (permalink)
salck
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)
LinuxBox420
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.
__________________
Little Slack site I\'ve been working on for shits and giggles www.linuxbox420.com
LinuxBox420 is offline   Reply With Quote
Old 06-01-2006   #3 (permalink)
salck
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)
bigtomrodney
Bigtomrodinator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 5,134
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.
__________________
In the land of the blind, the night vision users are laughing at the king

Registered Linux user #378740

New members read here / Forum Rules
bigtomrodney is online now   Reply With Quote
Old 06-01-2006   #5 (permalink)
salck
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)
Kia_Breizzze
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.
__________________
Registered Linux User 418150
Kia_Breizzze is offline   Reply With Quote
Old 06-01-2006   #7 (permalink)
kakariko81280
Linux Enthusiast
 
Join Date: Apr 2004
Location: UK
Posts: 542
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)
salck
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)
kakariko81280
Linux Enthusiast
 
Join Date: Apr 2004
Location: UK
Posts: 542
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




All times are GMT. The time now is 10:00 AM.




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

Content Relevant URLs by vBSEO 3.0.0