Ubuntu,ThinkPad E420
wifi不能联网问题
// 打印系统信息
cxl@cxl-ThinkPad-E420:~$ cat/etc/lsb-release; uname -a
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu11.10"
Linux cxl-ThinkPad-E420 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 714:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
// lspci-nnk, lspci 列出所有PCI设备, -nn列出vendor的设备好和名称,k显示内核或内核模块处理的设备.
cxl@cxl-ThinkPad-E420:~$ lspci -nnk |grep -iA2 net
03:00.0 Ethernet controller [0200]: Realtek SemiconductorCo., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev06)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use:r8169
--
09:00.0 Network controller [0280]: RealtekSemiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev01)
Subsystem: Realtek Semiconductor Co., Ltd. Device[10ec:8195]
Kernel driver in use: rtl8192ce
//类似ipconfig,配置
无线网络接口
cxl@cxl-ThinkPad-E420:~$iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
//列出所有的可被rfkill工具使用的设备状态.
cxl@cxl-ThinkPad-E420:~$ rfkill listall
0: hci0: Bluetooth
Soft blocked: no
Hard blocked:no
1: acer-wireless: Wireless LAN
Soft blocked: yes
Hardblocked: no
2: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked:no
Hard blocked: no
// 列出已经安装的模块
cxl@cxl-ThinkPad-E420:~$lsmod
Module Size Usedby
bnep 18436 2
rfcomm 47946 8
parport_pc 36962 0
ppdev 17113 0
binfmt_misc 17540 1
snd_hda_codec_hdmi 32040 1
snd_hda_codec_conexant 62197 1
joydev 17693 0
arc4 12529 2
thinkpad_acpi 81819 0
snd_hda_
intel 33390 2
snd_hda_codec 104802 3snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 13668 1 snd_hda_codec
acer_wmi 23948 0
sparse_keymap 13890 1 acer_wmi
snd_pcm 96755 3snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi 13324 0
snd_rawmidi 30547 1snd_seq_midi
uvcvideo 72711 0
videodev 93004 1 uvcvideo
v4l2_compat_ioctl32 17083 1 videodev
snd_seq_midi_event 14899 1snd_seq_midi
snd_seq 61896 2snd_seq_midi,snd_seq_midi_event
btusb 18600 2
bluetooth 166112 23bnep,rfcomm,btusb
psmouse 73882 0
serio_raw 13166 0
rtl8192ce 84775 0
rtl8192c_common 75767 1rtl8192ce
rtlwifi 110972 1rtl8192ce
mac80211 310872 3rtl8192ce,rtl8192c_common,rtlwifi
snd_timer 29991 2snd_pcm,snd_seq
snd_seq_device 14540 3snd_seq_midi,snd_rawmidi,snd_seq
cfg80211 199587 2rtlwifi,mac80211
snd 68266 15snd_hda_codec_hdmi,snd_hda_codec_conexant,thinkpad_acpi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
nvram 14413 1 thinkpad_acpi
wmi 19256 1acer_wmi
radeon 1015995 0
ttm 76805 1 radeon
i915 566711 3
soundcore 12680 1 snd
snd_page_alloc 18529 2 snd_hda_intel,snd_pcm
drm_kms_helper 42558 2radeon,i915
drm 236330 6radeon,ttm,i915,drm_kms_helper
mei 41480 0
i2c_algo_bit 13423 2radeon,i915
video 19412 1i915
lp 17799 0
parport 46562 3 parport_pc,ppdev,lp
sdhci_pci 14032 0
sdhci 32166 1sdhci_pci
ahci 26002 3
libahci 26861 1 ahci
r8169 52788 0
--------------solution-----------:
sudormmod -f acer-wmi //移除 acer-wmi模块,-f force a mod unload
sudo rfkillunblock all //rfkill 打卡或者关闭
无线设备的命令, unblock 打开
无线设备,all所有的