我有 3 个以太网接口和一个 WiFi 卡,之前一切都运行良好,直到有一天当我打开它时,它无法调出网络接口。当我运行 ifconfig -a 时,出现的只是我的环回和桥接。上次关闭之前我没有更新任何软件。所有推荐的检查都只出现了桥接和环回,我想知道如何解决这个问题。我正在使用 Ubuntu 16.04.4 服务器。
cat /etc/network/interfaces 输出以下内容:
# Loopback
auto lo
iface lo inet loopback
# WAN interface
auto enp10s0
iface enp10s0 inet dhcp
#Bridge (LAN)
auto br0
iface br0 inet static
address 10.1.10.1
network 10.1.10.0
netmask 255.255.255.0
broadcast 10.1.10.255
bridge_ports enp8s0
post-up /usr/sbin/hostapd \
-P /var/run/hostapd.$IFACE.pid \
-B /etc/hostapd/hostapd-simple.conf
pre-down cat /var/run/hostapd.$IFACE.pid | xargs kill
lshw -C 网络的输出:
*-network UNCLAIMED
description: Ethernet controller
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
version: 15
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list
configuration: latency=0
resources: ioport:c000(size=256) memory:f7304000-f7304fff memory:f7300000-f7303fff
*-network UNCLAIMED
description: Ethernet controller
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:09:00.0
version: 15
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list
configuration: latency=0
resources: ioport:b000(size=256) memory:f7204000-f7204fff memory:f7200000-f7203fff
*-network UNCLAIMED
description: Ethernet controller
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:0a:00.0
version: 0c
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list
configuration: latency=0
resources: ioport:d000(size=256) memory:f7400000-f7400fff memory:f2100000-f2103fff
*-network UNCLAIMED
description: Network controller
product: RTL8192EE PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:0b:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:f000(size=256) memory:f7b00000-f7b03fff