Link to home
Start Free TrialLog in
Avatar of jonkreisler
jonkreisler

asked on

How can I automate AirPort restart?

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.)
Avatar of weed
weed
Flag of United States of America image

May I ask why? I find i rarely need to reset my ABS.
Avatar of jonkreisler
jonkreisler

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of weed
weed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.