However, when loading Ubuntu dual system, there will be a wireless hardware switch off problems, of course, can not connect the network

Source: Internet
Author: User

Rfkill List all

The following prompt will appear

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

You can see that the priority of the Ideapad_wlan hard blocked default is yes, that is, Ubuntu default off the hardware WiFi switch, and ultra-YOGA2 pro such as only software switch WiFi, no hardware switch start, So it caused the problem that WiFi could not be opened.

Second, problem solving

From the display list of the wireless module, we can see that the 2 WiFi module is hardware and software can be started, so as long as the previous default module moved out; Use the command:

sudo modprobe-r ideapad_laptop

Move out of the IdeaPad Wireless module, then use the command to view:

Rfkill List all

The following tips:

2:phy0:wireless LAN
Soft Blocked:no
Hard Blocked:no
3:hci0:bluetooth
Soft Blocked:yes
Hard Blocked:no

That is, the WiFi module works fine, but each time you restart the Ubuntu system to re-move the module, you can set the command to boot from boot, by adding commands in the/etc/rc.local file.

#!/bin/sh-e
#
# rc.local
#
# This script was executed at the end of each multiuser runlevel.
# Make sure the script would "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.
#因为使用的是非管理员登录, you can automate execution by entering a password when you execute the sudo command.
#此处假设用户密码为123, the command must be run before exit 0, if the file does not have permission to modify
#修改前使用 chmod command to modify permissions!
echo "123" |sudo modprobe-r ideapad_laptop
Exit 0

After booting the system will automatically execute the change script file, complete the WiFi module automatic removal operation

However, when loading Ubuntu dual system, there will be a wireless hardware switch off problems, of course, can not connect the network

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.