V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
zizhoutong
V2EX  ›  Linux

ubuntu 下无法以太网连接, iconfig 以及 lspci 下都无法找到 Ethernet controller。

  •  
  •   zizhoutong · 2019-01-30 23:06:35 +08:00 · 2291 次点击
    这是一个创建于 2128 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如图,ubuntu18.04 的系统

    cowboy@s1mple:~$ ifconfig -a
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (本地环回)
            RX packets 1494  bytes 131087 (131.0 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 1494  bytes 131087 (131.0 KB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    wlp7s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 172.20.10.4  netmask 255.255.255.240  broadcast 172.20.10.15
            inet6 2409:8970:10a1:4fe1:b131:3b84:28ea:5a99  prefixlen 64  scopeid 0x0<global>
            inet6 fe80::71c8:a45:8f55:25f1  prefixlen 64  scopeid 0x20<link>
            inet6 2409:8970:10a1:4fe1:97d:aa16:352a:4a58  prefixlen 64  scopeid 0x0<global>
            ether 30:3a:64:77:82:8d  txqueuelen 1000  (以太网)
            RX packets 11258  bytes 8669651 (8.6 MB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 10096  bytes 2159947 (2.1 MB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    cowboy@s1mple:~$ lspci
    00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
    00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x8 Controller (rev 06)
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
    00:04.0 Signal processing controller: Intel Corporation Device 0c03 (rev 06)
    00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
    00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
    00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
    00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
    00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
    00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
    00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
    00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
    00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
    00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05)
    07:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)
    0a:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)
    

    只能找到 wireless 的,就是没有 ethernet 的,求助求助,该如何是好。

    9 条回复    2019-02-06 15:28:05 +08:00
    ratel
        1
    ratel  
       2019-01-31 09:50:19 +08:00
    世界上最好的解决方式就是恰好不需要解决,换 mac 吧,工友
    julyclyde
        2
    julyclyde  
       2019-01-31 10:05:50 +08:00
    lspci 如果都看不到,那就是没有了
    lspci 看设备,并不需要设备被驱动作为前提
    zizhoutong
        3
    zizhoutong  
    OP
       2019-01-31 22:17:42 +08:00
    @julyclyde omg 我想是不是因为内核的缘故 无法识别。因为我这个机子是四年前的,之前是 win 系统可以有线连接,最近换成 ubuntu 了。
    zizhoutong
        4
    zizhoutong  
    OP
       2019-01-31 22:18:31 +08:00
    @ratel 你知道数据该怎么转移吗朋友。
    ratel
        5
    ratel  
       2019-02-01 09:37:21 +08:00
    @zizhoutong 配置文件,代码用 git 管理啊,其他的文件可以网盘 U 盘呀
    julyclyde
        6
    julyclyde  
       2019-02-01 15:04:45 +08:00
    @zizhoutong 这事跟内核没多大关系。既然能认出总线上其他设备,说明内核对总线的访问是正常的
    henglinli
        7
    henglinli  
       2019-02-02 16:28:08 +08:00
    记得很早之前有个 bug 是:windows 下休眠,linux 下就再也看不到网卡了。bios 里面禁用网卡再启用事实。如果 bios 不支持禁用板载网卡声卡等,记得今后不要买该品牌的产品了。
    zizhoutong
        8
    zizhoutong  
    OP
       2019-02-06 15:27:38 +08:00
    @julyclyde 原来如此,谢谢你
    zizhoutong
        9
    zizhoutong  
    OP
       2019-02-06 15:28:05 +08:00
    @henglinli 该换 mac 了。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1658 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 16:48 · PVG 00:48 · LAX 08:48 · JFK 11:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.