Reduce WLAN transmit power with systemd during boot

Kernels & Hardware, configuring network, installing services

Reduce WLAN transmit power with systemd during boot

Postby ping » 2018-08-20 14:37

How do you reduce the transmit power of the WLAN interface during boot using systemd? On my old laptop, I've been using

Code: Select all
iwconfig wlan0 txpower 0

in an init script, but on my new laptop I installed Debian Stretch and would like to use the systemd infrastructure.

Couldn't find anything useful using Google, and the Debian Reference as well as several man pages, especially systemd.link, where I'd expected it most, do not even mention anything about it.
ping
 
Posts: 1
Joined: 2018-08-20 13:38

Re: Reduce WLAN transmit power with systemd during boot

Postby Head_on_a_Stick » 2018-08-20 17:32

I think this is udev's job:

https://wiki.archlinux.org/index.php/Po ... interfaces

But if you insist on using systemd then consult systemd.unit(5) for information about writing a custom unit file to run your command.

EDIT: also, iwconfig is considered obsolete, iw(8) is the new kid in town ;)
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8324
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to System configuration

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable