Solved

How can I automate AirPort restart?

Posted on 2004-10-19
4
1,988 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 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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Information security is a multi-billion dollar industry. Just as lucrative is the black market industry which trades stolen identities, credit card numbers and software exploits all over the world. Nothing is hack-proof. The best one can do is make …
Create a default user profile for Mac OS X 10.7/10.8 Create a user account on OS X that will be a template for every other user of that computer. I usually call it “profile” and make it an administrator account for the time being. 1. Install a…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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