How do I name my network interface?

Erik Trulsson erikt at update.uu.se
Sun Oct 23 14:02:53 PDT 2005


On Sun, Oct 23, 2005 at 10:00:55PM +0200, Andreas Davour wrote:
> On Sun, 23 Oct 2005, Erik Trulsson wrote:
> 
> >On Sun, Oct 23, 2005 at 06:30:35PM +0200, Andreas Davour wrote:
> >>
> >>Hi!
> >>
> >>I have realized that my new motherboard has a built-in network
> >>interface, and I'd like to use it as well as the PCI based one I have.
> >>
> >>But, what do I call it when I plumb it with "ifconfig"?
> >
> >That would depend on what chipset, etc. the built-in interface uses.
> 
> Reasonable. Considering it is mounted to the motherboard I guess I 
> should look at the motherboard documentation.
> 
> *later*
> 
> Having done that I conclude it is a Realtek 8201BL chip. Wouldn't there 
> be another rl interface, then?

No, that is only the PHY part of the interface, and should should show up as
rlphy0, attached to miibus0, which in turn will be attached to actual
interface.

> 
> >>The PCI card I have is identified during boot as rl0, and the built-in
> >>as "rlphy0: <RealTek internal media interface> on miibus0".
> >
> >rlphy0 is just part of the rl0 interface, and not a separate interface by
> >itself.  Reading the miibus(4) manpage might be useful.
> 
> There is a miibus manpage? OK, I'll do that.
> 
> >If it does not show up in the dmesg(8) output it might not be supported, or
> >the correct driver might not be included in the kernel.
> 
> I can't find anything looking like a network interface in the dmesg 
> output. I guess I could always post all of it here.
> 
> I don't understand how to include the driver if I don't know what I 
> need, but since it's supposed to be a Realtek controller I should be set 
> already, yes?
> 
> >What does 'pciconf -lv' say?
> 
> Quite a lot. The parts that looks relevant is this:
> rl0 at pci0:11:0:  class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 
> hdr=0x00
>     vendor   = 'Realtek Semiconductor'
>     device   = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
>     class    = network
>     subclass = ethernet
> 
> and
> 
> none2 at pci0:18:0:        class=0x020000 card=0x80ed1043 chip=0x30651106 
> rev=0x78 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
>     class    = network
>     subclass = ethernet
> 
> But none2 doesn't sound much like the name of a network device. I guess 
> it does confirm that there exists such a thing. It says nothing about 
> Realtek, like the docs, though.

That one certainly looks like a network card, and should show up as vr0, if
you have the vr(4) driver loaded.

> 
> All of the output follows:
> bash-2.05b$ pciconf -lv
> hostb0 at pci0:0:0:        class=0x060000 card=0x807f1043 chip=0x31891106 
> rev=0x80 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT8377 Apollo KT400/A/600 CPU to PCI Bridge'
>     class    = bridge
>     subclass = HOST-PCI
> pcib1 at pci0:1:0: class=0x060400 card=0x00000080 chip=0xb1981106 rev=0x00 
> hdr=0x01
>     vendor   = 'VIA Technologies Inc'
>     device   = 'ProSavageDDR P4X600 CPU to AGP Bridge'
>     class    = bridge
>     subclass = PCI-PCI
> rl0 at pci0:11:0:  class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 
> hdr=0x00
>     vendor   = 'Realtek Semiconductor'
>     device   = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
>     class    = network
>     subclass = ethernet
> atapci0 at pci0:15:0:      class=0x010400 card=0x80ed1043 chip=0x31491106 
> rev=0x80 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = '??? SATA RAID Controller'
>     class    = mass storage
>     subclass = RAID
> atapci1 at pci0:15:1:      class=0x01018a card=0x80ed1043 chip=0x05711106 
> rev=0x06 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
>     class    = mass storage
>     subclass = ATA
> uhci0 at pci0:16:0:        class=0x0c0300 card=0x80ed1043 chip=0x30381106 
> rev=0x81 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>     class    = serial bus
>     subclass = USB
> uhci1 at pci0:16:1:        class=0x0c0300 card=0x80ed1043 chip=0x30381106 
> rev=0x81 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>     class    = serial bus
>     subclass = USB
> uhci2 at pci0:16:2:        class=0x0c0300 card=0x80ed1043 chip=0x30381106 
> rev=0x81 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>     class    = serial bus
>     subclass = USB
> uhci3 at pci0:16:3:        class=0x0c0300 card=0x80ed1043 chip=0x30381106 
> rev=0x81 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>     class    = serial bus
>     subclass = USB
> none0 at pci0:16:4:        class=0x0c0320 card=0x80ed1043 chip=0x31041106 
> rev=0x86 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT6202 USB 2.0 Enhanced Host Controller'
>     class    = serial bus
>     subclass = USB
> isab0 at pci0:17:0:        class=0x060100 card=0x80ed1043 chip=0x32271106 
> rev=0x00 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT8237 PCI-to-ISA Bridge'
>     class    = bridge
>     subclass = PCI-ISA
> none1 at pci0:17:5:        class=0x040100 card=0x810d1043 chip=0x30591106 
> rev=0x60 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
>     class    = multimedia
>     subclass = audio
> none2 at pci0:18:0:        class=0x020000 card=0x80ed1043 chip=0x30651106 
> rev=0x78 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
>     class    = network
>     subclass = ethernet
> pcm0 at pci0:19:0: class=0x040100 card=0x80271102 chip=0x00021102 rev=0x08 
> hdr=0x00
>     vendor   = 'Creative Labs'
>     device   = 'EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from 
> DELL - CT4780'
>     class    = multimedia
>     subclass = audio
> emujoy0 at pci0:19:1:      class=0x098000 card=0x00201102 chip=0x70021102 
> rev=0x08 hdr=0x00
>     vendor   = 'Creative Labs'
>     device   = 'EMU10000 Game Port'
>     class    = input device
> nvidia0 at pci1:0:0:       class=0x030000 card=0x289e107d chip=0x025310de 
> rev=0xa3 hdr=0x00
>     vendor   = 'NVIDIA Corporation'
>     device   = 'GeForce4 Ti 4200 [NV25.4]'
>     class    = display
>     subclass = VGA
> 
> /Andreas



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list