fmv*_*992 5 wireless internet inspiron dell
我有一台带有 Lubuntu 的 Inspiron 15 Gaming 7567,但 wifi 停止工作,但仍连接到 wifi 网络。我尝试更新内核,但没有帮助。
尽管仍连接到路由器,但该连接不传输任何信息。路由器可以毫无问题地支持其他设备/操作系统(Android、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
Run Code Online (Sandbox Code Playgroud)
这可以通过以下方式暂时解决:
nmcli radio wifi off ; sleep 5s ; nmcli radio wifi on
Run Code Online (Sandbox Code Playgroud)
有时连接完全丢失,我必须重新启动计算机才能使其再次工作。
sudo uname -a
echo "----------"
sudo lsb_release -a
echo "----------"
sudo sudo lshw | grep product
echo "----------"
sudo lspci -nnk | grep -i net
Run Code Online (Sandbox Code Playgroud)
给出:
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]
Run Code Online (Sandbox Code Playgroud)
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 Only
Run Code Online (Sandbox Code Playgroud)
安装两个不同的内核:4.8.5
和4.18.0
. 那并没有解决问题。
解决方法:
定义函数(zsh):
function monitor_internet_connection_and_reset
{
while true
do
n=0
until [ $n -ge 3 ]
do
wget -q --spider http://google.com && n=0
n=$[$n+1]
sleep 5s
done
nmcli radio wifi off && sleep 10s && nmcli radio wifi on
sleep 40s
done
}
Run Code Online (Sandbox Code Playgroud)
让它继续运行。
非常感谢,如果需要,我可以提供更多信息。
2019-04-16编辑:https://askubuntu.com/a/978143/438723也没有解决问题
2019-03-29 编辑:我正在重新讨论这个问题,因为以下第 1 节和第 2 节都没有解决问题(尽管可以说有一些缓解措施)。
通过稍微修改解决了我的问题。即:
备份现有文件夹:/lib/firmware/ath10k/QCA9377
tar -cvf ~/lib_firmware_ath10k_QCA9377.tar /lib/firmware/ath10k/QCA9377
Run Code Online (Sandbox Code Playgroud)
更新你的系统并安装 git
sudo apt-get update
sudo apt-get install git
Run Code Online (Sandbox Code Playgroud)
克隆二进制文件
git clone --depth 1 https://github.com/kvalo/ath10k-firmware.git
Run Code Online (Sandbox Code Playgroud)
如果文件夹不存在则创建它们
sudo mkdir /lib/firmware/ath10k/QCA9377
sudo mkdir /lib/firmware/ath10k/QCA9377/hw1.0
cd ./ath10k-firmware/QCA9377/hw1.0
Run Code Online (Sandbox Code Playgroud)
稍作修改:清空目标文件夹
sudo rm -rf /lib/firmware/ath10k/QCA9377/hw1.0/*
Run Code Online (Sandbox Code Playgroud)
复制必要的文件
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
Run Code Online (Sandbox Code Playgroud)
重新启动您的系统。
修改是有一个文件没有被命令覆盖cp
,即使我第一次尝试修复也可能会导致问题。
截至 2018 年 8 月 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
Run Code Online (Sandbox Code Playgroud)
这也有帮助:
以下是改进的解决方法:
创建文件:
#! /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
Run Code Online (Sandbox Code Playgroud)
#! /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
Run Code Online (Sandbox Code Playgroud)
#! /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 Code Online (Sandbox Code Playgroud)
然后跑run.sh
。
归档时间: |
|
查看次数: |
256 次 |
最近记录: |