Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 15:57:04 -0600
From:      Sean Kelly <smkelly@zombie.org>
To:        Ulf Zimmermann <ulf@Alameda.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Networking Question
Message-ID:  <20011214155704.A47708@edgemaster.zombie.org>
In-Reply-To: <20011214133318.Y54879@seven.alameda.net>; from ulf@Alameda.net on Fri, Dec 14, 2001 at 01:33:18PM -0800
References:  <20011214153114.A47574@edgemaster.zombie.org> <20011214133318.Y54879@seven.alameda.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         media: Ethernet 100baseTX <full-duplex>
>         status: active
> rl0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <half-duplex>)
(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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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: <MII bus> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011214155704.A47708>