tags 543656 + confirmed
thanks

On Wed, 26 Aug 2009 12:49:32 +0200, Rémi Vanicat wrote:

> When bring up a connection whith a static IP, wicd use ping to test
> the success of the connection. The command used is 
>   ping -q -w 3 -c 1 $gateway
> but -w 3 is not an option reconize by inetutils-ping, so the test
> failed even if the connection is succefull
> 
> using
>   ping -q -c 1 $gateway
> is correct

Not quite.
If $gateway doesn't exist, both pings (iputils- and inetutils-) take ~10s to
abort. That's too much time, for me.

With upstream we're thinking at two options:

  1) explicitely depend on iputils-ping (which has -w)
  2) runtime-check which ping is installed, and use -w only where applicable.

Obviously 2) should be the way to go, but we haven't investigated this yet
(especially, how to detect the two versions on systems different from
Debian/Ubuntu).

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Reply via email to