自从全新安装 Ubuntu 14.04 后,几分钟后我就失去了互联网连接。重启或从待机状态唤醒后我又恢复了连接。这似乎是 Realtek RTL8188CE 无线驱动程序的一个已知问题。Ubuntu 12.04 也同样完美。
以下是详细信息:
uname -a
Linux annika-notebook 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
请参阅lspci-nnk| grep -i 网-A2
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:9181]
Kernel driver in use: rtl8192ce
08:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
Subsystem: QUANTA Computer Inc Device [152d:0872]
Kernel driver in use: atl1c
猫/等/网络/接口
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
猫/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
猫/等/主机
127.0.0.1 localhost
127.0.1.1 annika-notebook
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
配置文件
eth0 Link encap:Ethernet Hardware Adresse e8:9a:8f:ca:6d:92
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:0 (0.0 B) TX-Bytes:0 (0.0 B)
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:65536 Metrik:1
RX-Pakete:11699 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:11699 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:8044499 (8.0 MB) TX-Bytes:8044499 (8.0 MB)
wlan0 Link encap:Ethernet Hardware Adresse 9c:b7:0d:33:fa:cd
inet Adresse:192.168.1.37 Bcast:192.168.1.255 Maske:255.255.255.0
inet6-Adresse: fe80::9eb7:dff:fe33:facd/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX-Pakete:351596 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:216953 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:498072663 (498.0 MB) TX-Bytes:23696977 (23.6 MB)
wlan0 IEEE 802.11bgn ESSID:"UNTEN"
Mode:Managed Frequency:2.462 GHz Access Point: 00:0F:66:E9:D0:A7
Bit Rate=18 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=60/70 Signal level=-50 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:135 Missed beacon:0
wlan0 IEEE 802.11bgn ESSID:"UNTEN"
Mode:Managed Frequency:2.462 GHz Access Point: 00:0F:66:E9:D0:A7
Bit Rate=18 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=60/70 Signal level=-50 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:135 Missed beacon:0
路线-n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
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
cat /var/lib/NetworkManager/NetworkManager.state
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
# PCI device 0x1969:0x1083 (atl1c)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="e8:9a:8f:ca:6d:92", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
cat /etc/udev/rules.d/70-persistent-net.rules | egrep -i 'device|sub' -A3
# PCI device 0x1969:0x1083 (atl1c)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="e8:9a:8f:ca:6d:92", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10ec:0x8176 (rtl8192ce)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="9c:b7:0d:33:fa:cd", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
答案1
嗯,不能肯定地说,freedomben 驱动程序确实对我有用……
因此,如果您不确定如何操作,请执行以下操作(为了简单起见,我将避免使用 git);
去:https://github.com/FreedomBen/rtl8188ce-linux-driver/tree/ubuntu-14.04
...并下载 zip 文件(右侧)
...下载后,解压.zip文件并“cd”到其中。
最后运行 install.sh($sudo ./install.sh)。
您也可以在 git 上找到说明...
希望能帮助到你
答案2
我有同样的卡,也遇到了同样的问题。尝试升级到 3.13.0-32-generic 内核,关闭路由器上的“n”波段,并使用通道 1。
我的 14.04 LTS 上已经有较新的内核,只需在启动过程中按住“shift”键进入 Grub,然后选择 3.13.0-32-generic 内核即可。如果有任何问题,重新启动将选择您的旧内核。如果它有效,请将较新的内核设置为默认内核,以便在重新启动后继续使用。
现在使用终端中的以下命令更新驱动程序:
echo "options rtl8192ce swenc=1 ips=0" | sudo tee /etc/modprobe.d/rtl8192ce.conf
sudo modprobe -rfv rtl8192ce
sudo modprobe -v rtl8192ce
*感谢 Wildman 帮助我解决这个问题。
答案3
打开终端并按顺序运行以下命令:
sudo apt-get install linux-headers-generic build-essential git
git clone http://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install
modprobe rtl8821ae # once booted ...just in case