Hello,

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

I'm attaching a patch, could you please verify whether it works for you?

Remember that with this patch, using iputils-ping will at most wait 3 seconds,
inetutils-ping will just wait timeout (since there's no way, AFAICT, to define
a maximum wait time).

To apply the patch:

$ su -
# cd /usr/share/wicd
# patch -p1 < 02-detect_ping_flavour.patch
# find . -name "*.pyc" -delete

then restart wicd.

Thank you,
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: 02-detect_ping_flavour.patch.gz
Description: GNU Zip compressed data

Attachment: signature.asc
Description: PGP signature

Reply via email to