星空网 > 软件开发 > 操作系统

关于联想超极本装入Ubuntu系统无法开启无线硬件开关的解决

一、问题描述

  本人使用的是联想超极本yoga2 pro,默认装入Win8系统,然当装入ubuntu双系统时,会出现无线硬件开关关闭的问题,当然也就无法连网。

使用

rfkill list all

  会出现如下提示

0:ideapad_wlan: Wireless LANSoft blocked: noHard blocked:yes1:ideapad_bluetooth: BluetoothSoft blocked: noHard blocked: yes2:phy0: Wireless LANSoft blocked: noHard blocked:no3:hci0: BluetoothSoft blocked: yesHard blocked: no

  可以看到,优先级前的ideapad_wlan的Hard blocked 默认为yes,即ubuntu默认关闭了硬件wifi开关,而超极本yoga2 pro 这样的只有软件开关wifi,没有硬件开关的启动,所以引起了wifi无法开启的问题。

二、问题解决

  从无线模块的显示列表可以看出,序号2的wifi模块是软硬件是可以启动的,所以,只要将前面默认的模块移出即可;使用命令:

sudo modprobe -r ideapad_laptop

  即移出了ideapad的无线模块,再使用命令查看:

rfkill list all

  如下提示:

2:phy0: Wireless LANSoft blocked: noHard blocked:no3:hci0: BluetoothSoft blocked: yesHard blocked: no

  即wifi模块工作正常,然而每次重启ubuntu系统都要重新进行模块移出,故可将该命令设置为开机自启动,方法是在/etc/rc.local文件中添加命令。

#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.## In order to enable or disable this script just change the execution# bits.## By default this script does nothing.#因为使用的是非管理员登录,故在执行sudo命令时要输入密码,方可自动化执行,#此处假设用户密码为123,命令一定要在exit 0之前运行,该文件如果没有修改权限#修改前使用 chmod 命令修改权限即可!echo "123" |sudo modprobe -r ideapad_laptopexit 0

  开机启动后系统会自动执行改脚本文件,完成wifi模块的自动移出操作。

 




原标题:关于联想超极本装入Ubuntu系统无法开启无线硬件开关的解决

关键词:ubuntu

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

亚马逊旺季玩具品类选品看这里,最具潜力爆款前20名:https://www.ikjzd.com/articles/6230
亚马逊关联问题及各种申诉邮箱:https://www.ikjzd.com/articles/6233
eBay Authenticate服务已延伸到手表类别啦!:https://www.ikjzd.com/articles/6237
CPC在权重上升期操作,实惠分享!:https://www.ikjzd.com/articles/6241
海关总署:杭州海关一月内退运超标废纸近3200吨:https://www.ikjzd.com/articles/6242
简析换汇成本在企业出口退税管理中的运用:https://www.ikjzd.com/articles/6245
83万单,Halara的TikTok美国小店爆单思路拆解:https://www.goluckyvip.com/news/186217.html
携程高铁旅游攻略,更优惠的高铁票价都在哪里:https://www.vstour.cn/a/362188.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流