我使用的是 Xubuntu 18.04,我的網路卡有問題。
當我啟動電腦時,我無法使用我的網卡:它沒有出現在ifconfig
.但是當我軟重啟時,一切正常。
在 Xubuntu 16.04 中我沒有任何問題。
我該如何解決這種奇怪的行為?
這是我的lspci
輸出:
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
我的lshw
網路故障時:
*-network UNCLAIMED
description: Ethernet controller
product: 82579V Gigabit Network Connection
*-network:0
description: Ethernet interface
capabilities: ethernet physical
*-network:1 DISABLED
description: Ethernet interface
capabilities: ethernet physical
任何想法?謝謝你!
2019-06-14 15.20 編輯:
我的lshw
網路工作時:
*-network
description: Ethernet interface
product: 82579V Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 04
serial: 00:22:4d:7f:db:ca
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-5 ip=10.19.85.167 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:28 memory:f7c00000-f7c1ffff memory:f7c39000-f7c39fff ioport:f080(size=32)
*-network:0
description: Ethernet interface
physical id: 1
logical name: virbr0
serial: 52:54:00:5a:c2:c1
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.122.1 link=no multicast=yes
*-network:1 DISABLED
description: Ethernet interface
physical id: 2
logical name: virbr0-nic
serial: 52:54:00:5a:c2:c1
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
/etc/network/interfaces
很簡單:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
這裡的輸出cat /etc/netplan/*.yaml
:
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
答案1
Ubuntu 18.04中有一個新的網路設定工具netplan。 Netplan 有時會出現一些時間問題。
嘗試登入並輸入
sudo netplan apply
並檢查 ifconfig 或 ip 位址。
如果您的網路現在已配置,那麼您就會遇到這個計時問題。如果是這種情況,那麼您可能應該閱讀此內容 Netplan 不在啟動時應用