[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247178: marked as done (Only do automatic DHCP when a link exists)



Your message dated Mon, 17 May 2004 00:17:04 -0400
with message-id <E1BPZYm-0004UZ-00@newraff.debian.org>
and subject line Bug#247178: fixed in netcfg 0.64
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; 3 May 2004 18:00:22 +0000
>From tbm@cyrius.com Mon May 03 11:00:22 2004
Return-path: <tbm@cyrius.com>
Received: from sorrow.cyrius.com [65.19.161.204] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BKhjq-0006Bi-00; Mon, 03 May 2004 11:00:22 -0700
Received: by sorrow.cyrius.com (Postfix, from userid 10)
	id 7017164D50; Mon,  3 May 2004 18:00:22 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
	id 89840104AB; Mon,  3 May 2004 18:59:58 +0100 (BST)
Date: Mon, 3 May 2004 18:59:58 +0100
From: Martin Michlmayr <tbm@cyrius.com>
To: submit@bugs.debian.org
Subject: Only do automatic DHCP when a link exists
Message-ID: <[🔎] 20040503175958.GB9917@deprecation.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: submit@bugs.debian.org
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=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Package: netcfg
Severity: wishlist

Using mii-diag -s <device> you can find out whether the device is
actually connected... if if returns 2 (no link), automatic DHCP should
not even be tried.


----- Forwarded message from Herbert Xu <herbert@gondor.apana.org.au> -----

From: Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: detecting if eth0 is connected
Date: Mon, 3 May 2004 12:04:39 +1000
To: Martin Michlmayr <tbm@cyrius.com>
User-Agent: Mutt/1.5.5.1+cvs20040105i
X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham 
	version=2.63

On Mon, May 03, 2004 at 01:15:00AM +0100, Martin Michlmayr wrote:
> d-i runs DHCP automatically to see if it can obtain an IP address...
> now this really doesn't make much sense if your network card is not
> even connected to a network.  Do you know if it's possible to find out
> from user land whether ethX has a link?

For the drivers that have the proper support for this (that's most drivers
in 2.6, and probably slightly less in 2.4), you can look at the RUNNING
flag on the device (ifconfig), or use mii-tool.  The latter is better
supported under 2.4.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

----- End forwarded message -----

-- 
Martin Michlmayr
tbm@cyrius.com

---------------------------------------
Received: (at 247178-close) by bugs.debian.org; 17 May 2004 04:23:10 +0000
>From katie@ftp-master.debian.org Sun May 16 21:23:10 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BPZeg-0001Ga-00; Sun, 16 May 2004 21:23:10 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BPZYm-0004UZ-00; Mon, 17 May 2004 00:17:04 -0400
From: Joshua Kwan <joshk@triplehelix.org>
To: 247178-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#247178: fixed in netcfg 0.64
Message-Id: <E1BPZYm-0004UZ-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 17 May 2004 00:17:04 -0400
Delivered-To: 247178-close@bugs.debian.org
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 9

Source: netcfg
Source-Version: 0.64

We believe that the bug you reported is fixed in the latest version of
netcfg, which is due to be installed in the Debian FTP archive:

netcfg-dhcp_0.64_i386.udeb
  to pool/main/n/netcfg/netcfg-dhcp_0.64_i386.udeb
netcfg-static_0.64_i386.udeb
  to pool/main/n/netcfg/netcfg-static_0.64_i386.udeb
netcfg_0.64.dsc
  to pool/main/n/netcfg/netcfg_0.64.dsc
netcfg_0.64.tar.gz
  to pool/main/n/netcfg/netcfg_0.64.tar.gz
netcfg_0.64_i386.udeb
  to pool/main/n/netcfg/netcfg_0.64_i386.udeb



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 247178@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joshua Kwan <joshk@triplehelix.org> (supplier of updated netcfg 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 16 May 2004 20:36:04 -0700
Source: netcfg
Binary: netcfg-static netcfg-dhcp netcfg
Architecture: source i386
Version: 0.64
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joshua Kwan <joshk@triplehelix.org>
Description: 
 netcfg     - Configure the network (udeb)
 netcfg-dhcp - Configure the network via DHCP (udeb)
 netcfg-static - Configure a static network (udeb)
Closes: 227722 236533 239121 239591 240701 244441 244819 244901 247178 247751 248636 249363
Changes: 
 netcfg (0.64) unstable; urgency=medium
 .
   * Joshua Kwan
     - Split out all functions into static.c, dhcp.c, wireless.c.
     - Remove dep alternative to busybox-cvs-udeb etc., since udhcpc is no
       longer available in any initrd. This causes businesscard and netinst
       installs to fail because busybox is already provided and hence gets
       used.
     - Remove udhcpc support in dhcp.c.
     - Port wireless fixes back to netcfg-static and netcfg-dhcp, which
       have been rather neglected lately.
     - Fix the GO_BACK interaction between WEP and ESSID configuration.
     - Switch to using iproute for everything, a step towards removing
       ifconfig and route applets from busybox.
     - Add amd64 support. (Closes: #249363)
     - Open one set of socket FDs and use them for the whole runtime.
     - Write loopback all the time, even when you abort network config.
       (Closes: #248636)
     - Redesign DHCP strategy with a new template that uses a select,
       allowing the user to clearly alternate to static network config
       (Closes: #244901, #227722)
     - Display a brief note when DHCP lease gets acquired. (Closes: #247751)
     - Now we can ask for a DHCP hostname to add. (Closes: #236533, #239591)
     - If we didn't use one, see if the server is offering us one and seed
       netcfg/get_hostname with it. (Closes: #239121, #240701)
     - Failing that, bring the interface up and try to reverse-resolve
       the IP address into a hostname.
     - For idempotency reasons, down all interfaces after finding each
       one so that we can start from a clean slate. (Probably deals with
       Bug#227722)
     - Silently load af_packet. (Closes: #244441)
     - Add some code hunks from mii-diag to determine code path on link
       connection. (Closes: #247178)
     - Add some interface_up and interface_down functions.
     - Fix a long standing bug in devnames retrieval that did not strip
       newlines from the devnames input and caused cdebconf to screw
       up on subsequent questions.
     - Bump the DHCP wait to 15 seconds. The magic number seems to be just
       over 10 for me. (Closes: #244819)
     - Template cleanups: netcfg/static-title, netcfg/dhcp-title,
       netcfg/internal-pcmcia, netcfg/confirm_dhcp
     - Add dhcp3-client support. Not that it actually gets used now that
       we can get a DHCP-supplied hostname from dhcp-client.
     - Remove a lot of calls to /sbin/this and /sbin/that in response to Joey's
       rant on debian-boot.
   * Bastian Blank
     - Remove sleep.
   * Updated translations:
     - Bulgarian (bg.po) by Ognyan Kulev
     - Czech (cs.po) by Miroslav Kure
     - Danish (da.po) by Claus Hindsgaul
     - German (de.po) by Alwin Meschede
     - Greek, Modern (1453-) (el.po) by Konstantinos Margaritis
     - Spanish (Castilian) (es.po) by Javier Fernandez-Sanguino Peña
     - Basque (eu.po) by Piarres Beobide Egaña
     - Finnish (fi.po) by Tapio Lehtonen
     - French (fr.po) by Philippe Batailler
     - Hebrew (he.po) by Lior Kaplan
     - Hungarian (hu.po) by VER�K István
     - Indonesian (id.po) by Parlin Imanuel Toh
     - Italian (it.po) by Giuseppe Sacco
     - Japanese (ja.po) by Kenshi Muto
     - Korean (ko.po) by Changwoo Ryu
     - Lithuanian (lt.po) by KÄ?stutis BiliÅ«nas
     - Bøkmal, Norwegian (nb.po) by Bjørn Steensrud
     - Dutch (nl.po) by Bart Cornelis
     - Norwegian Nynorsk (nn.po) by HÃ¥vard Korsvoll
     - Polish (pl.po) by Bartosz Fenski
     - Portuguese (Brazil) (pt_BR.po) by André Luís Lopes
     - Portuguese (pt.po) by Miguel Figueiredo
     - Romanian (ro.po) by Eddy Petrisor
     - Russian (ru.po) by Yuri Kozlov
     - Slovak (sk.po) by Peter KLFMANiK Mann
     - Slovenian (sl.po) by Jure Ä?uhalev
     - Swedish (sv.po) by André Dahlqvist
     - Turkish (tr.po) by Osman Yüksel
     - Ukrainian (uk.po) by Eugeniy Meshcheryakov
     - Simplified Chinese (zh_CN.po) by Carlos Z.F. Liu
Files: 
 7752387b3fca7b679faa381427e62be0 1526 debian-installer optional netcfg_0.64.dsc
 d0539a1ac82788bb54e39085488ef8ba 161167 debian-installer optional netcfg_0.64.tar.gz
 cbd92b47ee5baecc29b9225e943613e6 126814 debian-installer optional netcfg_0.64_i386.udeb
 481095adb7117d0e012d1bca7938ad8e 96092 debian-installer optional netcfg-dhcp_0.64_i386.udeb
 481f1d5267729fb38bdf4059b2ef528c 107962 debian-installer optional netcfg-static_0.64_i386.udeb
package-type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: http://triplehelix.org/~joshk/pubkey_gpg.asc

iQIVAwUBQKg4f6OILr94RG8mAQKaxg/+O+48FYIUiw6MPk8aID6Mln+6yoAUsBHx
WOWEyCsegVhvWdysOUE3+ugurGWEU7DMuT8rr0D8qRKXDA+ony7aLKPeFcXUSsnt
hmFEQ1DR+PLXG+BB+dsgGbDP7+yIxTee9W5jTx6ltsSCEdmgj0ZO8TThF1RP3ujo
7/5ZheRhgp9dnZWzZmrXRt/fKFkOs5DEwketm+IhuacXn4g98k/2x6TdfL2Orhaz
WrWGjg8HRxDj/yfr5n85LiY2tbSpJgqjFQ4lUgPJ7BQNpX7Da7Foqkv+x5dzKUU2
yYdscEbk9CFPog94G9IEIuxRWYDodsCYXVAipu3VakORGIaK8j1+jCAU8EWHOTjc
2WXQ/IuzDBpYOtIOMg2ZN9O2vYY3Q10fHFQzsumw2k8WZCOz7jJS6jZt1unpIXnY
TBMONZuP4Z23nSzJ//XUCxiSPw+z0g+Dh+u1j8FWp+rHX54OX8IHeXSkwsYgwqv/
qlrHt94euSBWTD9KE1RckEctVxIG/PXJXtvngFBBYOkoVIigk0Sh0gkIbK9yAlGZ
esSxYxva8yiGkte3b8hc/u8UfmYZR78HDtwFAR+92IrfUr/PT6zp4lKH6qCZXSu1
jMDVC2/Cu3zwFsSZYNrcbl2dunAD+iqNFw3njYwHbLUv1bFcCXu2dV6SSVEjGOxE
hfIP8P7ikuQ=
=VFo3
-----END PGP SIGNATURE-----



Reply to: