You are not logged in.

#1 2017-06-23 09:40:46

Tomas
Member
Registered: 2012-09-17
Posts: 8

systemd script if network is down

Hi There

My question is related to network. When my router reboots (manually/randomly), it takes some time to boot. However, during the boot WIFI networks appears, and arch NetworkManager automatically grabs it for connection. However (I assume) router is not ready for connections yet and rejects the correct WIFI password, so NetworkManager displays a GUI window to enter password indefinitely (?). I would like to make NetworkManager wait for 5-10 minutes and re-try the connection to the same wifi network with a stored password. I was thinking maybe it would be possible to do with systemd service, like if network is down for 10 minutes, restart NetworkManager.

Maybe there's such NetworkManager configuration option?

Thanks

Offline

#2 2017-06-24 04:59:28

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: systemd script if network is down

Try some other network management tool, e.g, netctl, wicd, connman or configure manually using wpa_supplicant and dhcpcd.

Offline

#3 2017-06-25 11:58:34

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: systemd script if network is down

Docbroke wrote:

Try some other network management tool, e.g, netctl, wicd, connman or configure manually using wpa_supplicant and dhcpcd.

Once installed and setup, dhcpcd (alongside wpa_supplicant) is just as automatic as the others.

Offline

Board footer

Powered by FluxBB