LinuxQuestions.org
Help answer threads with 0 replies.
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 05-21-2006, 07:36 AM   #1
blackfish
Member
 
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78

Rep: Reputation: 15
Problem With FC4 Hostnames


Hi everyone
i wonder if u can help me

I know some bits and bobs about linux and normally can setup a samba file server config page in about 5 mins (Not meaning to boast).

I have setup squid proxy, DHCPD and samba file server on an FC4 machine and they are working well.

However on a Windows client if i type in

\\SERVER IP ADDRESS

it works fine, but if i type in

\\SERVER HOST NAME

it doesn't work.

I also have to use the ip address for the squid server in my IE configuration on windows and not the visible hostname.

The DHCPD is working fine with no problems, so i am quite sure its not that.

also i cannot ping external web domains such as google.com from any windows clients. However i can ping out onto the internet directly from the FC4 box.

also i cannot ping the hostname of the FC4 server from any windows client

Any help gladly appreciated

thanks, blackfish
 
Old 05-22-2006, 12:30 AM   #2
pronoy
Member
 
Registered: Mar 2005
Location: india
Distribution: FC4, Debian Etch
Posts: 67

Rep: Reputation: Disabled
I think name resoluting has some problem, check you dns configuration.

Test it a bit more.
1. From fc4, ping www.google.com and note the ip address.
From windows, ping that ip address, check if successfull.

Check nameserver address in /etc/resolv.conf.
Check in windows also (I don't know where to check !)
 
Old 05-22-2006, 03:17 AM   #3
iuaui
Member
 
Registered: Sep 2005
Location: Nummela, Southern Finland
Distribution: Fedora Core 4, Fedora Core 5, Redhat 9.0, Solaris 10, WInXP pro, W2k pro
Posts: 30

Rep: Reputation: 15
Edit your windows boxes hosts -file (c:\windows\system32\drivers\etc in XP) and include line like this:

your.server.boxes.ip Your.server.hostname
(expl: 123.34.56.7 my.fileserver)

Oh, you also need external DNS-addresses to be added to your dhcp server. Dunno how to do that.

Last edited by iuaui; 05-22-2006 at 03:27 AM.
 
Old 05-24-2006, 10:08 AM   #4
blackfish
Member
 
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78

Original Poster
Rep: Reputation: 15
I added the external DNS servers into my dhcpd.conf and the windows clients are picking up the external DNS address from DHCPD

I also did the windows thing you suggested.

however i can ping www.google.co.uk from the FC4 box

but i cannot ping any external IP Addresses or External DNS Names

but also the bizarre thing here is that i can surf the web from the FC4 and any windows client!!!

any help would be appriecated
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
FC4: cannot resolve hostnames on local network pyepye Linux - Networking 12 04-05-2006 12:29 PM
Problem with router assigning hostnames Arodef Linux - Networking 4 03-25-2006 07:39 AM
problem resolving hostnames natm Linux - Networking 5 07-09-2005 05:16 PM
resolving hostnames problem! meshmesh Linux - Networking 2 01-25-2004 10:08 AM
ans to problem on hostnames: toxic53 Linux - Newbie 2 10-04-2001 02:40 AM

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

All times are GMT -5. The time now is 05:25 AM.

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