ubuntu14.10的无线网卡信号老是断

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
po666666
帖子: 3
注册时间: 2014-12-25 9:07
系统: win81

ubuntu14.10的无线网卡信号老是断

#1

帖子 po666666 » 2014-12-25 9:15

我pc是联想速龙x4 750一体机,无线网卡是双频realtek8821ac ,原生系统是efi+gpt+win81.无线网卡在win81下很好,不断网。另外我又安装了ubuntu14.10.vhd系统。无线网卡信号连上一会又掉线,又连上又掉线。有什么解决办法没有?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.10的无线网卡信号老是断

#2

帖子 poloshiao » 2014-12-25 11:18

把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lspci -knn
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo rfkill list all
6. sudo iwlist scan
把結果直接複製 貼上來
不必擷圖
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: ubuntu14.10的无线网卡信号老是断

#3

帖子 rosynirvana » 2014-12-25 11:35

vhd,也就是说ubuntu是个虚拟机?
头像
tang.zhe
帖子: 1505
注册时间: 2010-07-15 13:31

Re: ubuntu14.10的无线网卡信号老是断

#4

帖子 tang.zhe » 2014-12-26 11:41

mark
po666666
帖子: 3
注册时间: 2014-12-25 9:07
系统: win81

Re: ubuntu14.10的无线网卡信号老是断

#5

帖子 po666666 » 2014-12-26 22:38

poloshiao 写了:把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lspci -knn
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo rfkill list all
6. sudo iwlist scan
把結果直接複製 貼上來
不必擷圖
======================================================================
3.16.0-25-generic

00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex [1022:1410]
Subsystem: Lenovo Device [17aa:368f]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) I/O Memory Management Unit [1022:1419]
Subsystem: Lenovo Device [17aa:368f]
00:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port [1022:1412]
Kernel driver in use: pcieport
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7814] (rev 09)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: xhci_hcd
00:10.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7814] (rev 09)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: xhci_hcd
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7801] (rev 40)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 11)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: ohci-pci
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 11)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: ehci-pci
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 11)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: ohci-pci
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 11)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: ehci-pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:780b] (rev 16)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: piix4_smbus
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 01)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: snd_hda_intel
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:780e] (rev 11)
Subsystem: Lenovo Device [17aa:368f]
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge [1022:780f] (rev 40)
00:14.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7809] (rev 11)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: ohci-pci
00:15.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0) [1022:43a0]
Kernel driver in use: pcieport
00:15.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 1) [1022:43a1]
Kernel driver in use: pcieport
00:15.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 2) [1022:43a2]
Kernel driver in use: pcieport
00:15.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 3) [1022:43a3]
Kernel driver in use: pcieport
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0 [1022:1400]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1 [1022:1401]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2 [1022:1402]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3 [1022:1403]
Kernel driver in use: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4 [1022:1404]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5 [1022:1405]
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R7 240 OEM] [1002:6611]
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: radeon
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1002:aab0]
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: snd_hda_intel
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: rtsx_pci
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
Subsystem: Lenovo Device [17aa:a803]
Kernel driver in use: rtl8821ae
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Lenovo Device [17aa:368f]
Kernel driver in use: r8169


*-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:05:00.0
logical name: wlan0
version: 00
serial: 10:08:b1:41:4b:17
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=3.16.0-25-generic firmware=N/A ip=192.168.1.104 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
resources: irq:18 ioport:d000(size=256) memory:fe800000-fe803fff
*-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:06:00.0
logical name: eth1
version: 0c
serial: f8:0f:41:d9:c1:41
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=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:58 ioport:c000(size=256) memory:fe700000-fe700fff memory:d0000000-d0003fff


eth1 Link encap:以太网 硬件地址 f8:0f:41:d9:c1:41
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
接收数据包:538 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:538 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:43828 (43.8 KB) 发送字节:43828 (43.8 KB)

wlan0 Link encap:以太网 硬件地址 10:08:b1:41:4b:17
inet 地址:192.168.1.104 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::1208:b1ff:fe41:4b17/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:452 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:536 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:104951 (104.9 KB) 发送字节:69266 (69.2 KB)


内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0


0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no



wlan0 Failed to read scan data : Resource temporarily unavailable

eth1 Interface doesn't support scanning.

lo Interface doesn't support scanning.
po666666
帖子: 3
注册时间: 2014-12-25 9:07
系统: win81

Re: ubuntu14.10的无线网卡信号老是断

#6

帖子 po666666 » 2014-12-26 22:39

rosynirvana 写了:vhd,也就是说ubuntu是个虚拟机?
==========================================
是的,是能在windows下用的vhd
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.10的无线网卡信号老是断

#7

帖子 poloshiao » 2014-12-27 0:07

product: RTL8821AE 802.11ac PCIe Wireless Network Adapter [10EC:8821]
configuration: broadcast=yes driver=rtl8821ae driverversion=3.16.0-25-generic firmware=N/A ip=192.168.1.104 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
1. 新驅動 rtl8821ae
https://github.com/lwfinger/rtlwifi_new ... /rtl8821ae
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
2. r8169 不是合適的驅動
2-1. viewtopic.php?f=116&t=467017&start=15&hilit=r8168
6. sudo iwlist scan
wlan0 Failed to read scan data : Resource temporarily unavailable
eth1 Interface doesn't support scanning.
lo Interface doesn't support scanning.
3. 可能已斷線 或 驅動不合適
安裝好驅動後 再試試

4. 補充
Ubuntu / fedora 預設由 network-manager 管理上網
network-manager 預設同一時間 只能存在一條路由
換句話說 同一個時間 只能有一個網卡 連上網路
其它網卡 連上後立刻自動斷線 待線中
通常 有線網卡 連線上網 速度比較快 所以大多是 有線網卡連上網 無線網卡待線中
如果你要測試 無線網卡
把有線網卡 從 BIOS 關閉 或 從 右上方 連線圖示 把有線網卡自動連線打勾取消
等測試成功再決定是否重新啟動有線網卡或把自動連線打勾
改變路由設定 允許兩個路由同時存在
就可以讓 有線/無線 網卡 都同時連上網
回复