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

Bug#295482: marked as done (netcfg broadcast address crashes LAN)



Your message dated Thu, 17 Feb 2005 01:02:22 -0500
with message-id <E1D1ek2-0005N5-00@newraff.debian.org>
and subject line Bug#295482: fixed in netcfg 1.08
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; 16 Feb 2005 02:57:30 +0000
>From editor@postscript.port5.com Tue Feb 15 18:57:30 2005
Return-path: <editor@postscript.port5.com>
Received: from 63-227-173-20.hlna.qwest.net (workstation.localnet) [63.227.173.20] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D1FNa-0001w0-00; Tue, 15 Feb 2005 18:57:30 -0800
Received: from theme by workstation.localnet with local (Exim 4.44)
	id 1D1FNJ-0000XO-J3
	for submit@bugs.debian.org; Tue, 15 Feb 2005 19:57:13 -0700
To: submit@bugs.debian.org
Subject: netcfg broadcast address crashes LAN
Message-Id: <[🔎] E1D1FNJ-0000XO-J3@workstation.localnet>
From: the owner <editor@postscript.port5.com>
Date: Tue, 15 Feb 2005 19:57:13 -0700
Delivered-To: submit@bugs.debian.org
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-Status: No, hits=-5.1 required=4.0 tests=BAYES_44,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: netcfg
Version: 1.07.1


Subject: erroneous static network interface broadcast address

The Debian Installer repeatedly crashes my DSL modem. There have never
been any other problems except with D-I. I think the broadcast address
is the problem. The problem occurs especially when the installer tries
to fetch files from the internet before rebooting. The network is good
after rebooting. I think the netcfg is the problem or else busybox. This
is what I found when checking before rebooting:


========= preboot installation /etc/network/interfaces ==============
============ this was correctly written by the installer ============

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
	address 192.168.2.64
	netmask 255.255.255.0
	network 192.168.2.0
	broadcast 192.168.2.255
	gateway 192.168.2.1
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 192.168.2.1
	dns-search localnet


======== preboot installation ifconfig ===============
======== this was not correctly initialized ==========

eth0      Link encap:Ethernet  HWaddr 00:11:2F:E0:3A:27  
          inet addr:192.168.2.64  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:49876 (48.7 KiB)  TX bytes:3281 (3.2 KiB)
          Interrupt:17 Memory:fba00000-0 

============ the above Bcast:0.0.0.0 is incorrect =========

I found this code in the netcfg/static.c file. The fprintf must be good. 
I think the broadcast.s_addr is wrong when initializing interface:

static.c:   struct in_addr broadcast = { 0 };
static.c:      broadcast.s_addr = (network.s_addr | ~netmask.s_addr);
static.c:      fprintf(fp, "\tbroadcast %s\n", inet_ntop (AF_INET, &broadcast, ptr1, sizeof (ptr1)));


............
Thanks for the attention




---------------------------------------
Received: (at 295482-close) by bugs.debian.org; 17 Feb 2005 06:08:51 +0000
>From katie@ftp-master.debian.org Wed Feb 16 22:08:51 2005
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 1D1eqI-0000yJ-00; Wed, 16 Feb 2005 22:08:51 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D1ek2-0005N5-00; Thu, 17 Feb 2005 01:02:22 -0500
From: Joshua Kwan <joshk@triplehelix.org>
To: 295482-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#295482: fixed in netcfg 1.08
Message-Id: <E1D1ek2-0005N5-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 17 Feb 2005 01:02:22 -0500
Delivered-To: 295482-close@bugs.debian.org
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-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
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: netcfg
Source-Version: 1.08

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_1.08_i386.udeb
  to pool/main/n/netcfg/netcfg-dhcp_1.08_i386.udeb
netcfg-static_1.08_i386.udeb
  to pool/main/n/netcfg/netcfg-static_1.08_i386.udeb
netcfg_1.08.dsc
  to pool/main/n/netcfg/netcfg_1.08.dsc
netcfg_1.08.tar.gz
  to pool/main/n/netcfg/netcfg_1.08.tar.gz
netcfg_1.08_i386.udeb
  to pool/main/n/netcfg/netcfg_1.08_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 295482@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: Wed, 16 Feb 2005 21:44:33 -0800
Source: netcfg
Binary: netcfg-static netcfg-dhcp netcfg
Architecture: source i386
Version: 1.08
Distribution: unstable
Urgency: low
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: 281924 293682 295482
Changes: 
 netcfg (1.08) unstable; urgency=low
 .
   * Joshua Kwan
     - Ask for nameserver information if the DHCP server did not provide
       any. closes: #281924
     - Pass broadcast parameter to ip because it doesn't actually set it.
       Generally harmless, but we crash DSL modems now. closes: #295482
     - Fix some translation issues with Choices.
   * Joey Hess
     - If heuristics fail to determine a default interface, use the first
       interface as the default.
     - Back up netcfg/choose_interface preseeded value, and if the question
       is not displayed to the user, restore that value, overriding the
       selected default interface. Unless it was preseeded to "auto", then we
       use the selected default interface anyway.
     - That should make interface preseeding work in all situations.
       Closes: #293682
Files: 
 56de8c23ff0a42647c05c2f20b016c73 1579 debian-installer optional netcfg_1.08.dsc
 083248fa9af3e41f3ee96d55c5fcb99b 186409 debian-installer optional netcfg_1.08.tar.gz
 538bc5c86e2af7ab69d024a4d6771b36 158028 debian-installer optional netcfg_1.08_i386.udeb
 b59fdb3fcf4ec590dc115de080a24c12 124216 debian-installer optional netcfg-dhcp_1.08_i386.udeb
 ec19a93f2673d27657a30cc544f5e8f9 118846 debian-installer optional netcfg-static_1.08_i386.udeb
package-type: udeb

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

iQIVAwUBQhQvrqOILr94RG8mAQIx7A/9FpHoSZQU/BpbipTEvjDKD/ci8Gs71j3C
WblBr6calmAi7FQyWQLaXG9H9mrrt3Or+/zY7l5z4pFZHOrPVf/BUZrI6xifJN8G
s3avTpueZ0ed711rizlV+DOCofCD7eU/lqOyNEGA3gsPt4LHNzWOqbOJceWXulSH
fhT81pCKZ6phmLWdF0uZQzNCjLNStEIKsCtSTPQZZkmoCj9SSV2tTMFb6wDCV5Dt
VG59tApYWxtjqTxId5+0CslTwIIkr+6OpWVtDtaSGEmE63otzB1s4Ug5/vy4dVnf
+8qgk4QLeAU2oa4Xo8X3oG1IRCpCAPHyVvL7afysnqZoWchP47Oh3z+KWHBDWSNL
GrDl2D7Id3RYIiPosB1LodFV1aVw4V983Z+gO6IwenTOvyvrSRzyRUtYXkM3oE/+
7Iad+khYLmKdONYYYhLcq3A7dQvo0xFVnz6oe82nIoggAplagukvCPMyhsFWKS1p
NPxOsSw/IFA4x8iSZ0anSdaRt7Ajyuj3LSMfQJbr7tK/oSqB6PhxUKIeagVL4MNK
hxRwIJSN39ZDofuoXaWCfkF7HWXGNB5XJJmyhI1naSZOh2DNvbOTTwkBR6kbSR6a
90qig8SJJFnyNW1bALq2CfmXYVr7pxdMUI8O1Yyv1sYvjU8I7yqT6DWMy61lJhRY
MHg/O7KGeU8=
=okdX
-----END PGP SIGNATURE-----



Reply to: