Received: (at submit) by bugs.debian.org; 28 Jan 2001 21:07:36 +0000 From ydirson@altern.org Sun Jan 28 15:07:36 2001 Return-path: Received: from smtp-rt-10.wanadoo.fr (camelia.wanadoo.fr) [::ffff:193.252.19.59] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 14Mz2u-0002qQ-00; Sun, 28 Jan 2001 15:07:36 -0600 Received: from villosa.wanadoo.fr (193.252.19.122) by camelia.wanadoo.fr; 28 Jan 2001 22:07:34 +0100 Received: from bylbo.nowhere.earth (62.161.73.4) by villosa.wanadoo.fr; 28 Jan 2001 22:07:30 +0100 Received: from dwitch by bylbo.nowhere.earth with local (Exim 3.22 #1 (Debian)) id 14MzGh-0000g0-00; Sun, 28 Jan 2001 22:21:51 +0100 From: Yann Dirson To: Debian Bug Tracking System Subject: ddclient: example for /etc/network/interfaces up line X-Reportbug-Version: 1.9 X-Mailer: reportbug 1.9 Date: Sun, 28 Jan 2001 22:21:51 +0100 Message-Id: Sender: Yann Dirson Delivered-To: submit@bugs.debian.org Package: ddclient Version: 2.3.7-1 Severity: minor Here is a sample entry for ifupdown, that worked for me till now: iface eth0 inet dhcp up ddclient -ip $(ifconfig eth0 | grep 'inet addr:' | sed 's/^.*addr:\([0-9.]*\).*$/\1/') -retry You'll also not the sed line I use is a bit different from the one in examples/local-ip - I tend to like it better (probably more robust) -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux bylbo 2.2.18 #1 Wed Dec 20 23:25:48 CET 2000 i586 Versions of packages ddclient depends on: ii debconf 0.5.49 Debian configuration management sy ii perl-5.005 [perl5] 5.005.03-7.1 Larry Wall's Practical Extracting ii perl-5.6 [perl5] 5.6.0-6.2 Larry Wall's Practical Extracting