网络 ifconfig eth0: 获取接口信息的错误: 没有找到设备

分享于 

2分钟阅读

ubuntu

  繁體

问题

我刚接触Ubuntu,在系统中WIFI工作正常,但是网卡不能工作,


ifconfig -a



lo Link encap:Local Loopback 


 inet addr:127.0.0.1 Mask:255.0.0.0


 inet6 addr: ::1/128 Scope:Host


 UP LOOPBACK RUNNING MTU:65536 Metric:1


 RX packets:13703 errors:0 dropped:0 overruns:0 frame:0


 TX packets:13703 errors:0 dropped:0 overruns:0 carrier:0


 collisions:0 txqueuelen:0 


 RX bytes:1263769 (1.2 MB) TX bytes:1263769 (1.2 MB)



wlan0 Link encap:Ethernet HWaddr 0c:60:76:65:d7:c2 


 inet addr:10.67.110.56 Bcast:10.67.110.255 Mask:255.255.255.0


 inet6 addr: fe80::e60:76ff:fe65:d7c2/64 Scope:Link


 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1


 RX packets:418816 errors:0 dropped:0 overruns:0 frame:464023


 TX packets:367793 errors:0 dropped:0 overruns:0 carrier:0


 collisions:0 txqueuelen:1000 


 RX bytes:544360588 (544.3 MB) TX bytes:32354669 (32.3 MB)


 Interrupt:17 Base address:0xc000 



当我试图获取eth0时,得到


ifconfig etho



etho: error fetching interface information: Device not found" 



lspci | grep -i eth


答案1

ifconfig -a不列出eth0,意味着没有发现网卡,

  • lspci - 是否列出了网卡?
  • 重新启动,进入bios设置,检查内置网卡是否已启用


INT  接口  network  INF  info  informat  
相关文章