LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   computer is nameless?? (https://www.linuxquestions.org/questions/%2Absd-17/computer-is-nameless-329377/)

Wumpa Tenshi 06-01-2005 09:57 PM

computer is nameless??
 
i have two BSD machines in my house, and neither has a "name" according to my router.
i'm kind of confused by this, as i believe they both have "host names" is there a different name to set that it broadcasts to things like my router?

cheers again,
Tenshi

jtshaw 06-03-2005 06:48 AM

If you don't pass in the option to your dhcp client to tell the dhcp server your hostname then you will not broadcast a name at all...

danielanson 06-05-2005 03:08 AM

edit the /etc/dhclient.conf file and your router will get the info.

D

Wumpa Tenshi 06-06-2005 11:27 PM

Yes! Thank you.

I added the line:

send host-name "myhost";

to my /etc/dhclient.conf file, it solved the problem without further headaches. Thank you so much :D

I figured this one was easy, but I just didn't know which file to turn to.

thanks again,
Tenshi
:study:


All times are GMT -5. The time now is 06:35 AM.