uname -a
Linux zhangby-Lenovo 3.19.0-37-generic #42~14.04.1-Ubuntu SMP Mon Nov 23 15:13:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
sudo apt-get install pastebinit
[sudo] password for zhangby:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
pastebinit 已经是最新的版本了。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 5 个软件包未被升级。
zhangby@zhangby-Lenovo:~$ cd
zhangby@zhangby-Lenovo:~$ wget -O wireless-info http://git.oschina.net/pastebin/wireles ... eless-info
--2016-01-22 10:43:11-- http://git.oschina.net/pastebin/wireles ... eless-info
正在解析主机 git.oschina.net (git.oschina.net)... 101.201.240.111, 101.201.240.226, 101.201.241.32
正在连接 git.oschina.net (git.oschina.net)|101.201.240.111|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 14961 (15K) [text/plain]
正在保存至: “wireless-info”
100%[========================================================================================================>] 14,961 --.-K/s 用时 0.08s
2016-01-22 10:43:12 (189 KB/s) - 已保存 “wireless-info” [14961/14961])
zhangby@zhangby-Lenovo:~$ bash wireless-info
Results saved in "/home/zhangby/wireless-info.txt".
Pastebin result:
http://paste.ubuntu.com/14594699/
zhangby@zhangby-Lenovo:~$ sudo cat /var/log/syslog | pastebinit
http://paste.ubuntu.com/14594701/
看了别人的BBS,自己没有搞店。
14.04.1桌面 Wifi不能上网,但能看到我的ssid,输入密码后不能连接
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: 14.04.1桌面 Wifi不能上网,但能看到我的ssid,输入密码后不能连接
安装较新的内核Linux 3.19.0-37-generic
代码: 全选
udo apt-get install linux-generic-lts-wily
先尝试 lwfinger 维护的 rtlwifi 驱动:https://github.com/lwfinger/rtlwifi_newauthentication with xx:xx:xx:xx:xx:xx timed out
driver=rtl8188ee
下载 zip,解压,make,sudo make install
或者直接使用PPA (rtlwifi-new-dkms 0.6~trusty):https://launchpad.net/~hanipouspilot/+a ... tu/rtlwifi
上次由 vickycq 在 2016-01-22 12:12,总共编辑 2 次。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户
-
- 帖子: 17
- 注册时间: 2012-08-05 8:53
Re: 14.04.1桌面 Wifi不能上网,但能看到我的ssid,输入密码后不能连接
补充一些资料,大家好帮助我分析问题!
uname -a
Linux zhangby-Lenovo 3.19.0-37-generic #42~14.04.1-Ubuntu SMP Mon Nov 23 15:13:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
zhangby@zhangby-Lenovo:~$ lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: mei_me
00:16.3 Serial controller [0700]: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller [8086:8c3d] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: serial
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 04)
Subsystem: Lenovo Device [17aa:3097]
Kernel driver in use: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Q87 Express LPC Controller [8086:8c4e] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
Subsystem: Lenovo Device [17aa:0193]
Kernel driver in use: rtl8188ee
zhangby@zhangby-Lenovo:~$ sudo lshw -C net
[sudo] password for zhangby:
*-network
description: Ethernet interface
product: Ethernet Connection I217-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 04
serial: 00:23:24:54:d3:68
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k duplex=full firmware=0.12-4 ip=192.168.55.10 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:26 memory:f7d00000-f7d1ffff memory:f7d3d000-f7d3dfff ioport:f080(size=32)
*-network
description: Wireless interface
product: RTL8188EE Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 48:d2:24:2c:41:95
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8188ee driverversion=3.19.0-37-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:31 ioport:e000(size=256) memory:f7c00000-f7c03fff
zhangby@zhangby-Lenovo:~$
zhangby@zhangby-Lenovo:~$
zhangby@zhangby-Lenovo:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 00:23:24:54:d3:68
inet 地址:192.168.55.10 广播:192.168.55.255 掩码:255.255.248.0
inet6 地址: fe80::223:24ff:fe54:d368/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:530766 错误:0 丢弃:963 过载:0 帧数:0
发送数据包:777 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:44237049 (44.2 MB) 发送字节:590686 (590.6 KB)
中断:20 Memory:f7d00000-f7d20000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1578 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1578 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:340217 (340.2 KB) 发送字节:340217 (340.2 KB)
wlan0 Link encap:以太网 硬件地址 48:d2:24:2c:41:95
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)
zhangby@zhangby-Lenovo:~$ sudo iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
lo no wireless extensions.
zhangby@zhangby-Lenovo:~$ sudo cat /etc/resolv.conf
# 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
zhangby@zhangby-Lenovo:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.48.1 0.0.0.0 UG 0 0 0 eth0
192.168.48.0 0.0.0.0 255.255.248.0 U 1 0 0 eth0
zhangby@zhangby-Lenovo:~$ sudo nmcli dev show
Usage: nmcli device { COMMAND | help }
COMMAND := { status | list | disconnect | wifi }
status
list [iface <iface>]
disconnect iface <iface> [--nowait] [--timeout <timeout>]
wifi [list [iface <iface>] [bssid <BSSID>]]
wifi connect <(B)SSID> [password <password>] [wep-key-type key|phrase] [iface <iface>] [bssid <BSSID>] [name <name>]
[--private] [--nowait] [--timeout <timeout>]
错误:'dev' 命令 'show' 无效。
uname -a
Linux zhangby-Lenovo 3.19.0-37-generic #42~14.04.1-Ubuntu SMP Mon Nov 23 15:13:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
zhangby@zhangby-Lenovo:~$ lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: mei_me
00:16.3 Serial controller [0700]: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller [8086:8c3d] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: serial
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 04)
Subsystem: Lenovo Device [17aa:3097]
Kernel driver in use: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Q87 Express LPC Controller [8086:8c4e] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
Subsystem: Lenovo Device [17aa:30a3]
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
Subsystem: Lenovo Device [17aa:0193]
Kernel driver in use: rtl8188ee
zhangby@zhangby-Lenovo:~$ sudo lshw -C net
[sudo] password for zhangby:
*-network
description: Ethernet interface
product: Ethernet Connection I217-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 04
serial: 00:23:24:54:d3:68
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k duplex=full firmware=0.12-4 ip=192.168.55.10 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:26 memory:f7d00000-f7d1ffff memory:f7d3d000-f7d3dfff ioport:f080(size=32)
*-network
description: Wireless interface
product: RTL8188EE Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 48:d2:24:2c:41:95
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8188ee driverversion=3.19.0-37-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:31 ioport:e000(size=256) memory:f7c00000-f7c03fff
zhangby@zhangby-Lenovo:~$
zhangby@zhangby-Lenovo:~$
zhangby@zhangby-Lenovo:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 00:23:24:54:d3:68
inet 地址:192.168.55.10 广播:192.168.55.255 掩码:255.255.248.0
inet6 地址: fe80::223:24ff:fe54:d368/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:530766 错误:0 丢弃:963 过载:0 帧数:0
发送数据包:777 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:44237049 (44.2 MB) 发送字节:590686 (590.6 KB)
中断:20 Memory:f7d00000-f7d20000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1578 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1578 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:340217 (340.2 KB) 发送字节:340217 (340.2 KB)
wlan0 Link encap:以太网 硬件地址 48:d2:24:2c:41:95
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)
zhangby@zhangby-Lenovo:~$ sudo iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
lo no wireless extensions.
zhangby@zhangby-Lenovo:~$ sudo cat /etc/resolv.conf
# 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
zhangby@zhangby-Lenovo:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.48.1 0.0.0.0 UG 0 0 0 eth0
192.168.48.0 0.0.0.0 255.255.248.0 U 1 0 0 eth0
zhangby@zhangby-Lenovo:~$ sudo nmcli dev show
Usage: nmcli device { COMMAND | help }
COMMAND := { status | list | disconnect | wifi }
status
list [iface <iface>]
disconnect iface <iface> [--nowait] [--timeout <timeout>]
wifi [list [iface <iface>] [bssid <BSSID>]]
wifi connect <(B)SSID> [password <password>] [wep-key-type key|phrase] [iface <iface>] [bssid <BSSID>] [name <name>]
[--private] [--nowait] [--timeout <timeout>]
错误:'dev' 命令 'show' 无效。
-
- 帖子: 17
- 注册时间: 2012-08-05 8:53
Re: 14.04.1桌面 Wifi不能上网,但能看到我的ssid,输入密码后不能连接
直接使用PPA (rtlwifi-new-dkms 0.6~trusty):https://launchpad.net/~hanipouspilot/+a ... tu/rtlwifi
已经按这个方法安装成功,如何应用rtl8188ee驱动?
已经按这个方法安装成功,如何应用rtl8188ee驱动?
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: 14.04.1桌面 Wifi不能上网,但能看到我的ssid,输入密码后不能连接
如果采用手动编译法,sudo make install 过程中会自动为已有驱动创建备份(./backup_drivers.tar),自动替换内核自带的 rtl8188ee,并自动启用。(编译出的模块名字与内核自带的一样,都是'rtl8188ee.ko'。)zhangbangyue 写了:直接使用PPA (rtlwifi-new-dkms 0.6~trusty):https://launchpad.net/~hanipouspilot/+a ... tu/rtlwifi
已经按这个方法安装成功,如何应用rtl8188ee驱动?
现在使用了 dkms 法,只能假设 其已自动替代内核自带的 rtl8188ee,并已自动启用。
到 /lib/modules/`uname -r`/kernel/drivers/net/wireless/ 中找 rtl8188ee.ko,看修改时间是否为刚才。
代码: 全选
$ find /lib/modules/`uname -r`/kernel/drivers/net/wireless/ | grep rtl8188ee.ko
/lib/modules/4.3.0-1-amd64/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户