You are not logged in.

#1 2014-06-19 11:16:39

From: Chicago
Registered: 2009-02-24
Posts: 80

how to bluntly restart network with systemd

when skyping over the hotel wifi I repeatedly lose the wifi connection after approx 10 minutes, with dmesg saying:

 kernel: wlan0: deauthenticated from [MAC ADDRESS] (Reason: 7)

Then no wifi access points are recognized anymore, I can't quickly get it back to work using netctl commands, not even after rmmod/modprobe ath9k.  While the other caller is waiting for me to return the call, I quickly reboot to get the network back in shape.  But now I feel like a stupid windows user that only knows how to fix a problem by rebooting...

In systemd, is there a blunt way to completely restart the tree of network services in case of emergency?  IIRC, in init.d times one could do something like

/etc/init.d/network restart

I know that in the fullness of time I could figure out what is going wrong, but I can't go troubleshooting while the other caller is waiting.  In this situation a blunt method would be helpfull, if there is one.



#2 2014-06-19 12:09:34

Registered: 2009-05-06
Posts: 25,440

Re: how to bluntly restart network with systemd


#3 2020-09-26 08:56:28

Registered: 2020-09-26
Posts: 1

Re: how to bluntly restart network with systemd

I'll give the appropriate reply, for those who find this thread on google

systemctl restart systemd-networkd


#4 2020-09-26 09:50:27

Forum Moderator
Registered: 2012-10-16
Posts: 10,781

Re: how to bluntly restart network with systemd


Board footer

Powered by FluxBB