Home > System Tutorial > LINUX > How to configure the wireless wake-up function of the wireless network card under Linux

How to configure the wireless wake-up function of the wireless network card under Linux

WBOY
Release: 2024-03-09 16:40:03
forward
1224 people have browsed it

Linux下 无线网卡配置无线唤醒功能的方法

Wireless wake-onwireless wake-on-lan (WoWLAN or WoW) allows the Linux system to enter low power mode while keeping the wireless network card active and still connected to the hotspot. . This tutorial demonstrates how to enable WoWLAN / WoW mode on a Linux laptop or desktop computer with a wireless network card installed. Please note that not all wireless cards and Linux drivers support WoWLAN.

grammar

On Linux systems, you need to use the iw command to view and operate wireless devices and their configurations. Its format is:

 iw command
 iw [options] command
Copy after login
List all wireless devices and their functions

Enter the following command:

$ iw list
$ iw list | more
$ iw dev
phy#0
Interface wlp3s0
ifindex 3
wdev 0x1
addr 6c:88:14:ff:36:d0
type managed
channel 149 (5745 MHz),width: 40 MHz, center1: 5755 MHz
txpower 15.00 dBm
Copy after login

Please note this phy0.

View the current status of wireless wake-up

Open the terminal and enter the following command to view the status of the wireless network:

$ iw phy0 wowlan show
WoWLAN is disabled
Copy after login
How to enable wireless wake-up

The enabled syntax is:

sudo iw phy {phyname} wowlan enable {option}
Copy after login

For example, I want to enable wireless wake-up for phy0:

$ sudo iw phy0 wowlan enable any
$ iw phy0 wowlan show
Copy after login

The result is:

WoWLAN is enabled:
* wake up on disconnect
* wake up on magic packet
Copy after login
How to disable wireless wake-up?

The syntax is:

$ sudo phy {phyname} wowlan disable
$ sudo phy0 wowlan disable
Copy after login

The above is the detailed content of How to configure the wireless wake-up function of the wireless network card under Linux. For more information, please follow other related articles on the PHP Chinese website!

source:linuxprobe.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template