我有一台新的联想 ThinkPad Edge E540 笔记本电脑,我已在上面安装了 ubuntu 13.10,但现在我无法通过 wifi 连接到互联网。看来 ubuntu 无法使用我的 wifi 卡,系统设置中根本没有选项可以管理无线连接。有线连接可以。有人能帮帮我吗?
以下是有关硬件的更多信息:
* uname -a*
Linux ThinkPad 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
* lsb_release*
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
* lspci*
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo Device [17aa:5028]
Kernel driver in use: r8169
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b723]
Subsystem: Lenovo Device [17aa:b728]
* lsusb*
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0bda:b728 Realtek Semiconductor Corp.
Bus 003 Device 004: ID 04f2:b398 Chicony Electronics Co., Ltd
Bus 003 Device 003: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
* iw配置*
* rfkill*
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
* nm 工具*
NetworkManager Tool
State: connected (global)
- Device: eth0 [Wired connection 1] -------------------------------------------
Type: Wired
Driver: r8169
State: connected
Default: yes
HW Address: <MAC address removed>
Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 147.231.103.183
Prefix: 22 (255.255.252.0)
Gateway: 147.231.100.31
DNS: 147.231.100.1
DNS: 195.113.144.233
* 网络管理器.状态*
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
* 网络管理器.conf*
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
* 接口*
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
* 解析.conf*
nameserver 127.0.1.1
search ujf.cas.cz
* 黑名单*
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
* udev 规则*
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
答案1
我建议您构建并尝试第二个链接中提到的驱动程序。使用临时有线以太网连接,请打开终端并执行以下操作:
sudo apt-get install linux-headers-generic build-essential git
git clone http://github.com/lwfinger/rtl8723be
cd rtl8723be
make
sudo make install
sudo modprobe rtl8723be
这是我遇到的第一个这样的设备,所以我们可能需要做一些调整。
断开以太网。现在可以正常工作了吗?
当安装了较新的内核版本(称为 linux-image)后,重新启动后,您将需要重新编译驱动程序:
cd ~/rtl8723be
make clean
make
sudo make install
sudo modprobe rtl8723be
请保留这些文件和说明。
答案2
答案3
我不确定我是否可以编辑已删除的答案,所以这里有一个编辑过的版本:
我可以确认 chili555 方法对我有用 - Lenovo ThinkPad E540。显然我的问题/答案违反了规则,它被删除了。与此同时,我找到了一个解决我时不时断网问题的方法:
sudo modprobe -r rtl8723be sudo modprobe rtl8723be
现在我不需要重新启动机器,如果失去连接,我可以重新启动驱动程序。希望这会有所帮助。