发现以下问题,上不了网了。
beijing:/home/shell.albert # wpa_supplicant -iwlp8s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
rfkill: WLAN hard blocked
rfkill: WLAN soft blocked
解决方法如下:
beijing:/home/shell.albert # zypper search rfkill
正在加载软件源数据...正在读取已安装的软件包...
S | 名称 | 摘要 | 类型
--+-------------------------+---------------------------------------------------+-------
| liburfkill-glib-devel | The glib binding library for urfkill | 软件包
| liburfkill-glib0 | The glib binding library for urfkill | 软件包
| rfkill | Tool for enabling and disabling wireless devices | 软件包
| typelib-1_0-Urfkill-0_0 | The urfkill glib library-- Introspection bindings | 软件包
| urfkill | A daemon to control radio killswitches | 软件包
beijing:/home/shell.albert # zypper install rfkill
正在加载软件源数据...
正在读取已安装的软件包...
正在解决软件包依赖关系...
将安装以下 1 个新软件包:
rfkill
1 个软件包将新装.
总下载大小:9.1 KiB。已缓存:0 B 操作完成后,将占用额外的 12.2 KiB 空间。
继续吗? [y/n/? 显示全部选项] (y): y
正在撷取 软件包 rfkill-0.5-4.1.2.x86_64 (1/1), 9.1 KiB (解压后 12.2 KiB)
正在撷取: rfkill-0.5-4.1.2.x86_64.rpm ..........................................................[完毕]
正在检查文件冲突: ..............................................................................[完毕]
(1/1) 正在安装:rfkill-0.5-4.1.2 ................................................................[完毕]
beijing:/home/shell.albert # rfkill
Usage: rfkill [options] command
Options:
--version show version (0.5)
Commands:
help
event
list [IDENTIFIER]
block IDENTIFIER
unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
<idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm nfc
beijing:/home/shell.albert # rfkill list
0: ideapad_wlan: Wireless LAN
Soft blocked: yes
Hard blocked: yes
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
beijing:/home/shell.albert #