You are not logged in.

#1 2014-07-18 17:36:07

FatRhombus
Member
Registered: 2014-04-16
Posts: 4

Run script after Network turns off

Hi all,

i have a problem with my Network which will not reconnect after suspend or when it is turned off by hardware switch. I already figured out that the problems do not appear when wpa_supplicant is killed right before suspend/hardware switch.
So, what i now want to do is, to kill wpa_supplicant when suspend/hardware switch is used and right after network stops. The Problem is: I have no clue about how to achieve this.
I read a bit about systemd and service-files in the wiki but I'm not really sure how to implement this (especially which targets etc. i should use)!

Thanks for your help!

Last edited by FatRhombus (2014-07-18 17:38:26)

Offline

#2 2014-07-19 08:18:09

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: Run script after Network turns off

Not an answer since I couldn't slightly understand what you were saying but considering it is a laptop, and not tweaked for the subject, TLP is a software that can disable and enable your wifi card before suspend, non-activity for a period or enable after waking up, powering on et alii. It has a commenting configuration file and well documented in wiki. Maybe you should try it.

Offline

Board footer

Powered by FluxBB