Your message dated Sat, 01 Oct 2005 09:47:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#245785: fixed in ifscheme 1.5-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Apr 2004 12:29:54 +0000
>From [EMAIL PROTECTED] Sun Apr 25 05:29:54 2004
Return-path: <[EMAIL PROTECTED]>
Received: from smtp05.web.de (smtp.web.de) [217.72.192.209]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BHile-0006ea-00; Sun, 25 Apr 2004 05:29:54 -0700
Received: from p509253fa.dip0.t-ipconnect.de ([80.146.83.250] helo=web.de)
by smtp.web.de with asmtp (TLSv1:RC4-MD5:128)
(WEB.DE 4.101 #91)
id 1BHil9-0005gl-00
for [EMAIL PROTECTED]; Sun, 25 Apr 2004 14:29:23 +0200
Message-ID: <[EMAIL PROTECTED]>
Date: Sun, 25 Apr 2004 14:29:30 +0200
From: Joerg Thoennes <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: Improvement: On boot set the scheme from the SCHEME environment
variable
as used in pcmcia
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.6 required=4.0 tests=BAYES_00,HAS_PACKAGE,
WORK_AT_HOME autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 1
Package: ifscheme
Version: 1.2-1
Severity: wishlist
Hello,
as I switched to kernel 2.6, I also started using hotplug. The hotplug
script execute
ifup eth0=hotplug
if the PCMCIA network card is inserted. Using ifscheme I could map this
to different schemes, depending whether I am at work or at home.
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Hotplug interface(s)
mapping hotplug
script ifscheme-mapping
iface eth0-macd inet static
address 192.168.1.108
netmask 255.255.255.0
gateway 192.168.1.10
iface eth0-home inet static
address 192.168.0.22
netmask 255.255.255.0
gateway 192.168.0.1
iface eth0-dhcp inet dhcp
hostname alcornt
Note, that ifscheme canot run manually with hotplug since the recorded state
in /etc/network/interfaces is
eth0=eth0-dhcp
and
ifdown eth0
works, but to bring up the interface again, this command should be issued:
ifup eth0=hotplug
(Doing this manually does not work for some reasing...)
But I would like to set the scheme at boot time.
With pcmcia, I had to specify as kernel boot parameter in lilo.conf:
append="SCHEME=work ..."
and the environment variable SCHEME was forwarded to the init process
and used in /etc/init.d/pcmcia to set the current scheme.
So I would suggest to add a init.d script to the ifscheme package:
----------------------------------------------
#!/bin/sh
PATH=/sbin:/bin
test -x /sbin/ifscheme || exit 0
if [ -z "$SCHEME" ]; then
SCHEME=`cat /etc/network/scheme`
else
echo "$SCHEME" >/etc/network/scheme
fi
case "$1" in
start)
ifscheme $SCHEME
;;
status)
ifscheme
;;
stop)
;;
*)
echo "Usage: /etc/init.d/ifscheme {start|stop|status}"
exit 1
esac
exit 0
----------------------------------------------
Instead of using the /etc/network/scheme directly, the ifscheme script
could be extended
just to display the current scheme or to change it without
re-configuring the interface.
Cheers, Joerg
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (600, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-1-686
Locale: LANG=C, LC_CTYPE=C
-- no debconf information
---------------------------------------
Received: (at 245785-close) by bugs.debian.org; 1 Oct 2005 16:48:31 +0000
>From [EMAIL PROTECTED] Sat Oct 01 09:48:31 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1ELkVw-0006G7-00; Sat, 01 Oct 2005 09:47:08 -0700
From: Guus Sliepen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#245785: fixed in ifscheme 1.5-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 01 Oct 2005 09:47:08 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Source: ifscheme
Source-Version: 1.5-1
We believe that the bug you reported is fixed in the latest version of
ifscheme, which is due to be installed in the Debian FTP archive:
ifscheme_1.5-1.diff.gz
to pool/main/i/ifscheme/ifscheme_1.5-1.diff.gz
ifscheme_1.5-1.dsc
to pool/main/i/ifscheme/ifscheme_1.5-1.dsc
ifscheme_1.5-1_all.deb
to pool/main/i/ifscheme/ifscheme_1.5-1_all.deb
ifscheme_1.5.orig.tar.gz
to pool/main/i/ifscheme/ifscheme_1.5.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guus Sliepen <[EMAIL PROTECTED]> (supplier of updated ifscheme package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 1 Oct 2005 17:58:10 +0200
Source: ifscheme
Binary: ifscheme
Architecture: source all
Version: 1.5-1
Distribution: unstable
Urgency: low
Maintainer: Guus Sliepen <[EMAIL PROTECTED]>
Changed-By: Guus Sliepen <[EMAIL PROTECTED]>
Description:
ifscheme - scheme control for network interfaces
Closes: 245785 274470 307609
Changes:
ifscheme (1.5-1) unstable; urgency=low
.
* New upstream release. Closes: #274470
* Include init script that will set scheme to $SCHEME at boot time.
Closes: #245785, #307609
Files:
51639e59620d520bc32634628bbe1e54 560 net extra ifscheme_1.5-1.dsc
fbc123136e519230ef74012d00d8aef5 5822 net extra ifscheme_1.5.orig.tar.gz
1a9b1d76bc7d0007abdc12c3efdba789 2698 net extra ifscheme_1.5-1.diff.gz
c5f0555854618e7c3bbbc2b82ff8444c 9774 net extra ifscheme_1.5-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDPrkOAxLow12M2nsRAmWnAJsHy96ZLbq/+02E5bQAx91fvDqfqgCfU1Gm
ac1y833hB5IvMDzvsdvL5Uw=
=9ZTm
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]