Networking :: How do I give my computer a name, (dhcp)



I have my DSL box set up as and Edna music server.  How do I give this machine a permanent name, so I don't have to guess it's  IP address when I want to log on to it?  This is on my home network, which is DHCP.

Thanks!
Roland

Edna is still on my "to-do" list, but I believe that if you use dhcp your machine has the same understated default name as my own:

"box".

As long as you only have one DSL machine in your network, that's all you need for LinNeighborhood to find the ip for you.

HTH

With the new DSL 1.1 version, there is now a new boottime option

host=whatevernameyougiveit

Then you can have multiple DSL boxen on your net, without issues of samename.

73
ke4nt

Keep in mind that your other computers will not understand how to translate the box name into the correct address unless you are running a local DNS (Domain Name Service) server.  Most home routers do not provide this service, but some ISPs do.

It is possible to install a DNS server on to a Linux system like DSL, but your DNS server should be installed on a computer with a static IP address, or the other computers will be unable to find it.

The easy way out is to switch your Edna server over to a static IP address and then manually add the correct information to your other PC's hosts files, IE:

ednaboxname      xx.xx.xx.xx

This file is located at /etc/hosts on a linux machine and:

C:\WINDOWS\system32\drivers\etc\hosts

on a Win2000/WinXP machine.

Well.......if I have a static IP, then I wouldn't care so much about a name, because I could use the same link to the Edna server, whether it is a name or an IP address.  Besides, I didn't think I could use a static IP on my computers if I have DHCP running (my router does the DHCP).
Roland

Next Page...
original here.