• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Change DHCP Client ID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change DHCP Client ID


  • Subject: Change DHCP Client ID
  • From: "Alatorre, Michael" <email@hidden>
  • Date: Tue, 18 Dec 2001 16:20:17 -0800

We have some Apple wireless clients that need to do a DHCP release & renew
when working with our Cisco access points using LEAP encryption. In doing
some research to see if a DHCP release and renew perhaps is possible via
AppleScript, I discovered at the Mac-Mgrs list archive this tip:

At 2:52 PM -0400 9/18/00, Joe Kazura wrote:
"If the version of OT you are using supports the CLIENT ID filed, make a
change to that field and save your changes - this releases and as soon as
you use a TCP/IP based app (or sooner) the Mac renews."

We tried this manually by opening the TCP/IP control panel,
entering/changing the entry in DHCP Client ID and closing the control panel.
It worked...the DHCP released and was renewed. I then looked at the Network
Setup Scripting dictionary and found in the TCP/IP v4 Suite the property
DHCP Client ID.

I'm too new to AppleScript to really understand the dictionary enough to see
if it's possible to enter/change this through AppleScript. If it is, does
anyone have sample lines of code of what it would look like? I was thinking
of generating a random number [set randomN to (random number 100000)] and
have the script enter it there when its run. Any help is most appreciated.
Thank you.

Michael Alatorre (mailto:email@hidden)
EIS Liaison Analyst
Cedars-Sinai Health System (http://www.cedars-sinai.edu/)
Medical Affairs: 310.423.6237 310.423.0448 (fax)

"...honor is a harder master than the law. It cannot compromise for less
than 100 cents on the dollar and its debts never outlaw." -- Mark Twain


  • Follow-Ups:
    • Re: Change DHCP Client ID
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Closing subfolders in Finder window
  • Next by Date: Re: Change DHCP Client ID
  • Previous by thread: Re: In a pickle with simple resize script
  • Next by thread: Re: Change DHCP Client ID
  • Index(es):
    • Date
    • Thread