Hello,
This is my first post here, so thanks for your patience.
I have two network PCI cards (named
The kernel seems to load it as seen in dmesg:
And it also shows as pci device:
But it does not appear in ifconfig:
I've been reading about how network works in FreeBSD, and I've seen in the docs (11.5. Setting Up Network Interface Cards) that devices are named according to the drivers, but I can't find drivers such as
Any clue or reference about how can I get my interface visible again? I'd be more interesting about learning how this driver thing works than actually fixing it, thoug it'd be nice too haha.
Thanks!
This is my first post here, so thanks for your patience.
I have two network PCI cards (named
re0
and rl0
), and some days ago re0
just disappeared after a reboot. I've been searching deeply but I'm just stuck with this.The kernel seems to load it as seen in dmesg:
Code:
# dmesg | grep re0
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfdfff000-0xfdffffff,0xfdff8000-0xfdffbfff irq 16 at device 0.0 on pci3
re0: Using 1 MSI-X message
re0: Chip rev. 0x2c000000
re0: MAC rev. 0x00200000
miibus1: <MII bus> on re0
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 90:fb:a6:e2:23:29
re0: link state changed to DOWN
And it also shows as pci device:
Code:
# pciconf -lv
[...]
rl0@pci0:2:5:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL-8100/8101L/8139 PCI Fast Ethernet Adapter'
class = network
subclass = ethernet
re0@pci0:3:0:0: class=0x020000 card=0x80001025 chip=0x816810ec rev=0x06 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
But it does not appear in ifconfig:
Code:
# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2008<VLAN_MTU,WOL_MAGIC>
ether 00:e0:4c:41:0b:13
hwaddr 00:e0:4c:41:0b:13
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:9f:d6:5f:89:00
nd6 options=1<PERFORMNUD>
groups: bridge
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
I've been reading about how network works in FreeBSD, and I've seen in the docs (11.5. Setting Up Network Interface Cards) that devices are named according to the drivers, but I can't find drivers such as
re
or rl
anywhere. Nothing like that shows in kldstat
, and I can't find any resembling name in /boot/kernel.Any clue or reference about how can I get my interface visible again? I'd be more interesting about learning how this driver thing works than actually fixing it, thoug it'd be nice too haha.
Thanks!