Solved

How can I automate AirPort restart?

Posted on 2004-10-19
4
1,985 Views
Last Modified: 2013-11-17
I am looking for a software-only solution. (Without add-on purchased software.)
Setup: Mac running OS X 10.3.5. Networking via AirPort Extreme card connecting to AirPort Extreme base station.
To be performed: Run AirPort Admin utility. Connect to base station. Select restart function. Exit AirPort Admin utility.
Ideally, I would like to set this up as a scheduled task (via cron).
I would use AppleScript, except AirPort Admin utility does not appear to be a scriptable application (no dictionary.)
0
Comment
Question by:jonkreisler
  • 2
  • 2
4 Comments
 
LVL 30

Expert Comment

by:weed
ID: 12350918
May I ask why? I find i rarely need to reset my ABS.
0
 
LVL 2

Author Comment

by:jonkreisler
ID: 12351130
According to Apple, I have a known problem where the AirPort Internet connection will freeze when my DHCP lease expires.
(Cable modem connected to AirPort Extreme base station.) I don't feel it's worth the extra money to obtain a static IP address from my ISP. If I have to live with resetting the ABS, it's not too bad. But if the task could be automated, especially by cron, late at night, it would be almost painless.
0
 
LVL 30

Accepted Solution

by:
weed earned 200 total points
ID: 12351227
I dont think youre going to be able to do it. It's not applescriptable, and cron scripts dont have the access to be able to reset a base station.
0
 
LVL 2

Author Comment

by:jonkreisler
ID: 13754480
It seems, with the latest updates to Panther, the problem has become less pronounced. The physical reset of the AirPort is now the exception, rather than the rule. It still happens, but at a significantly lower frequency (less often than once a month.)
I still need to turn the AirPort off and back on, from the menu, from time to time, but that is much less of a problem than a power reset.
Thanks for your input, Weed.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Thanks to luck and dedication (hitting refresh every 5 seconds when the pre-orders were going live at midnight on April 10th) I managed to actually receive an Apple Watch on release day, April 24th. Which means I’ve been using it daily for just ov…
A professional opinion on which Apple product to buy, and a tidbit about the WWDC.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

840 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