From owner-freebsd-bugs Sun Mar 10 9:40: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2745C37B41A for ; Sun, 10 Mar 2002 09:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2AHe2516496; Sun, 10 Mar 2002 09:40:02 -0800 (PST) (envelope-from gnats) Date: Sun, 10 Mar 2002 09:40:02 -0800 (PST) Message-Id: <200203101740.g2AHe2516496@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Peter Kieser" Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS Reply-To: "Peter Kieser" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/35726; it has been noted by GNATS. From: "Peter Kieser" To: "Peter Pentchev" Cc: , 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" To: "Peter Kieser" Cc: 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 mtu 1500 inet6 fe80::250:56ff:fe50:b495%lnc0 prefixlen 64 scopeid 0x1 ether 00:50:56:50:b4:95 lnc1: flags=8843 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 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 faith0: flags=8002 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, > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message