http://pastebin.com/raw.php?i=rykHdvBh
bix.hu and www.yahoo.com are pingable test sites.
127.0.0.1 could not be pinged [firewall drops all icmp]
i have a oneliner that echoes if theres internet connection or no.
$ ping -W 1 -c 2 bix.hu gt;amp; /dev/null amp;amp; ping -W 1 -c 2
www.yahoo.com
Le ven 28 jan 2011 03:28:22 CET, kellyremo a écrit:
[ ... ]
$ while $TORF; do ping -W 1 -c 1 bix.hu gt;amp; /dev/null amp;amp; ping
-W 1 -c 1 www.yahoo.com gt;amp; /dev/null amp;amp; TORF=false ||
TORF=true; done
$
It just doesn't work.
Goal: if theres no internet connection, then
On 01/28/11 3:28 AM, kellyremo wrote:
bix.hu and www.yahoo.com are pingable test sites.
127.0.0.1 could not be pinged [firewall drops all icmp]
what sort of firewall drops packets on localhost ?!?
yahoo.com is probably a poor choice of targets, as its a widely
distributed group of servers,
On Fri, Jan 28, 2011 at 7:19 AM, John R Pierce pie...@hogranch.com wrote:
On 01/28/11 3:28 AM, kellyremo wrote:
bix.hu and www.yahoo.com are pingable test sites.
127.0.0.1 could not be pinged [firewall drops all icmp]
what sort of firewall drops packets on localhost ?!?
yahoo.com is
Nico Kadel-Garcia wrote:
Yup. That's why it's common to drop at external firewalls and blocked
by NAT from reaching inside your network, to protect less thoroughly
protected and critical hosts from distributed denial of service (DDOS)
such as the now classic ping flood attack. There is
On Fri, Jan 28, 2011 at 11:19 AM, cpol...@surewest.net wrote:
Nico Kadel-Garcia wrote:
Yup. That's why it's common to drop at external firewalls and blocked
by NAT from reaching inside your network, to protect less thoroughly
protected and critical hosts from distributed denial of service
Why doesn't my internet-connection script work?
When I plug the ethcable out, it just waits...and waits...and waits...
The script: http://pastebin.com/AE9U1qdL
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Hi Jozsef,
On Sat, Mar 27, 2010 at 12:07 PM, Jozsef Vadkan jozsi.avad...@gmail.com wrote:
Why doesn't my internet-connection script work?
I suggest you double-check the Advanced Bash Scripting Guide.
You posted this to a couple of sites.
In your if statements, you must do if `statement`; then
On 27 March 2010 12:07, Jozsef Vadkan jozsi.avad...@gmail.com wrote:
Why doesn't my internet-connection script work?
When I plug the ethcable out, it just waits...and waits...and waits...
The script: http://pastebin.com/AE9U1qdL
This is a ping script I use to check my boxes are all up an
On 27 March 2010 12:47, James Bensley jwbens...@gmail.com wrote:
On 27 March 2010 12:07, Jozsef Vadkan jozsi.avad...@gmail.com wrote:
Why doesn't my internet-connection script work?
When I plug the ethcable out, it just waits...and waits...and waits...
The script:
Am 27.03.2010 13:48, schrieb James Bensley:
Would help if I actually put the link in maybe? Doh!
http://pastebin.com/raw.php?i=QRYHjDpQ
Why `ping -c $PCount $hosts | grep 64 bytes | wc | awk {'print $1'}'
when `ping -c $PCount $hosts | grep -c 64 bytes' is sufficient?
Alexander
On 27 March 2010 12:56, Alexander Dalloz
ad+li...@uni-x.orgad%2bli...@uni-x.org
wrote:
Am 27.03.2010 13:48, schrieb James Bensley:
Would help if I actually put the link in maybe? Doh!
http://pastebin.com/raw.php?i=QRYHjDpQ
Why `ping -c $PCount $hosts | grep 64 bytes | wc | awk {'print
Jozsef Vadkan wrote:
Why doesn't my internet-connection script work?
When I plug the ethcable out, it just waits...and waits...and waits...
The script: http://pastebin.com/AE9U1qdL
DNS lookups take a long time to time out and fail. You could try a ping to
your
default gateway's IP
13 matches
Mail list logo