Regarding the solution that the Wireless hardware switch cannot be enabled when Lenovo ultraboo is mounted to the Ubuntu system, the ubuntu Switch

Source: Internet
Author: User

Regarding the solution that the Wireless hardware switch cannot be enabled when Lenovo ultraboo is mounted to the Ubuntu system, the ubuntu Switch

I. Problem Description

I am using Lenovo's ultraboo yoga2 pro. By default, it is mounted to the Win8 system. However, when the ubuntu dual system is mounted, the Wireless hardware switch will be disabled, and of course the network will not be connected.

Use

rfkill list all

The following prompt is displayed:

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

We can see that the Hard blocked of ideapad_wlan prior to the priority is yes by default, that is, the hardware wifi switch is disabled by ubuntu by default. In the ultraboo yoga2 pro, only the software switch wifi is enabled, and no hardware switch is enabled, this causes the problem that wifi cannot be enabled.

Ii. Problem Solving

From the display list of the wireless module, we can see that the Wi-Fi module of serial number 2 can be started with hardware and software. Therefore, you only need to remove the default module from the front. Run the following command:

sudo modprobe -r ideapad_laptop

Remove the wireless module of ideapad and run the following command to view it:

rfkill list all

Note:

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

That is to say, the wifi module works normally. However, every time you restart the ubuntu system, you need to remove the module again. Therefore, you can set this command to start automatically at/etc/rc. add commands to the local file.

#! /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. # Because non-Administrator Logon is used, you must enter a password to execute the sudo command automatically. # assume that the user password is 123. The command must be run before exit 0, if you do not have the permission to modify the file, run the chmod command to modify the permission! Echo "123" | sudo modprobe-r ideapad_laptopexit 0

After the instance is started, the system automatically executes the script file to remove the Wi-Fi module.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.