|
|
One way to prevent dropped network connections
I haven't had that problem with my Airport connection, but it's an irritating problem I've had with Sprint, through my bluetooth phone. I noticed that if I keep it busy, I don't get dropped (as much.) Instead of hassling with the terminal, I wrote an applescript, which I saved as an application named "Ping":
You'll need to replace xxx.xxx.xxx.xxx with a valid IP address or domain reference (if it works for you) outside your intranet a domain name may work too (EG www.macoshints.com.)
xxx.xxx.xxx.xxx
Obviously, I've been pinging my.yahoo.com...I meant to replace that with the same "xxx.xxx.xxx.xxx" reference as I did in the command.
-i20 is 20 second delay between ping attempts
By the way, -i20 delays 20 seconds between ping attempts, which is kinder to everyone between you and the server you're pinging, inclusive.
One way to prevent dropped network connections
Be careful of the IP you use! Repeated pings, though minimal in packet size, do add up bandwidth-wise and can be misconstrued as a type of DoS attack. If you pick an address that pays by the bandwidth used, they will not appreciate the added non-productive traffic to their site. Perhaps use an address like the home page of your ISP.... sprint.com or etc. Plus, I like MacOSXhints.com to be speedy. :-)
One way to prevent dropped network connections
Yes, I'm sensitive to this. That's why I use yahoo, and limit the traffic to the minimum necessary (I found -i20s about right.)
One way to prevent dropped network connections
I would really like to try this script, but I get an error saying 'The variable deactivate is not defined.'. My Script editor is seeing 'deactivate' in the 3rd line as a variable and not a function, as indicated by its green color. Unfortunately I am not saavy enough to know how to fix this problem. Any ideas?
One way to prevent dropped network connections
That's weird. Works for me. Try this: http://tinyurl.com/yfrsqn
One way to prevent dropped network connections
Thanks, that works to comment that line out. Not sure why it works for you and not for me though.
One way to prevent dropped network connections
Frankly, it *did* work for me (it was in the same place from which I've used it) but it doesn't work now. Something must have changed. Very strange. Maybe applescript applications can no longer understand the deactivate command, or maybe I had something installed that made it understand. I don't know. In any case, it's not entirely necessary. It was helpful when I launched the app from another script, though. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|