You are not logged in.

#1 2020-07-06 09:03:03

Jason P.
Member
Registered: 2015-02-26
Posts: 171

[solved] Persistent changes to wireless card settings

Hi,

I'm tuning my wifi setup and the configuration changes I make to the physical device do not persist after reboot (somewhat expected). Example:

iw phy0 set retry long 15

What is the usual way to make these configurations permanent? udev rule? systemd unit?

I'm using iwd and iwctl to manage the connection by the way. My wifi card is a quite old and terrible performant Ralink RT3062.

Thanks!

Last edited by Jason P. (2020-07-10 09:18:29)

Offline

#2 2020-07-09 11:56:37

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [solved] Persistent changes to wireless card settings

Moving to Newbie Corner by request.

Offline

#3 2020-07-09 18:08:31

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [solved] Persistent changes to wireless card settings

Jason P. wrote:

udev rule

^ This.

Something like

# /etc/udev/rules.d/81-custom-wireless.rules
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wl*", RUN+="/usr/bin/iw phy0 set retry long 15"

Jin, Jîyan, Azadî

Offline

#4 2020-07-10 09:18:01

Jason P.
Member
Registered: 2015-02-26
Posts: 171

Re: [solved] Persistent changes to wireless card settings

Thank you! Worked like a charm smile

Offline

Board footer

Powered by FluxBB