ubuntu 16.04 一直断网

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
vampcheah
帖子: 2
注册时间: 2007-08-07 1:25

ubuntu 16.04 一直断网

#1

帖子 vampcheah » 2017-08-29 13:04

用有线的话,可以正常使用。但是使用无线在2分钟左右就断网了。
有看了网上一些文章说换去 iwlwifi new,但是安装重启之后,开了2分钟就直接完全不能连上。

以下是一些断网时候的资料,请各位大神帮助一下 :Cry
uname -a
Linux francis-Lenovo 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

sudo lshw -numeric -C net
sudo: unable to resolve host francis-Lenovo: Connection timed out
*-network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter [10EC:8821]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 00
serial: c8:3d:d4:a3:e6:99
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.10.0-33-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:333 ioport:4000(size=256) memory:a4200000-a4203fff
*-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:04:00.0
logical name: enp4s0
version: 10
serial: 54:e1:ad:14:82:70
size: 1Gbit/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=full firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:322 ioport:3000(size=256) memory:a4104000-a4104fff memory:a4100000-a4103fff

sudo cat /etc/resolv.conf
sudo: unable to resolve host francis-Lenovo: Connection timed out
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1

sudo ls -l /etc/resolv.conf
sudo: unable to resolve host francis-Lenovo: Connection timed out
lrwxrwxrwx 1 root root 29 Aug 27 15:38 /etc/resolv.conf -> ../run/resolvconf/resolv.conf

sudo cat /etc/NetworkManager/NetworkManager.conf
sudo: unable to resolve host francis-Lenovo: Connection timed out
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false


头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: ubuntu 16.04 一直断网

#2

帖子 vickycq » 2017-08-29 13:10

vampcheah 写了:有看了网上一些文章说换去 iwlwifi new,但是安装重启之后,开了2分钟就直接完全不能连上。 product: RTL8821AE 802.11ac PCIe Wireless Network Adapter [10EC:8821]
您的网卡是 RTL8821AE,与 Intel 网卡驱动 'iwlwifi' 没关系。问题在于驱动质量不佳

参考
https://bugzilla.redhat.com/show_bug.cgi?id=1435793
https://github.com/lwfinger/rtlwifi_new/issues/235

编译这个驱动试试 https://github.com/lwfinger/rtlwifi_new

上文第二个帖子里有人提到的模块参数也试一下
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
vampcheah
帖子: 2
注册时间: 2007-08-07 1:25

Re: ubuntu 16.04 一直断网

#3

帖子 vampcheah » 2017-08-29 13:21

vickycq 写了:
vampcheah 写了:有看了网上一些文章说换去 iwlwifi new,但是安装重启之后,开了2分钟就直接完全不能连上。 product: RTL8821AE 802.11ac PCIe Wireless Network Adapter [10EC:8821]
您的网卡是 RTL8821AE,与 Intel 网卡驱动 'iwlwifi' 没关系。问题在于驱动质量不佳

参考
https://bugzilla.redhat.com/show_bug.cgi?id=1435793
https://github.com/lwfinger/rtlwifi_new/issues/235

编译这个驱动试试 https://github.com/lwfinger/rtlwifi_new

上文第二个帖子里有人提到的模块参数也试一下
我之前有试了用repo 来编译。。。原来还是得直接用git 来做才行。。。
很感激您的提示,谢谢。
回复