LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-06-2011, 03:11 PM   #1
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Rep: Reputation: 16
Computer not sharing hostname


My server's hostname is 'cookhome'. I am wanting it to broadcast over my network so I can just use that name instead of the IP address, but it isnt working. I am unable to ping it from any other computer.

/etc/hosts
Code:
127.0.0.1 localhost
127.0.1.1 cookhome
192.168.1.100 cookhome
/etc/hostname
Code:
cookhome
any suggestions?

Thanks.
 
Old 05-06-2011, 03:18 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
sharing a hostname? broadcast? what does that mean?? what are you expecting to happen? If you want to resolve it by hostname then you need a dns service running that knows about it, or local host entries in all relevant clients. merely adding an entry in the hosts file on the machine itself will do absolutely nothing. You could be referring to multicast dns, but I don't think that;s the case.
 
Old 05-06-2011, 06:28 PM   #3
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Original Poster
Rep: Reputation: 16
Ok I may not be using the right terminology but I think I how it works now. Thanks.
 
  


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
How do I change the hostname of my computer? atheist Linux - Software 4 07-18-2004 01:34 PM
Hostname/computer name Brad3d Linux - General 1 01-12-2003 03:02 PM
naming your computer (hostname) sitrus Linux - General 4 09-07-2002 04:09 PM
Hostname of computer Kaiser_Sose Linux - Networking 2 02-04-2002 06:45 PM
Hostname of computer Kaiser_Sose Linux - Software 3 01-26-2002 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration