• 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
OS 9 TCP/IP configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OS 9 TCP/IP configuration


  • Subject: OS 9 TCP/IP configuration
  • From: Chris Tangora <email@hidden>
  • Date: Tue, 20 Sep 2005 15:22:34 -0400

Hi all.

I know that this is ancient, and we are on the move toward OS X, but I need some quick help with OS 9. I'm coming in early Wednesday to check every OS 9 Mac TCP/IP configurations (about 40 - 50 macs). I am hoping to write a quick script that I can just run and have it set specific settings, or beep until I come over and fix them. Here are the problems I have had so far and what I am hoping to eventually accomplish. Please forgive the vagueness, the OS 9 machine I was testing on just crashed and isn't coming up. So I can't tell you the exact error codes yet, only that they did error.

Network Setup Scripting does not allow me to open the database. When I run the following script it comes back with an error saying that the database is not accessible.

tell application "Network Setup Scripting"
activate
open database
close database
end tell

Trying to script the application TCP/IP hasn't worked to well either ...

tell application "TCP/IP"
activate
set blah to router address
end tell

Comes back with a code syntax error. It looks like router address is being treated as two separate words rather than one command.



So this is what I want to have happen, and any help I would appreciate.

Launch TCP/IP or equivalent

If DHCP then ... beep until the calvary comes.

else if Manual IP then
try
set Subnet Mask to 255.255.0.0
set Router Address to 10.1.0.1
set Name Servers to 10.1.1.5, 10.1.1.6
set host file to /system folder/preferences/host
on error
beep 4, delay 3, repeat
end try



I know, short notice and I have no clue on how to do this. I do understand applescript very well, but I have really only used it for OS X, not for 9 exclusively. So can someone pass something that will help? I've tried to find some documentation or sample scripts, but everything I find seems to have already been taken down or moved without telling where it was moved to.

Thank you so much!


Chris


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Re. Search for a character
  • Next by Date: Re: Documentation on "defaults"
  • Previous by thread: Re: File Order Processing Question
  • Next by thread: Re: Documentation on "defaults"
  • Index(es):
    • Date
    • Thread