關於聯想超極本裝入Ubuntu系統無法開啟無線硬體開關的解決,ubuntu開關

來源:互聯網
上載者:User

關於聯想超極本裝入Ubuntu系統無法開啟無線硬體開關的解決,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模組的自動移出操作。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.