我有一个Inspiron 15游戏7567与Lubuntu和wifi停止工作,而仍然连接到一个wifi网络。我试图更新内核,但没有帮助。
尽管连接仍被连接到路由器,但该连接不传输任何信息。路由器支持其他设备/操作系统,没有问题(安卓、iOS、Windows等)。我曾经用同样的Lubuntu拥有不同的硬件,而我没有这个问题。
当我遇到问题时,ping的行为是:
# Trying to ping google.com to see if there still connection.
From 192.168.1.34 icmp_seq=8413 Destination Host Unreachable
From 192.168.1.34 icmp_seq=8414 Destination Host Unreachable
From 192.168.1.34 icmp_seq=8415 Destination Host Unreachable这个问题可以通过以下方法临时解决:
nmcli radio wifi off ; sleep 5s ; nmcli radio wifi on有时连接完全失去了,我必须重新启动计算机,以使它再次工作。
sudo uname -a
echo "----------"
sudo lsb_release -a
echo "----------"
sudo sudo lshw | grep product
echo "----------"
sudo lspci -nnk | grep -i net给予:
Linux monteironet 4.15.18-041518-generic #201804190330 SMP Thu Apr 19 07:34:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
----------
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
----------
product: Inspiron 15 7000 Gaming (0798)
product: 0KD43Y
product: TMA81GS6AFR8N-UHSC
product: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
product: Intel Corporation
product: Sky Lake PCIe Controller (x16)
product: NVIDIA Corporation
product: Intel Corporation
product: Intel Corporation
product: Sunrise Point-H USB 3.0 xHCI Controller
product: xHCI Host Controller
product: Integrated Webcam
product: xHCI Host Controller
product: Sunrise Point-H Thermal subsystem
product: Sunrise Point-H LPSS I2C Controller #0
product: Sunrise Point-H LPSS I2C Controller #1
product: Sunrise Point-H CSME HECI #1
product: Sunrise Point-H SATA Controller [AHCI mode]
product: Sunrise Point-H PCI Express Root Port #5
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
product: Sunrise Point-H PCI Express Root Port #6
product: QCA6174 802.11ac Wireless Network Adapter
product: Sunrise Point-H LPC Controller
product: Sunrise Point-H PMC
product: Intel Corporation
product: Sunrise Point-H SMBus
product: TOSHIBA MQ02ABD1
product: DELL 71JF452
----------
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1028:0798]
03:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
Subsystem: Dell QCA6174 802.11ac Wireless Network Adapter [1028:0310]8GB (1x8GB) 2400MHz DDR4 Memory, Brazil
1TB 5400 rpm Hybrid Hard Drive with 8GB Cache
NVIDIA(R) GeForce(R) GTX 1050 with 4GB GDDR5 graphics memory
802.11ac, dual band, 2.4 5 GHz, 2x2
Internal Keyboard
Ubuntu Linux 16.04
Dell Limited Hardware Warranty Initial Year
7th Generation Intel(R) Core(TM) i5-7300HQ Quad Core (6MB Cache, up to 3.5 GHz)
MOD,LCD,N-TCH,IPS,BLK,7567,BCC
74 WHr, 6-Cell Battery (Integrated)
Ubuntu System Management Software
Fixed Hardware Configuration
Safety/Environment and Regulatory Guide (English/Brazilian Portuguese)
Qualcomm Wireless QCA61x4A 2x2 Label BCC
Brazil Power Cord
802.11ac + Bluetooth 4.1, Dual Band 2.4&5 GHz, 2x2
Mail In Service after Remote Diagnosis, 1 Year
Back Cover
Shipping Material BCC
US Order
Dell.com Order
Dell.com Order
No Option Included
Placemat Documentation
Energy Star Label
Intel Core i5 Processor Kabylake Label
Regulatory Label, BCC
130W AC Adapter
None Required
None Required
None Required
None Required
Information Only4.8.5和4.18.0。但这并没有解决问题。非常感谢事先,我可以提供进一步的信息,如果需要。
发布于 2018-08-29 01:37:39
编辑:https://askubuntu.com/a/978143/438723也不能解决这个问题。
编辑:我重新打开这个问题,因为下面的第1节和第2节都没有解决这个问题(尽管可以说有一些缓解)。
稍微修改一下就解决了我的问题。即:
备份现有文件夹:/lib/固件/ath10k/lib 9377
tar -cvf ~/lib_firmware_ath10k_QCA9377.tar /lib/firmware/ath10k/QCA9377更新系统并安装git
sudo apt-get update
sudo apt-get install git克隆二进制文件
git clone --depth 1 https://github.com/kvalo/ath10k-firmware.git如果文件夹不存在,则创建它们
sudo mkdir /lib/firmware/ath10k/QCA9377
sudo mkdir /lib/firmware/ath10k/QCA9377/hw1.0
cd ./ath10k-firmware/QCA9377/hw1.0轻微修改:清空目标文件夹
sudo rm -rf /lib/firmware/ath10k/QCA9377/hw1.0/*复制必要的文件
sudo cp * /lib/firmware/ath10k/QCA9377/hw1.0
cd /lib/firmware/ath10k/QCA9377/hw1.0
sudo mv firmware-5.bin_WLAN.TF.1.0-00267-1 firmware-5.bin重启你的系统。
修改是,有一个没有被cp命令覆盖的文件,即使在我第一次尝试修复之后,它也可能导致问题。
截至2018-08-28年,我的文件夹的校验和如下:
sha1sum /lib/firmware/ath10k/QCA9377/hw1.0/*
916b43f870cfa06b26728092c79e3f6d86fa7b33 /lib/firmware/ath10k/QCA9377/hw1.0/board-2.bin
36e5491fc79e0f4d01bb619c35a678e94235ef35 /lib/firmware/ath10k/QCA9377/hw1.0/board.bin
0b76acbcdeb82ce2d814b83b696e12e0d5d22ecb /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
b31b4844577d0c77b955a3934930857b9a04cbbd /lib/firmware/ath10k/QCA9377/hw1.0/notice_ath10k_firmware-5.txt这也有助于:
以下是一个改进的解决办法:
创建文件:
#! /bin/bash
# Halt on error.
# set -e
# Go to execution directory.
cd $(dirname $0)
set -e
test "$USER" != "root"
set +e
total_tries=4
n=0
until [ $n -ge $total_tries ]
do
timeout "$((n+1))s" ping -c 1 www.google.com && n=0
n=$[$n+1]
echo "Current try: ${n} out of ${total_tries}."
sleep 3s
done
# File name: regular_user.sh#! /bin/bash
# Halt on error.
set -e
set +e
# Go to execution directory.
cd $(dirname $0)
export regular_user="$USER"
export DRIVER=ath10k_pci
sudo -E bash -xv ./super_user.sh
# File name: run.sh#! /bin/bash
# Halt on error.
set -e
set +e
# Go to execution directory.
cd $(dirname $0)
set -e
test -n "$regular_user"
test "$regular_user" != "root"
set +e
while true
do
sudo -E -u "$regular_user" -i -H bash -xv "$PWD/regular_user.sh"
# sudo -E -u "$regular_user" -i -H bash ./regular_user.sh
/sbin/modprobe -v -r $DRIVER
/sbin/modprobe -v $DRIVER
m=0
until timeout 2s ping -c 1 www.google.com
do
if [ $m -ge $total_tries ]
then
m=0
/sbin/modprobe -v -r $DRIVER
/sbin/modprobe -v $DRIVER
fi
m=$[$m+1]
sleep 2s
done
done
# File name: super_user.sh然后运行run.sh。
https://askubuntu.com/questions/1068620
复制相似问题