ubuntu tty 模式下连接有线网络

连接有线网络 

sudo dhclient eth0

如果报错 Cannot find device "eth0"

接下来执行 dmesg | grep eth

 

[    1.915263] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) b8:85:84:9b:c5:e7

[    1.915265] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection

[    1.915509] e1000e 0000:00:1f.6 eth0: MAC: 13, PHY: 12, PBA No: FFFFFF-0FF

[    1.916461] e1000e 0000:00:1f.6 eno1: renamed from eth0

[    9.225997] wmi_bus wmi_bus-PNP0C14:04: WQBC data block query control method not found

发现被rename了 再执行 。sudo dhclient eno1 

执行ifconfig 就发现成功了

 

每天在作死中进步

                          -----后记

 

你可能感兴趣的:(Linux)