Re: service routing restart (was: Unreliability with DHCP)
Date: Sun, 06 Aug 2023 07:36:42 UTC
06.08.23 01:35, Graham Perrin пише: > On 05/08/2023 23:16, Graham Perrin wrote: >> On 05/08/2023 12:39, Oleksandr Kryvulia wrote: >>> 04.08.23 19:07, Graham Perrin пише: >>>> >>>> … >>>> >>> >>> As dirty workaround I have in my /etc/rc.resume >>> >>> service netif restart >>> service routing restart >> >> … 'service routing restart' can be problematic. Please, see, for >> example, <https://pastebin.com/raw/mXmVPruq>; I had something similar >> a few minutes ago. >> > After 'service routing restart' (alone), should 'route show default' > find a route? > Only if you have static route configuration. In my case default route is assigned by dhclient, so 'service routing restart' must be run quickly after 'service netif restart' - before we receive dhcp offer. Another option is to run 'service dhclient restart wlan0' after routing restart. I have lagg with em0 and wlan0 - thats why I need 'service netif restart' instead.