From owner-freebsd-stable Fri Dec 14 14:45:17 2001 Delivered-To: freebsd-stable@freebsd.org Received: from seven.Alameda.net (seven.Alameda.net [64.81.63.137]) by hub.freebsd.org (Postfix) with ESMTP id 42F6637B419 for ; Fri, 14 Dec 2001 14:45:12 -0800 (PST) Received: by seven.Alameda.net (Postfix, from userid 1000) id EB9BF3A239; Fri, 14 Dec 2001 14:45:11 -0800 (PST) Date: Fri, 14 Dec 2001 14:45:11 -0800 From: Ulf Zimmermann To: Sean Kelly Cc: Ulf Zimmermann , freebsd-stable@freebsd.org Subject: Re: Networking Question Message-ID: <20011214144511.Z54879@seven.alameda.net> Reply-To: ulf@Alameda.net References: <20011214153114.A47574@edgemaster.zombie.org> <20011214133318.Y54879@seven.alameda.net> <20011214155704.A47708@edgemaster.zombie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011214155704.A47708@edgemaster.zombie.org>; from smkelly@zombie.org on Fri, Dec 14, 2001 at 03:57:04PM -0600 Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 4.4-STABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Dec 14, 2001 at 03:57:04PM -0600, Sean Kelly wrote: > On Fri, Dec 14, 2001 at 01:33:18PM -0800, Ulf Zimmermann wrote: > > ifconfig will tell you if there is a link or not: > > > > ulfbsd root /home/ulf # ifconfig -a > > fxp0: flags=8843 mtu 1500 > > media: Ethernet 100baseTX > > status: active > > rl0: flags=8843 mtu 1500 > > media: Ethernet autoselect (100baseTX ) > > status: active > > I felt kind of stupid at first for not noticing that, but then I noticed > that I don't have it: > (84) smkelly@edgemaster:~$ ifconfig -a > xl0: flags=8843 mtu 1500 > inet 147.134.112.68 netmask 0xffffff00 broadcast 147.134.112.255 > inet6 fe80::210:5aff:fec6:b4e4%xl0 prefixlen 64 scopeid 0x1 > ether 00:10:5a:c6:b4:e4 > media: Ethernet 10baseT/UTP (10baseT/UTP ) > (85) smkelly@edgemaster:~$ grep xl0 /var/run/dmesg.boot > xl0: <3Com 3c900B-TPO Etherlink XL> port 0xd800-0xd87f mem 0xd7000000-0xd700007f irq 11 at device 9.0 on pci0 > xl0: Ethernet address: 00:10:5a:c6:b4:e4 > xl0: selecting 10baseT transceiver, half duplex > > Which is strange, because I could swear Windows was able to detect it when > this NIC was in the Windows machine. > > However, my desktop machine at work: > (1) smkelly@rooster:~$ ifconfig -a > xl0: flags=8843 mtu 1500 > inet 147.134.2.73 netmask 0xfffffc00 broadcast 147.134.3.255 > inet6 fe80::204:76ff:fe3a:8b00%xl0 prefixlen 64 scopeid 0x1 > ether 00:04:76:3a:8b:00 > media: Ethernet autoselect (10baseT/UTP) > status: active > xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem 0xff9ffc00-0xff9ffc7f irq 9 at device 11.0 on pci2 > xl0: Ethernet address: 00:04:76:3a:8b:00 > miibus0: on xl0 > > Is it miibus making the difference? I looked at if_xl.c, and I only see > ifm_status being set if icfg == XL_XCVR_100BTX, XL_XCVR_AUTO, or > XL_XCVR_MII. Unfortunately my kernel skills are still lacking and I'm not > able to derive much from this except that I"m screwed and need to secretly > switch NICs when nobody is looking. > > -- > Sean Kelly | PGP KeyID: 77042C7B > smkelly@zombie.org | http://www.zombie.org > > For PGP key, send e-mail with subject "send pgp key" It is a recent addition to FreeBSD, somewhere in teh 4.x tree I believe. What do you run at home ? -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message