• 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
Re: Change IP Address & Restart
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change IP Address & Restart


  • Subject: Re: Change IP Address & Restart
  • From: Tod Hallberg <email@hidden>
  • Date: Mon, 21 Jan 2002 08:22:59 -0600
  • Organization: Monical Pizza Corporation

Well, if you didn't randomly need to set ip addresses, you could have a copy of the TCP/IP
preferences on the Hard Drive 2. Then once your booted off of HD2 you could just use the
copy command to copy over the TCP/IP preferences on HD1.

hope this helps

tod


Charles McLaughlin wrote:

> Hello,
>
> I am writing a script for use with Apple Software Restore to automate the
> process of refreshing computer lab machines. My two questions pertain to
> setting the IP address and computer name and scripting a restart/shut down.
>
> I would like to change the IP address and computer name of a system while
> booted off a different startup disk. For instance, I will boot off "Hard
> Drive 1" and want to change the IP address and computer name of the system
> on "Hard Drive 2". I am guessing that the IP address and computer name are
> stored in preference files. Is it possible to edit these files with a
> script?
>
> Also, I was wondering if a script in the "Shutdown Items" folder can detect
> whether a user attempted to shutdown or restart the computer? I've noticed
> that shutdown scripts with tell statements cause to the system to not
> restart/shutdown. I would like to construct a condition to work around
> this. For instance, if the user attempted to restart, then the script would
> do some stuff and restart. Or... if the user attempted to shutdown, then
> the script would do some stuff and shutdown.
>
> (Quicksilver G4's running OS 9.2)
>
> Thanks,
> Charles
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.


References: 
 >Change IP Address & Restart (From: "Charles McLaughlin" <email@hidden>)

  • Prev by Date: Mail
  • Next by Date: Re: Mail
  • Previous by thread: Change IP Address & Restart
  • Next by thread: Re: crunchy crashy errors (solved)
  • Index(es):
    • Date
    • Thread