LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Computer not sharing hostname (https://www.linuxquestions.org/questions/debian-26/computer-not-sharing-hostname-879243/)

gamewolf 05-06-2011 02:11 PM

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.

acid_kewpie 05-06-2011 02:18 PM

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.

gamewolf 05-06-2011 05:28 PM

Ok I may not be using the right terminology but I think I how it works now. Thanks.


All times are GMT -5. The time now is 11:43 AM.