Solved

How to set DHCP / computer name on iMac

Posted on 2011-09-11
25
1,036 Views
Last Modified: 2012-05-12
How do I change or enter the DHCP name of an iMac so that when I login to my home router, I can see that the iMac has connected?  At present, I think it is the one which is not showing any name.

I have the new iMac using the Lion OS.

0
Comment
Question by:abdb469
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 11
  • 11
  • 2
  • +1
25 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 400 total points
ID: 36519813
0
 

Author Comment

by:abdb469
ID: 36519893
is computer name and host name the same thing?  I didnt understand the instructions on the page.  Pls explain.
0
 
LVL 78

Expert Comment

by:arnold
ID: 36519927
They are one and the same.  use the post guiding you through the use of the system preferences to set the sharing computer name.
I think by default there is no hostname which means that when you view the DHCP server/listing you see a blank or * and then an Ethernet Address (MAC Address) in the form of xx:xx:xx:xx:xx:xx.
0
Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

 
LVL 20

Expert Comment

by:n2fc
ID: 36519935
Yes, they are!
0
 

Author Comment

by:abdb469
ID: 36519966
if they are one and the same, then the existing computer name "Dan's iMac" is not showing in the router.
0
 
LVL 78

Expert Comment

by:arnold
ID: 36520749
Dan's iMac might not be what the hostname is set to.

If you open a terminal and run the hostname command, it will likely be empty of *.
Follow the system preferences and see.
Dan's iMac is that the label on the Hard Drive?
0
 

Author Comment

by:abdb469
ID: 36521239
Sorry I'm new to macs, what do you mean by opening a "terminal"?
0
 
LVL 78

Expert Comment

by:arnold
ID: 36522146
http://www.mac512.com/osx/systempref.htm

Go through system preferences and set the hostname within network identity.
0
 
LVL 10

Assisted Solution

by:EdTechy
EdTechy earned 100 total points
ID: 36522598
Open system preferences and then click on Network. On the left, click on Wifi. In the lower right click on Advanced. Click on the TCP/IP tab. Enter your computer name in the DHCP ClientID box. That name should now show on your router.
0
 

Author Comment

by:abdb469
ID: 36526632
Ed,
I think your suggestion is the right one as I just found it whilst playing around before looking at your thread again, but having added a client ID and refreshing the router page again, the client id still does not show on the router.

0
 
LVL 78

Expert Comment

by:arnold
ID: 36526650
Did you reboot the system in between?  You can try the release/renew.?
The ID is set when the IP is acquired. Subsequnet are just renewal notices saying I have IP X is it ok for me to keep it?
0
 
LVL 10

Expert Comment

by:EdTechy
ID: 36529163
Go back to the preferences and see if the id is still set. You have to click ok and when that window goes away, click Apply on the main network preferences page. It is also possible that your router does not pick up the id from mac. Just guessing on that though.
0
 

Author Comment

by:abdb469
ID: 36595123
yes, done all that but still doesnt show in the router.
0
 
LVL 78

Expert Comment

by:arnold
ID: 36596309
Try deleting the router entry for the mac address/IP and then get the Mac request/renew the IP.

0
 

Author Comment

by:abdb469
ID: 36597512
how do you delete the router entry, I dont think its possible.  Only way is to restart the router I believe so that existing data stats are wiped.

Also what happens if for example I have the ethernet cable from the router going into a Vonage (voice over IP telephone) device and that vonage device has another ethernet output which then links to a different computer (so that the computer can daisey wheel of the back of the Vonage).  Does this appear as only one mac address i.e. Vonage's in the main router settings or will I see 2 mac addresses?  

I know I can obviously check myself, but I've never seen a DHCP name for the vonage device and furthermore there are 2 blank clients showing on the router page.  
0
 
LVL 78

Expert Comment

by:arnold
ID: 36598967
I think the vonage connection is a pass through.
Since your router allocates the IPs, there should be a place that lists all the reserved/allocated IPs and where you can delete the entry.

Which router are you dealing with?

You can use the MAC address at http://www.coffer.com/mac_find/ to determine to which manufacturer this device/system belongs.
0
 

Author Comment

by:abdb469
ID: 36954184
I'm using a belkin router.  What do you mean by pass through; that the IP address of the computer connected to the vonage device is not being shown because it is going bia the vonage box?
0
 
LVL 78

Expert Comment

by:arnold
ID: 36955881
Possibly Yes, It depends on the functionality of the vonage box which I think is acting as a router or it just forwards the requests your computer makes.
.
Presumably this is what your setup looks like
Internet <=> belkin <=> Vonage <=> Mac
Though I am uncertain why you do not have the following setup

                              Vonage Box
                               /
Internet <=> belkin
                               \
                              Mac
0
 

Author Comment

by:abdb469
ID: 37038301
It's like this.

                                  PC 2
                                 /
                Vonage Box
                               /
Internet <=> belkin ------- PC 1
                               \
                              Mac
0
 
LVL 78

Expert Comment

by:arnold
ID: 37039148
And the belkin router is not reflecting the hostname for the Mac after you made the changes?
0
 

Author Comment

by:abdb469
ID: 37118026
It does, intermittently.  
0
 
LVL 78

Expert Comment

by:arnold
ID: 37118054
What is the length of the IP lease?
Does the intermittently have to do with the belkin being rebooted?
i.e. your lease time is 7 days, and in the event the belkin is rebooted within this seven days windows, it reflects that something is using x.x.x.x but not reflecting the name?

This can be explained by the mechanism that the Mac already has an IP leased to it so it does not send a request for an IP it either simply using it and the belkin reflects the IP/Mac based on usage, or after the lease expires, the Mac merely issues a DHCP renew request which the belkin approves, but does not retain the hostname originally provided to get the IP.
This can be confirmed:
1) reboot the belkin and the Mac. IP assigned, hostname reflected?
2) the belkin works continously as is the Mac, the lease expires and the Mac renews the IP but the belkin does not reflect the hostname?
3) rebot the belikin, while the mac remains up, does the client list reflect the IP but not the hostname?
0
 

Author Comment

by:abdb469
ID: 37196333
this is getting a little more technical than I am used to.  what do you mean by lease time?
0
 
LVL 78

Expert Comment

by:arnold
ID: 37197595
One of the options within DHCP is the duration for which the Allocated IP is assigned.
i.e. you turn computer A on. It requests an IP from the DHCP server and gets IPA which includes the period of time computer A has "rights" (lease time) for the IP.  when the lease expires, computer A will go through the process of renewing the IP it has, if the DHCP server already allocated the IP, the request to renew will be rejected and computer A will go through the process of obtaining a new IP.

http://www.tcpipguide.com/free/t_DHCPLeaseLifeCycleOverviewAllocationReallocationRe.htm

The issue could be that the belkin flushed the host/IP when the Lease expires, such that when the Mac attempts to renew which it might, the belkin only has the IP that is being renewed and since it flushed the hostname/IP from the original request, all that remains is the MAC Address and the IP the mac has, the hostname is not there.
0
 

Author Closing Comment

by:abdb469
ID: 37287908
sorry didnt have time to fully test this, but will close the q anyway.  thx.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS Remote Desktop 8 for MAC 6 76
Mac OS 10.7.5 upgrade 3 85
export "on my mac" folders to outlook 2016 2 59
Apple Certification 1 60
Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
This article describes in detail how to set up the iPad in the Enterprise using iPCU aka iPhone Configuration Utility.  This could also be used for the iPhone although I have not detailed out any differences. Preparation as an iPad Administrator:…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question