From owner-freebsd-stable Fri Dec 14 13:57: 8 2001 Delivered-To: freebsd-stable@freebsd.org Received: from edgemaster.zombie.org (edgemaster.creighton.edu [147.134.112.68]) by hub.freebsd.org (Postfix) with ESMTP id 67E4737B417 for ; Fri, 14 Dec 2001 13:57:04 -0800 (PST) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id 1958766B04; Fri, 14 Dec 2001 15:57:04 -0600 (CST) Date: Fri, 14 Dec 2001 15:57:04 -0600 From: Sean Kelly To: Ulf Zimmermann Cc: freebsd-stable@freebsd.org Subject: Re: Networking Question Message-ID: <20011214155704.A47708@edgemaster.zombie.org> References: <20011214153114.A47574@edgemaster.zombie.org> <20011214133318.Y54879@seven.alameda.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011214133318.Y54879@seven.alameda.net>; from ulf@Alameda.net on Fri, Dec 14, 2001 at 01:33:18PM -0800 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 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 14, 2001 at 01:33:18PM -0800, Ulf Zimmermann wrote: > ifconfig will tell you if there is a link or not: >=20 > ulfbsd root /home/ulf # ifconfig -a > fxp0: flags=3D8843 mtu 1500 > media: Ethernet 100baseTX > status: active > rl0: flags=3D8843 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=3D8843 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-0xd70= 0007f 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=3D8843 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-0= xff9ffc7f 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 =3D=3D 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. --=20 Sean Kelly | PGP KeyID: 77042C7B smkelly@zombie.org | http://www.zombie.org For PGP key, send e-mail with subject "send pgp key" --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE8GnWv2aukpHcELHsRAhxpAJ9Vb0deXeN5P0idNJSzUTeREthF0gCgkZ4f nMxPwm0pQteUg5RHscaR95U= =A77C -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message