On 1/21/2020 12:04 AM, Tom Eastep wrote: > On 1/20/20 1:58 PM, Peter Easthope wrote: >> Hi, >> >> In Debian 10.2, configuration of a USB-Ethernet adapter, >> named according to an /etc/systemd/network/*.link file, >> can be delayed beyond shorewall execution at system startup. >> In my observation, a USB host adapter on the system board >> works better than an add-on PCI host adapter. >> >> /usr/share/shorewall/wait4ifup exists here. Is it still >> necessary? Can anyone have a clever way of sequencing >> with systemd configurations? >> > > The Shorewall.service file specifies: > > Wants=network-online.target > After=network-online.target > > which seems to work well with ifup. From what you are reporting, it > doesn't seem to work reliably with systemd-networkd. > > I guess the next thing to do is to specify the 'wait' option in the USB > host adapter's entry in /etc/shorewall/interface. >
In addition to the above, from (1): $ systemctl is-enabled NetworkManager-wait-online.service systemd-networkd-wait-online.service As suggested by Tom, using the 'wait' option in '/etc/shorewall/interfaces' is worth a try. 1) https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ -Matt -- Matt Darfeuille _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users