From nobody@FreeBSD.org  Sat Mar  9 21:59:18 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 73BD837B404
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  9 Mar 2002 21:59:17 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g2A5xHv64944;
	Sat, 9 Mar 2002 21:59:17 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200203100559.g2A5xHv64944@freefall.freebsd.org>
Date: Sat, 9 Mar 2002 21:59:17 -0800 (PST)
From: Peter Kieser <peter@striked.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Won't let me use ifconfig on the interfaces after upgrade to latest OS
X-Send-Pr-Version: www-1.0

>Number:         35726
>Category:       conf
>Synopsis:       [patch] [rc.network] can't use ifconfig on the interfaces after upgrade to 4.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    andre
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 09 22:00:01 PST 2002
>Closed-Date:    Sat Sep 10 07:46:59 GMT 2005
>Last-Modified:  Sat Sep 10 07:46:59 GMT 2005
>Originator:     Peter Kieser
>Release:        4.5-STABLE
>Organization:
Striked Internet Services
>Environment:
FreeBSD haven.digital-base.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Mar  9 15:13:18 PST 2002     root@haven.digital-base.net:/usr/src/sys/compile/HAVEN  i386

>Description:
I had 3 network cards in my FreeBSD 4.5-STABLE box before I upgraded to the latest stable, due to the SSH bug. After I upgrade, I am no longer able to use ifconfig on my network cards, or get an IP address from my DHCP server. If I take out 2 of the network cards, it will work. I have produced this exact problem on several of my boxes.

>How-To-Repeat:
To repeat this problem just stick more then 1 ethernet card in your computer.
>Fix:
None?
>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: Peter Kieser <peter@striked.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS
Date: Sun, 10 Mar 2002 16:46:24 +0200

 On Sat, Mar 09, 2002 at 09:59:17PM -0800, Peter Kieser wrote:
 > 
 > >Number:         35726
 > >Category:       i386
 > >Synopsis:       Won't let me use ifconfig on the interfaces after upgrade to latest OS
 > >Originator:     Peter Kieser
 > >Release:        4.5-STABLE
 > >Organization:
 > Striked Internet Services
 > >Environment:
 > FreeBSD haven.digital-base.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Mar  9 15:13:18 PST 2002     root@haven.digital-base.net:/usr/src/sys/compile/HAVEN  i386
 > 
 > >Description:
 > I had 3 network cards in my FreeBSD 4.5-STABLE box before I upgraded to the latest stable, due to the SSH bug. After I upgrade, I am no longer able to use ifconfig on my network cards, or get an IP address from my DHCP server. If I take out 2 of the network cards, it will work. I have produced this exact problem on several of my boxes.
 > 
 > >How-To-Repeat:
 > To repeat this problem just stick more then 1 ethernet card in your computer.
 > >Fix:
 > None?
 
 OK, we will need a bit more info here.
 
 1. What kind of Ethernet cards do you have?  (make, model, driver name)
 
 2. What exactly happens when you try to use ifconfig?  Does it produce
    any error messages?
 
 3. What exactly happens when you try to obtain an IP address via DHCP?
    Does dhclient produce any error messages?  Is a request logged in
    the DHCP server logs?
 
 Please keep the subject line of this message, and CC a copy to
 bug-followup@FreeBSD.org, so the GNATS bug tracking system can
 keep track of the various replies in the problem report's audit trail.
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 If I had finished this sentence,

From: David Malone <dwmalone@maths.tcd.ie>
To: Peter Kieser <peter@striked.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS
Date: Sun, 10 Mar 2002 17:06:58 +0000

 On Sat, Mar 09, 2002 at 09:59:17PM -0800, Peter Kieser wrote:
 > >Description:
 > I had 3 network cards in my FreeBSD 4.5-STABLE box before I upgraded to the latest stable, due to the SSH bug. After I upgrade, I am no longer able to use ifconfig on my network cards, or get an IP address from my DHCP server. If I take out 2 of the network cards, it will work. I have produced this exact problem on several of my boxes.
 
 Is it possible that you upgraded the userland programs without
 recompiling your kernel? This might possibly cause ifconfig to
 fail.
 
 	David.

From: "Peter Kieser" <peter@striked.net>
To: "Peter Pentchev" <roam@ringlet.net>
Cc: <bug-followup@FreeBSD.org>, <edward@striked.net>
Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS
Date: Sun, 10 Mar 2002 09:34:43 -0800

 I kinda stuck everything in between the questions you asked, scroll down.
 
 --Peter
 Peter on efnet - #freebsdhelp
 
 ----- Original Message -----
 From: "Peter Pentchev" <roam@ringlet.net>
 To: "Peter Kieser" <peter@striked.net>
 Cc: <bug-followup@FreeBSD.org>
 Sent: Sunday, March 10, 2002 6:46 AM
 Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after
 upgrade to latest OS
 
 
 > On Sat, Mar 09, 2002 at 09:59:17PM -0800, Peter Kieser wrote:
 > >
 > > >Number:         35726
 > > >Category:       i386
 > > >Synopsis:       Won't let me use ifconfig on the interfaces after
 upgrade to latest OS
 > > >Originator:     Peter Kieser
 > > >Release:        4.5-STABLE
 > > >Organization:
 > > Striked Internet Services
 > > >Environment:
 > > FreeBSD haven.digital-base.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Mar
 9 15:13:18 PST 2002
 root@haven.digital-base.net:/usr/src/sys/compile/HAVEN  i386
 > >
 > > >Description:
 > > I had 3 network cards in my FreeBSD 4.5-STABLE box before I upgraded to
 the latest stable, due to the SSH bug. After I upgrade, I am no longer able
 to use ifconfig on my network cards, or get an IP address from my DHCP
 server. If I take out 2 of the network cards, it will work. I have produced
 this exact problem on several of my boxes.
 > >
 > > >How-To-Repeat:
 > > To repeat this problem just stick more then 1 ethernet card in your
 computer.
 > > >Fix:
 > > None?
 >
 > OK, we will need a bit more info here.
 >
 > 1. What kind of Ethernet cards do you have?  (make, model, driver name)
 
 SiS 900 10/100BaseTX, LC82C115 PNIC II 10/100BaseTX, RealTek 8139
 10/100BaseTX, 3Com 3C509B-TPO EtherLink III (PnP)
 
 >
 > 2. What exactly happens when you try to use ifconfig?  Does it produce
 >    any error messages?
 
 haven# ifconfig
 lnc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet6 fe80::250:56ff:fe50:b495%lnc0 prefixlen 64 scopeid 0x1
         ether 00:50:56:50:b4:95
 lnc1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet6 fe80::250:56ff:fe50:b496%lnc1 prefixlen 64 scopeid 0x2
         inet 24.82.66.245 netmask 0xfffffc00 broadcast 24.82.67.255
         ether 00:50:56:50:b4:96
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
         inet 127.0.0.1 netmask 0xff000000
 ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
 faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
 
 Notice how I dont have a "inet" section on my first ethernet adapter.  There
 should be one. There isnt, even if it would only be 0.0.0.0
 
 >
 > 3. What exactly happens when you try to obtain an IP address via DHCP?
 >    Does dhclient produce any error messages?  Is a request logged in
 >    the DHCP server logs?
 
 haven# /sbin/dhclient lnc1 lnc0
 ifconfig: ioctl (SIOCAIFADDR): File exists
 dhclient: New IP Address(lnc0): 24.82.66.238
 dhclient: New Subnet Mask (lnc0): 255.255.252.0
 dhclient: New Broadcast Address(lnc0): 24.82.67.255
 dhclient: New Routers: 24.82.64.1
 haven#
 
 Then I get locked out of the box, and cant reconnect. If I remove the other
 ethernet adapter it works (out of /etc/rc.conf)
 
 >
 > Please keep the subject line of this message, and CC a copy to
 > bug-followup@FreeBSD.org, so the GNATS bug tracking system can
 > keep track of the various replies in the problem report's audit trail.
 >
 > G'luck,
 > Peter
 >
 > --
 > Peter Pentchev roam@ringlet.net roam@FreeBSD.org
 > PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
 > Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 > If I had finished this sentence,
 >
 >
 
 

From: "Peter Kieser" <peter@striked.net>
To: "David Malone" <dwmalone@maths.tcd.ie>
Cc: <freebsd-gnats-submit@FreeBSD.org>
Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS
Date: Sun, 10 Mar 2002 09:52:47 -0800

 If I've done it on 3 boxes, yes. But I dont think so.
 
 I use the following to do my kernels:
 
 cd /usr/src/sys/i386/conf
 config <kernelconfig>
 cd <kerntempdir>
 make depend
 make
 make install
 reboot -q
 mergemaster
 
 Could be though.
 
 --Peter
 Peter on efnet - #freebsdhelp
 
 ----- Original Message -----
 From: "David Malone" <dwmalone@maths.tcd.ie>
 To: "Peter Kieser" <peter@striked.net>
 Cc: <freebsd-gnats-submit@FreeBSD.org>
 Sent: Sunday, March 10, 2002 9:06 AM
 Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after
 upgrade to latest OS
 
 
 > On Sat, Mar 09, 2002 at 09:59:17PM -0800, Peter Kieser wrote:
 > > >Description:
 > > I had 3 network cards in my FreeBSD 4.5-STABLE box before I upgraded to
 the latest stable, due to the SSH bug. After I upgrade, I am no longer able
 to use ifconfig on my network cards, or get an IP address from my DHCP
 server. If I take out 2 of the network cards, it will work. I have produced
 this exact problem on several of my boxes.
 >
 > Is it possible that you upgraded the userland programs without
 > recompiling your kernel? This might possibly cause ifconfig to
 > fail.
 >
 > David.
 >
 >
 
 
 

From: "Andrew Fremantle" <temp1274@skyhawk.ca>
To: <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS
Date: Thu, 16 May 2002 23:32:00 -0700

 The originators email seems to be fubared... DNS problems.
 
 Sorry to interject, but I've got something similar, though I think it may
 not be related to the reported problem....
 
 FreeBSD 4.5-RELEASE-p4
 
 Two NICs. rl0 and xl0.
 
 relevant statements in /etc/rc.conf
 ifconfig_rl0="inet 192.168.0.254"
 ifconfig_xl0="DHCP"
 
 xl0 is always DHCP configured without problems, but rl0 is never configured
 at all. I haven't tried two non-DHCP configurations.... let me do that now.
 Okay, it works fine.
 
 To the originator : Try leaving all three NICs in, and doing non-DHCP
 configuration on them. I'm thinking that /etc/rc.network sees a DHCP option,
 processes it on perhaps only one NIC, and then stops processing interface
 configuration entirely.
 
 Andrew
 
 

From: Giorgos Keramidas <keramida@FreeBSD.ORG>
To: Andrew Fremantle <temp1274@skyhawk.ca>
Cc: bug-followup@FreeBSD.ORG
Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS
Date: Fri, 17 May 2002 22:09:32 +0300

 On 2002-05-16 23:40, Andrew Fremantle wrote:
 > Sorry to interject, but I've got something similar, though I think
 > it may not be related to the reported problem....
 
 Don't be.  Any feedback that is relevant is necessary, and welcome.
 On the other hand, when you think that this is not related to the
 problem described in the original PR, you should file a new PR.
 
 > FreeBSD 4.5-RELEASE-p4
 >
 > Two NICs. rl0 and xl0.
 >
 > relevant statements in /etc/rc.conf
 > ifconfig_rl0="inet 192.168.0.254"
 > ifconfig_xl0="DHCP"
 >
 > xl0 is always DHCP configured without problems, but rl0 is never configured
 > at all. I haven't tried two non-DHCP configurations.... let me do that now.
 
 What happens if you explicitly set network_interfaces to "lo0 xl0 rl0"?
 
 	% grep network_interfaces /etc/rc.conf
 	network_interfaces="lo0 xl0 rl0"
 
 - Giorgos
 

From: "Laurent Bouvet" <laurent.bouvet@pssa.net>
To: <freebsd-gnats-submit@FreeBSD.org>, <peter@striked.net>
Cc:  
Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS
Date: Tue, 13 Aug 2002 14:55:57 +0200

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_001C_01C242D9.8C292B80
 Content-Type: text/plain;
 	charset="US-ASCII"
 Content-Transfer-Encoding: 7bit
 
 Try to make an 
 
 ifconfig lnc0 down 
 
 before any other ifconfig command. Well, if this is done by a script
 (rc.network) try to edit and add this just before any ifconfig.
 
 This problem is the same with aliases.
 My patch to rc.network for aliases:
 
 220a221
 > 				ifconfig ${ifn} down
 
 has solved the problem.
 
 Laurent
 
 ------=_NextPart_000_001C_01C242D9.8C292B80
 Content-Type: text/html;
 	charset="US-ASCII"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <HTML>
 <HEAD>
 <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
 charset=3Dus-ascii">
 <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
 6.0.4630.0">
 <TITLE>Re: i386/35726: Won't let me use ifconfig on the interfaces after =
 upgrade to latest OS</TITLE>
 </HEAD>
 <BODY>
 <!-- Converted from text/rtf format -->
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Try to make an </FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">ifconfig lnc0 down </FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">before any other ifconfig command. =
 Well, if this is done by a script (rc.network) try to edit and add this =
 just before any ifconfig.</FONT></P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">This problem is the same with =
 aliases.</FONT>
 
 <BR><FONT SIZE=3D2 FACE=3D"Arial">My patch to rc.network for =
 aliases:</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">220a221</FONT>
 
 <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ifconfig ${ifn} down</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">has solved the problem.</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Laurent</FONT>
 </P>
 
 </BODY>
 </HTML>
 ------=_NextPart_000_001C_01C242D9.8C292B80--
 
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: bms 
Responsible-Changed-When: Tue 25 Nov 2003 08:59:20 PST 
Responsible-Changed-Why:  
Air this out on -net for discussion/bikeshedding. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35726 

From: Max Laier <max@love2party.net>
To: freebsd-gnats-submit@FreeBSD.org, peter@striked.net
Cc:  
Subject: Re: conf/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS
Date: Tue, 25 Nov 2003 19:21:40 +0100

 > haven# /sbin/dhclient lnc1 lnc0
 > ifconfig: ioctl (SIOCAIFADDR): File exists
 > dhclient: New IP Address(lnc0): 24.82.66.238
 > dhclient: New Subnet Mask (lnc0): 255.255.252.0
 > dhclient: New Broadcast Address(lnc0): 24.82.67.255
 > dhclient: New Routers: 24.82.64.1
 > haven#
 
 The EEXISTS above comes from in.c (rtinit) when one tries to add an
 address in an already existing prefix: ("inet 24.82.66.245 netmask
 0xfffffc00" on lnc0 has the same prefix as the address your dhcp is
 trying to give to lnc1)
 
 http://pf4freebsd.love2party.net/in.c.diff originally done for my CARP
 port should fix/work around it. Can you, please give it a try?
 
 The code was obtained from WIDE via OpenBSD.
 
 -- 
 Best regards,
  Max                          mailto:max@love2party.net
 
Responsible-Changed-From-To: freebsd-net->andre 
Responsible-Changed-By: andre 
Responsible-Changed-When: Tue Dec 30 01:58:27 PST 2003 
Responsible-Changed-Why:  
Take over. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35726 

From: Andre Oppermann <andre@freebsd.org>
To: freebsd-gnats-submit@FreeBSD.org, peter@striked.net
Cc:  
Subject: Re: conf/35726: Won't let me use ifconfig on the interfaces after
 upgrade to latest OS
Date: Tue, 30 Dec 2003 11:42:43 +0100

 Peter,
 
 do you still have the ifconfig problem described in the PR with 4.9R
 or 5.2PR2?
 
 -- 
 Andre
 

From: Matteo Riondato <rionda@gufi.org>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: conf/35726
Date: Mon, 28 Mar 2005 19:36:54 +0200

 --VS++wcV0S1rZb1Fb
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Shouldn't this PR be closed, as we no longer use rc.network, it's
 related to unsupported releases and there are no news about it since
 December 2003?
 Best Regards
 
 --=20
 Rionda aka Matteo Riondato
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --VS++wcV0S1rZb1Fb
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCSEC02Mp4pR7Fa+wRAgJsAJ9OH7St+Y0vrX4YIpPMGhscdxFXjwCgglnK
 1DVhvdX3zGSR3Hh2qipwlAU=
 =OzRC
 -----END PGP SIGNATURE-----
 
 --VS++wcV0S1rZb1Fb--
State-Changed-From-To: open->closed 
State-Changed-By: andre 
State-Changed-When: Sat Sep 10 07:46:19 GMT 2005 
State-Changed-Why:  
Close this PR.  ETOOOLD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35726 
>Unformatted:
