【求助】Ubuntu16.04LTS无法联网问题

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
小班驾到
帖子: 2
注册时间: 2018-07-05 10:03
系统: ubuntu16.04
送出感谢: 0
接收感谢: 0

【求助】Ubuntu16.04LTS无法联网问题

#1

帖子 小班驾到 » 2018-07-05 10:41

本人ubuntu小白,今天由于提示/boot空间不足,所以使用了
sudo apt autoremove
,自动删除了部分kernel模块,但是重启之后没有办法连接无线网络了,remove之前是可以正常上网的。望大神帮忙解决一下。
先把一个最奇怪的输出贴出来:
ifconfig的输出:

代码: 全选

enp5s0    Link encap:以太网  硬件地址 28:d2:44:22:b7:62  
          UP BROADCAST MULTICAST  MTU:1500  跃点数:1
          接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
          发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:1000 
          接收字节:0 (0.0 B)  发送字节:0 (0.0 B)

lo        Link encap:本地环回  
          inet 地址:127.0.0.1  掩码:255.0.0.0
          inet6 地址: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  跃点数:1
          接收数据包:814 错误:0 丢弃:0 过载:0 帧数:0
          发送数据包:814 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:1000 
          接收字节:66284 (66.2 KB)  发送字节:66284 (66.2 KB)

lxcbr0    Link encap:以太网  硬件地址 00:16:3e:00:00:00  
          inet 地址:10.0.3.1  广播:0.0.0.0  掩码:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  跃点数:1
          接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
          发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:1000 
          接收字节:0 (0.0 B)  发送字节:0 (0.0 B)
我在网上查找了一些资料,那些命令的输出贴在下面
小班驾到
帖子: 2
注册时间: 2018-07-05 10:03
系统: ubuntu16.04
送出感谢: 0
接收感谢: 0

Re: 【求助】Ubuntu16.04LTS无法联网问题

#2

帖子 小班驾到 » 2018-07-05 11:14

vim /var/log/apt/history.log的输出:

代码: 全选

  2 Start-Date: 2018-07-04  06:15:28
  3 Commandline: /usr/bin/unattended-upgrade
  4 Install: linux-headers-4.4.0-130:amd64 (4.4.0-130.156, automatic), linux-image-extra-4.4.0-130-generic:amd64 (4.4.0-130.156, automatic), linux-headers-4.4.0-130-gene
  5 Upgrade: libsoup-gnome2.4-1:amd64 (2.52.2-1ubuntu0.2, 2.52.2-1ubuntu0.3), linux-headers-generic:amd64 (4.4.0.128.134, 4.4.0.130.136), linux-libc-dev:amd64 (4.4.0-128
  6 End-Date: 2018-07-04  06:18:01
  7 
  8 Start-Date: 2018-07-05  06:53:20
  9 Commandline: /usr/bin/unattended-upgrade
 10 Upgrade: libarchive-zip-perl:amd64 (1.56-2, 1.56-2ubuntu0.1)
 11 End-Date: 2018-07-05  06:53:25
 12 
 13 Start-Date: 2018-07-05  09:10:15
 14 Commandline: apt autoremove
 15 Requested-By: xxx (1000)
 16 Remove: linux-headers-4.4.0-128:amd64 (4.4.0-128.154), linux-headers-4.4.0-128-generic:amd64 (4.4.0-128.154), linux-image-extra-4.13.0-36-generic:amd64 (4.13.0-36.40
 17 End-Date: 2018-07-05  09:11:21
 18 
 19 Start-Date: 2018-07-05  09:19:47
 20 Commandline: aptdaemon role='role-commit-packages' sender=':1.91'
 21 Remove: bcmwl-kernel-source:amd64 (6.30.223.271+bdcom-0ubuntu1~1.2)
 22 End-Date: 2018-07-05  09:21:10
 23 
 24 Start-Date: 2018-07-05  09:27:40
 25 Commandline: aptdaemon role='role-commit-packages' sender=':1.90'
 26 Install: bcmwl-kernel-source:amd64 (6.30.223.271+bdcom-0ubuntu1~1.2)
 27 End-Date: 2018-07-05  09:28:28
sudo lspci -knn的输出:

代码: 全选

00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
	Subsystem: Lenovo 3rd Gen Core processor DRAM Controller [17aa:5018]
	Kernel driver in use: ivb_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
	Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:5018]
	Kernel driver in use: i915
	Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
	Subsystem: Lenovo 7 Series/C210 Series Chipset Family USB xHCI Host Controller [17aa:5018]
	Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
	Subsystem: Lenovo 7 Series/C210 Series Chipset Family MEI Controller [17aa:5018]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
	Subsystem: Lenovo 7 Series/C210 Series Chipset Family USB Enhanced Host Controller [17aa:5018]
	Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
	Subsystem: Lenovo 7 Series/C210 Series Chipset Family High Definition Audio Controller [17aa:5018]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
	Subsystem: Lenovo 7 Series/C210 Series Chipset Family USB Enhanced Host Controller [17aa:5018]
	Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM77 Express Chipset LPC Controller [8086:1e57] (rev 04)
	Subsystem: Lenovo HM77 Express Chipset LPC Controller [17aa:5018]
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
	Subsystem: Lenovo 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [17aa:5018]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
	Subsystem: Lenovo 7 Series/C210 Series Chipset Family SMBus Controller [17aa:5018]
	Kernel modules: i2c_i801
01:00.0 3D controller [0302]: NVIDIA Corporation GK208M [GeForce GT 740M] [10de:1292] (rev a1)
	Subsystem: Lenovo GK208M [GeForce GT 740M] [17aa:5019]
	Kernel driver in use: nouveau
	Kernel modules: nvidiafb, nouveau
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)
	Subsystem: Lenovo RTS5229 PCI Express Card Reader [17aa:5018]
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci
04:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Lenovo BCM43142 802.11b/g/n [17aa:0611]
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)
	Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:5018]
	Kernel driver in use: r8169
	Kernel modules: r8169
sudo lshw -numeric -class network 的输出:

代码: 全选

*-network UNCLAIMED     
       description: Network controller
       product: BCM43142 802.11b/g/n [14E4:4365]
       vendor: Broadcom Corporation [14E4]
       physical id: 0
       bus info: pci@0000:04:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:e3500000-e3507fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
       vendor: Realtek Semiconductor Co., Ltd. [10EC]
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: enp5s0
       version: 07
       serial: 28:d2:44:22:b7:62
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:19 ioport:2000(size=256) memory:e2404000-e2404fff memory:e2400000-e2403fff
dpkg-query -W -f '${binary:Package}\n' | grep -P '^linux'的输出:

代码: 全选

linux-base
linux-firmware
linux-generic
linux-generic-hwe-16.04
linux-headers-4.13.0-45
linux-headers-4.13.0-45-generic
linux-headers-4.15.0-24
linux-headers-4.15.0-24-generic
linux-headers-4.4.0-130
linux-headers-4.4.0-130-generic
linux-headers-generic
linux-headers-generic-hwe-16.04
linux-image-4.13.0-36-generic
linux-image-4.13.0-45-generic
linux-image-4.15.0-24-generic
linux-image-4.4.0-128-generic
linux-image-4.4.0-130-generic
linux-image-extra-4.13.0-36-generic
linux-image-extra-4.13.0-45-generic
linux-image-extra-4.4.0-128-generic
linux-image-extra-4.4.0-130-generic
linux-image-generic
linux-image-generic-hwe-16.04
linux-libc-dev:amd64
linux-modules-4.15.0-24-generic
linux-modules-extra-4.15.0-24-generic
linux-sound-base
uname -a的输出

代码: 全选

Linux qiujiawei-ThinkPad 4.15.0-24-generic #26~16.04.1-Ubuntu SMP Fri Jun 15 14:35:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
回复

回到 “网卡问题以及网络和拨号”