Lenovo Ultrabook Ubuntu system cannot enable Wireless hardware switch Solution

Source: Internet
Author: User
Tags lenovo ultrabook
I. Problem description I am using Lenovo ultraboo yoga2pro. By default, it is mounted to the Win8 system. However, when the Ubuntu dual system is mounted, the Wireless hardware switch is disabled, and of course the network cannot be connected. When rfkilllistall is used, the following prompt is displayed: 0: ideapad_wlan: WirelessLANSoftblocked: noHardblocked: yes1: ideapad_bluetooth: Bluetoo.

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 LAN
Soft blocked: no
Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: yes
Hard 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 LAN
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: yes
Hard 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 when executing the sudo command to automate the execution,
# If the user password is 123, the command must be run before exit 0. If the file has no permission to be modified
# Use the chmod command to modify the permission before modification!
Echo "123" | sudo modprobe-r ideapad_laptop
Exit 0

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

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-04/116077.htm

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.