×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

pinging linux hostname

pinging linux hostname

pinging linux hostname

(OP)
Hi

We running a windows 2003 server setup but have a few linux clients.

the problem with the linux clients is that when you ping their hostname it does not resolve.

which file would you change so that it would talk to either the windows server or a unix server to give it's hostname details?

Thanks for help.

RE: pinging linux hostname

It's very possible that the dhcp client on the linux boxes aren't setting the hostname supplied from the dhcp server.

I do know you have to set this with dhcpcd (a dhcp client), but I don't remember if dhclient can even do this.

The only alternative is to set up the linux boxes as static IPs (out of the Windows dhcp address range) and manually enter DNS information in the Windows DNS Server.

RE: pinging linux hostname

(OP)
oh that is one solution cheers.

generally in windows we would register the mac address and it would pick up the hostname automatically, was seeing if there's anything similar with linux, to minimise administration of pcs.

RE: pinging linux hostname

What distro are you using? It will provide some insight to what client is being used. It's very possible it's not configured to get the hostname from the dhcp server.

RE: pinging linux hostname

(OP)
It is fedora,

I am not sure if we are wanting to get a hostname from the dhcp server,

but more so that the hostname of the fedora linux pc registers it's name onto the dhcp server.

so other windows pcs can connect via it's computer name.

RE: pinging linux hostname

It is the DHCP server that registers and returns the hostname and fqdn in DNS. Under normal circumstances this information is ignored unless you explicitly tell it to request and use the information.

Failing that, winbind could also provide netbios names to ping.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close