Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 8, 2010, 04:10 PM   #1
Haqq
macrumors member
 
Join Date: Sep 2008
Location: Toronto
Constant Ping Menubar App

This may seem like a very bizzarre question but.

My macbook and 2wire router/modem hate each other. I get constant timeouts! But I found a workaround (cred: apple.com boards) if I open up terminal ping my router ip 192.186.x.x and it just constantly pings I DO NOT disconnect. I put it under test left; my macbook on for a week straight no problemo!

Thus coming to my request. I hate having a terminal window open seeing nothing but

Code:
64 bytes from 192.168.x.x: icmp_seq=1346 ttl=255 time=1.335 ms
64 bytes from 192.168.x.x: icmp_seq=1347 ttl=255 time=2.090 ms
64 bytes from 192.168.x.x: icmp_seq=1348 ttl=255 time=1.375 ms
Its fugly.

I was hoping someone has heard of a menubar app I can run that just does it in the background? TBH I have very LIMITED programming knowledge so I am not sure where to go here but something like this vimeo but when I click on it, opens up a terminal page of the pinging in action?

Where do I from here?

Thanks!

Taz.
__________________
i came, i saw, i ran away
Haqq is offline   0 Reply With Quote
Old Oct 8, 2010, 05:47 PM   #2
MorphingDragon
Banned
 
Join Date: Mar 2009
Location: The World Inbetween
Send a message via Skype™ to MorphingDragon
Quote:
Originally Posted by Haqq View Post
This may seem like a very bizzarre question but.

My macbook and 2wire router/modem hate each other. I get constant timeouts! But I found a workaround (cred: apple.com boards) if I open up terminal ping my router ip 192.186.x.x and it just constantly pings I DO NOT disconnect. I put it under test left; my macbook on for a week straight no problemo!

Thus coming to my request. I hate having a terminal window open seeing nothing but

Code:
64 bytes from 192.168.x.x: icmp_seq=1346 ttl=255 time=1.335 ms
64 bytes from 192.168.x.x: icmp_seq=1347 ttl=255 time=2.090 ms
64 bytes from 192.168.x.x: icmp_seq=1348 ttl=255 time=1.375 ms
Its fugly.

I was hoping someone has heard of a menubar app I can run that just does it in the background? TBH I have very LIMITED programming knowledge so I am not sure where to go here but something like this vimeo but when I click on it, opens up a terminal page of the pinging in action?

Where do I from here?

Thanks!

Taz.
This is for linux but it should work for Mac OSX.

http://www.watchingthenet.com/ubuntu...al-window.html
MorphingDragon is offline   0 Reply With Quote
Old Oct 9, 2010, 02:41 AM   #3
Haqq
Thread Starter
macrumors member
 
Join Date: Sep 2008
Location: Toronto
Quote:
Originally Posted by MorphingDragon View Post
This is for linux but it should work for Mac OSX.

http://www.watchingthenet.com/ubuntu...al-window.html
Can you simplify or rather, elaborate that into something I can understand

Appreciate the help!

Taz.
__________________
i came, i saw, i ran away
Haqq is offline   0 Reply With Quote
Old Oct 9, 2010, 03:43 AM   #4
MorphingDragon
Banned
 
Join Date: Mar 2009
Location: The World Inbetween
Send a message via Skype™ to MorphingDragon
Code:
nohup ping 192.168.x.x &
You can check that its running in the background by looking at activity monitor and looking for ping.

If for any reason you need to stop it, use activity monitor. I'm not sure if this command lives through a reboot or not.

Last edited by MorphingDragon; Oct 9, 2010 at 05:15 PM.
MorphingDragon is offline   0 Reply With Quote
Old Oct 9, 2010, 07:34 AM   #5
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Alternative solution:

Open the Apple Script Editor and paste this into it

Code:
repeat
	do shell script "ping -c 1 192.168.0.1 > /dev/null"
	do shell script "/bin/sleep 60"
end repeat
Save it as an application. Obviously alter the IP address to the correct one and alter the 60 to the number of seconds you want between pings. The only bad thing about this is that the only way to stop it is to force quit it...
robbieduncan is offline   0 Reply With Quote
Old Oct 9, 2010, 09:51 PM   #6
Haqq
Thread Starter
macrumors member
 
Join Date: Sep 2008
Location: Toronto
Perfect both methods work! I went with method one btw.
__________________
i came, i saw, i ran away
Haqq is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Ping Plotter like app adam9c1 Mac Applications and Mac App Store 1 May 1, 2014 03:35 PM
App that let's you boot into windows from menubar jakesaunders27 Mac Applications and Mac App Store 1 Feb 19, 2014 12:44 PM
New MBP Late 2013 13" - Constant Ping spikes to router - Is this normal? frostrambler MacBook Pro 8 Jan 2, 2014 05:03 AM
Your Opinion on this Facebook Menubar App kevin0722 Mac Applications and Mac App Store 0 Dec 12, 2013 01:17 PM

Forum Jump

All times are GMT -5. The time now is 10:36 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC