我从头开始同步完整的比特币区块链,并且我的计算机在过去一周左右的时间里日夜运行,以赶上 9 年零 18 周的区块。
当我在 15 周内或完成同步的 90.1%(下载 168 GB)时,我发现我的无线网卡已经坏了。
ifconfig
我正在运行 Ubuntu 17.10,这是几周前的输出:
snerx@snerx:~$ ifconfig
enp2s0 Link encap:Ethernet HWaddr 94:57:a5:d6:e5:cb
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:3705 errors:0 dropped:0 overruns:0 frame:0
TX packets:3705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:283781 (283.7 KB) TX bytes:283781 (283.7 KB)
wlp3s0 Link encap:Ethernet HWaddr 60:6d:c7:c8:95:ff
inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::6502:ea3a:72:87d7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19978 errors:0 dropped:0 overruns:0 frame:6440
TX packets:15558 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20485773 (20.4 MB) TX bytes:2341162 (2.3 MB)
Interrupt:19
这是 dropout 之后的输出:
snerx@snerx:~$ ifconfig
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 (Local Loopback)
RX packets 3796 bytes 229996 (229.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3796 bytes 229996 (229.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
snerx@snerx:~$ ifconfig enp2s0
enp2s0: error fetching interface information: Device not found
snerx@snerx:~$ ifconfig wlp3s0
wlp3s0: error fetching interface information: Device not found
snerx@snerx:~$
我的想法对吗?网卡已损坏,需要更换?我正在使用 HP 20-e022a。
根据@chili555的建议,我运行了Wild Man和Krytarik编写的wireless-info脚本。输出如下:
########## wireless info START ##########
Report from: 23 May 2018 10:53 AEST +1000
Booted last: 23 May 2018 00:00 AEST +1000
Script from: 10 Jan 2018 20:04 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
##### kernel ############################
Linux 4.13.0-43-generic #48-Ubuntu SMP Wed May 16 12:18:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash
##### desktop ###########################
/usr/share/xsessions/plasma
##### lspci #############################
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [103c:2b5a]
03:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:804a]
Kernel modules: wl
##### lsusb #############################
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0a5c:216d Broadcom Corp.
Bus 001 Device 008: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 006: ID 05c8:0229 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 013: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 007: ID 0461:4d0f Primax Electronics, Ltd HP Optical Mouse
Bus 001 Device 004: ID 045e:07b6 Microsoft Corp.
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
##### lsmod #############################
##### interfaces ########################
[/etc/network/interfaces]
auto lo
iface lo inet loopback
##### ifconfig ##########################
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 (Local Loopback)
RX packets 25324 bytes 1522196 (1.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25324 bytes 1522196 (1.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
##### iwconfig ##########################
lo no wireless extensions.
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
##### resolv.conf #######################
nameserver 127.0.0.53
##### network managers ##################
Installed:
NetworkManager
Running:
root 810 1 0 08:16 ? 00:00:02 /usr/sbin/NetworkManager --no-daemon
##### NetworkManager info ###############
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=false
##### NetworkManager.conf ###############
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
##### NetworkManager profiles ###########
[[/etc/NetworkManager/system-connections/Puxtor-primary]] (600 root)
[connection] id=Puxtor-primary | type=wifi | permissions=user:snerx:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=Puxtor-primary
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/OPTUSVD388A730 1]] (600 root)
[connection] id=OPTUSVD388A730 1 | type=wifi | permissions=
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=OPTUSVD388A730
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/holodeck]] (600 root)
[connection] id=holodeck | type=wifi | permissions=
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=holodeck
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/holodeck-bb8a128e-2899-48ec-a7b6-053ddd8e69c8]] (600 root)
[connection] id=holodeck | type=wifi | permissions=
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=holodeck
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/OPTUSVD388A730]] (600 root)
[connection] id=OPTUSVD388A730 | type=wifi | permissions=
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=OPTUSVD388A730
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/iiNetB29095]] (600 root)
[connection] id=iiNetB29095 | type=wifi | permissions=
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=iiNetB29095
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/WiFi-4VCH]] (600 root)
[connection] id=WiFi-4VCH | type=wifi | permissions=
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=WiFi-4VCH
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/TPG-*******]] (600 root)
[connection] id=TPG-******* | type=wifi | permissions=user:snerx:;
[wifi] bssid=<MAC address> | mac-address=60:6D:C7:C8:95:FF | mac-address-blacklist= | ssid=TPG-*******
[ipv4] method=auto
[ipv6] method=ignore
[[/etc/NetworkManager/system-connections/Fon WiFi]] (600 root)
[connection] id=Fon WiFi | type=wifi | permissions=
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=Fon WiFi
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/Telstra Air]] (600 root)
[connection] id=Telstra Air | type=wifi | permissions=
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=Telstra Air
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/Telstra7301E3]] (600 root)
[connection] id=Telstra7301E3 | type=wifi | permissions=
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=Telstra7301E3
[ipv4] method=auto
[ipv6] method=auto
##### Netplan config ####################
##### iw reg get ########################
nl80211 not found.
##### iwlist channels ###################
lo no frequency information.
##### iwlist scan #######################
lo Interface doesn't support scanning.
##### module infos ######################
##### module parameters #################
##### /etc/modules ######################
##### modprobe options ##################
[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/iwlwifi.conf]
options iwlwifi 11n_disable=8
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
[/etc/modprobe.d/network_drivers.conf]
install rt2800usb /sbin/modprobe --ignore-install rt2800usb $CMDLINE_OPTS; /bin/echo "2001 3c25" > /sys/bus/usb/drivers/rt2800usb/new_id
##### rc.local ##########################
grep: /etc/rc.local: No such file or directory
##### pm-utils ##########################
##### udev rules ########################
##### dmesg #############################
########## wireless info END ############
这对我来说没有太大意义,但更聪明的人也许能够告诉我问题出在哪里......
我运行了以下命令但什么也没得到:
snerx@snerx:~/Desktop/wireless-info$ sudo modprobe wl && dmesg | grep wl
[sudo] password for snerx:
modprobe: ERROR: could not insert 'wl': Unknown symbol in module, or unknown parameter (see dmesg)
snerx@snerx:~/Desktop/wireless-info$
我还想补充一点:
snerx@snerx:~$ sudo lshw -C network
*-network UNCLAIMED
description: Ethernet controller
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list
configuration: latency=0
resources: ioport:e000(size=256) memory:81300000-81300fff memory:a0000000-a0003fff
*-network UNCLAIMED
description: Network controller
product: BCM43142 802.11b/g/n
vendor: Broadcom Limited
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:81200000-81207fff
snerx@snerx:~$
和这个:
snerx@snerx:~$ lspci -nn | grep -i network
03:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
snerx@snerx:~$
我认为这可能是相关的:
snerx@snerx:~$ sudo iw reg get
n180211 not found.
snerx@snerx:~$
答案1
我建议您重新安装有问题的 4.13.0-43 内核和相关部件。从终端:
sudo apt install --reinstall linux-image-4.13.0-43-generic
sudo apt install --reinstall linux-headers-4.13.0-43-generic
重启。
编辑:接下来,重新安装驱动程序。启动到可以访问互联网的 x.41 后,打开终端并执行以下操作:
cd ~/Desktop
wget http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_amd64.deb
现在重新启动进入 x.43 并执行以下操作:
cd ~/Desktop
sudo dpkg -i bcmwl*.deb
有错误吗?如果没有,请加载驱动程序:
sudo modprobe wl
有改善吗?
ThorF 于 2018 年 5 月 30 日下午 6:04 撰写
重新安装后,出现了下面提到的错误信息(见输出)
snerx@snerx:~/Desktop$ sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_amd64.d
eb
[sudo] password for snerx:
(Reading database ... 345297 files and directories currently installed.)
Preparing to unpack bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_amd64.deb ...
Removing all DKMS Modules
Done.
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu3) over (6.30.223.271+bdcom-0ubunt
u3) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu3) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
Building for 4.13.0-43-generic
Building for architecture x86_64
Building initial module for 4.13.0-43-generic
Done.
wl:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.13.0-43-generic/updates/dkms/
depmod...
DKMS: install completed.
modprobe: ERROR: could not insert 'wl': Unknown symbol in module, or unknown parameter (see
dmesg)
update-initramfs: deferring update (trigger activated)
Processing triggers for shim-signed (1.33.1~17.10.1+13-0ubuntu2) ...
Secure Boot not enabled on this system.
Processing triggers for initramfs-tools (0.125ubuntu12.1) ...
update-initramfs: Generating /boot/initrd.img-4.13.0-43-generic
snerx@snerx:~/Desktop$