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

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >         media: Ethernet 100baseTX <full-duplex>
> >         status: active
> > rl0: flags=8843<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=8843<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-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<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-0xff9ffc7f 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 == 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




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