Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How can I automate AirPort restart?

Posted on 2004-10-19
4
Medium Priority
?
2,020 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 600 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

How can this article save you time AND money?  In just a few minutes you may discover something you didn't know existed that is easy enough for you to fix yourself!
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

636 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