Solved

How to set DHCP / computer name on iMac

Posted on 2011-09-11
25
1,021 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
  • 11
  • 11
  • 2
  • +1
25 Comments
 
LVL 76

Accepted Solution

by:
arnold earned 400 total points
Comment Utility
0
 

Author Comment

by:abdb469
Comment Utility
is computer name and host name the same thing?  I didnt understand the instructions on the page.  Pls explain.
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
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
 
LVL 19

Expert Comment

by:n2fc
Comment Utility
Yes, they are!
0
 

Author Comment

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

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
Sorry I'm new to macs, what do you mean by opening a "terminal"?
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
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
Comment Utility
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 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:abdb469
Comment Utility
yes, done all that but still doesnt show in the router.
0
 
LVL 76

Expert Comment

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

0
 

Author Comment

by:abdb469
Comment Utility
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 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
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 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
It's like this.

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

Expert Comment

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

Author Comment

by:abdb469
Comment Utility
It does, intermittently.  
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
this is getting a little more technical than I am used to.  what do you mean by lease time?
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
sorry didnt have time to fully test this, but will close the q anyway.  thx.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Python Install On Mac Yosemite 8 94
can't connect to wireless with ipad 12 47
Recording my desktop on a Mac 3 36
pdf to word 13 56
The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now