Add fourth interface



  • Hello all.
    I'm quite new to pfsense and BSDs too, I'm having the following problem:

    I had my pfsense running with 3 interfaces: wan, lan, wi-fi. I'd like to add another one. I added the fourth interface, a realtek 8139 chipset based. But when I boot up the system I can't find it to assign. I already have a realtek (rl0) assined to lan. But the new one seems not to appear.
    I took a look at dmesg but I couldn't find something like rl1… What could I check?

    Thanks in advances,
    Matías



  • Is the new interface a PCI or Cardbus device?

    Please provide the output of the shell command pciconf -l[/i which will list all the PCI and Cardus devices visible on the system.



  • Thanks for your answer. The device is pci.
    This is the output of pciconf -l

    
    # pciconf -l
    hostb0@pci0:0:0:0:      class=0x060000 card=0x25608086 chip=0x25608086 rev=0x03 hdr=0x00
    pcib1@pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0x25618086 rev=0x03 hdr=0x01
    uhci0@pci0:0:29:0:      class=0x0c0300 card=0x53568086 chip=0x24c28086 rev=0x02 hdr=0x00
    uhci1@pci0:0:29:1:      class=0x0c0300 card=0x53568086 chip=0x24c48086 rev=0x02 hdr=0x00
    uhci2@pci0:0:29:2:      class=0x0c0300 card=0x53568086 chip=0x24c78086 rev=0x02 hdr=0x00
    ehci0@pci0:0:29:7:      class=0x0c0320 card=0x53568086 chip=0x24cd8086 rev=0x02 hdr=0x00
    pcib2@pci0:0:30:0:      class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x82 hdr=0x01
    isab0@pci0:0:31:0:      class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x02 hdr=0x00
    atapci0@pci0:0:31:1:    class=0x01018a card=0x53568086 chip=0x24cb8086 rev=0x02 hdr=0x00
    none0@pci0:0:31:3:      class=0x0c0500 card=0x53568086 chip=0x24c38086 rev=0x02 hdr=0x00
    none1@pci0:0:31:5:      class=0x040100 card=0x01068086 chip=0x24c58086 rev=0x02 hdr=0x00
    vgapci0@pci0:1:0:0:     class=0x030000 card=0x00000000 chip=0x002d10de rev=0x15 hdr=0x00
    none2@pci0:2:1:0:       class=0x020000 card=0x00000000 chip=0x81391904 rev=0x01 hdr=0x00
    dc0@pci0:2:2:0: class=0x020000 card=0x434e4554 chip=0x09851317 rev=0x11 hdr=0x00
    dc1@pci0:2:3:0: class=0x020000 card=0x434e4554 chip=0x09851317 rev=0x11 hdr=0x00
    rl0@pci0:2:4:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
    #
    
    

    It seems the new card is not beeing detected? As long as I can see just the three already installed (dc0, dc1, rl0), is that right?
    Should I try with another card, from another vendor? Or I'd better check for some resource (irq, I/O add) conflict?

    Regards,
    Matías



  • It seems the new card is not beeing detected? As long as I can see just the three already installed (dc0, dc1, rl0), is that right?
    Should I try with another card, from another vendor? Or I'd better check for some resource (irq, I/O add) conflict?

    Either no driver recognises it OR some error is detected when the driver is attempting to attach to the card. Its probably easier to try another card but with a different type of chipset.

    pcifconf reports

    none2@pci0:2:1:0:      class=0x020000 card=0x00000000 chip=0x81391904 rev=0x01 hdr=0x00

    The chip number reported here contains 16 bits of vendor ID (in this case 1904) and 16 bits of vendor's device ID (in this case 8139). The Vendor ID is a unique number assigned by the PCI SIG and the device ID is a number assigned by the vendor to identify the particular device. The current pci.ids file in Ubuntu 10.04 says vendor ID 1904 is Hangzhou Silan Microelectronics Co., Ltd. and vendor 1904's device id 8139 is RTL8139D [Realtek] PCI 10/100BaseTX ethernet adaptor.

    In contrast, the device ID of rl0 is 10ec which pci.ids says is for Realtek Semiconductor Co., Ltd..



  • Thanks a lot for the tips WallabyBob! By the meantime I learned something about pciconf which is similar to lspci in Linux.
    I understood. I'll try with some others cards, from other vendors.

    Regards,
    Matías


Locked