Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th November 2009, 11:48 AM
irfaan Offline
Registered User
 
Join Date: Nov 2009
Posts: 6
windows_xp_2003firefox
problem : ping hostname to LAN computer

Hi,

I am using FC9 and internet is working fine on it.
Well, I ping to google, it is resolving but if I ping by hostname to other LAN computers. it gives error : unknown host.
but if i ping with IP address it is pinging.

NOTE : 1) My firewall is acting as a dns server and other windows systems are resolving it.
2) FC9 firewall is disabled.

what might have been wrong????
Reply With Quote
  #2  
Old 9th November 2009, 12:02 PM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
windows_7firefox
Do you have any A records defined for your local hosts, or is your firewall just acting as a DNS forwarder?

The Windows machines are likely using NETBIOS names to resolve each other. Your Linux hosts probably don't have associated NETBIOS names.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #3  
Old 9th November 2009, 12:18 PM
irfaan Offline
Registered User
 
Join Date: Nov 2009
Posts: 6
windows_xp_2003firefox
Firewall, Is just a dns forwarder, so do i need to configure netbios in my linux box.
Reply With Quote
  #4  
Old 9th November 2009, 12:24 PM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
windows_7firefox
OK. If the firewall is just a forwarder, that's why - it doesn't have an authoritative zone or any records defining your local hosts by their IPs.

I would say that attempting to get your Linux machines to use NetBIOS is probably the most direct route unless you want to set up a DNS server with an authoritative zone (which is probably overkill for a home network).

A few things come to mind:
1) LISA daemon
2) Configure a skeletal Samba config file on the Linux machines, then modify the /etc/nsswitch.conf file to allow the machines to resolve by NetBIOS names.
3) Set up your hosts files and use static IPs (this is admittedly a pain)
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #5  
Old 9th November 2009, 12:28 PM
irfaan Offline
Registered User
 
Join Date: Nov 2009
Posts: 6
windows_xp_2003firefox
Thanks,
I will try to do that !
Reply With Quote
  #6  
Old 9th November 2009, 12:39 PM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
windows_7firefox
Think I got it. The following works for me - pinging by NetBIOS name from Fedora to Windows and vice versa.

Samba config on the Fedora box:
Code:
[global]
WORKGROUP = WORKGROUP
NETBIOS NAME = FEDORA
(yup, that's about all that's really necessary there for just allowing the Fedora box to use NetBIOS.)

/etc/nsswitch.conf:
Code:
[snipped]
hosts:     files wins dns
[snipped]
Make sure smb and nmb are started:
Code:
service smb start
service nmb start
And to load them on boot:
Code:
chkconfig smb on
chkconfig nmb on
Now if I do "ping fedora" (and also I should mention that NetBIOS isn't case sensitive) from the Windows box, it resolves it just fine.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
Reply

Tags
hostname, lan, ping, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ping using hostname era_pk Servers & Networking 3 20th November 2008 09:10 PM
ping other computers by hostname hyperplus Servers & Networking 12 7th August 2008 03:24 PM
No Hostname on traceroute, ping.. acey99 Servers & Networking 6 22nd June 2007 10:56 PM
cannot ping by hostname projkt4 Servers & Networking 11 4th September 2005 08:48 PM
Fedora Core 3 Hostname Error (Windows cannot ping 'hostname') 3K Tech Servers & Networking 1 3rd January 2005 03:24 AM


Current GMT-time: 06:17 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat