Re: how to keep eth link down across reboots ?

2023-12-08 Thread lacsaP Patatetom
it's not "systemd" way but may be by blacklisting the module used by the
network card ?
and inserting it when required...

regards, lacsaP.


Le jeu. 7 déc. 2023 à 17:12, lejeczek  a écrit :

> Hi guys.
>
> Perhaps not strictly _systemd_ question but community here surely is
> capable - a matter of me being lucky - how would you keep an Ethernet
> link/port powered down?
> I was thinking I'll try first _udev_ rules - given other tools/managers
> are told to stay away from the link/port
> Is there a better, best way to put such link/port down & keep it that way
> - naturally, please steer clear of "unplug the cable" type of ideas.
>
> many thanks, L.
>


Re: how to keep eth link down across reboots ?

2023-12-07 Thread Mantas Mikulėnas
On boot, interfaces are admin-down *by default* until something explicitly
brings them up. If you don't configure any network management software to
bring eth0 up, then it'll be down.

On Thu, Dec 7, 2023, 22:52 lejeczek  wrote:

> Hi guys.
>
> Perhaps not strictly _systemd_ question but community here surely is
> capable - a matter of me being lucky - how would you keep an Ethernet
> link/port powered down?
> I was thinking I'll try first _udev_ rules - given other tools/managers
> are told to stay away from the link/port
> Is there a better, best way to put such link/port down & keep it that way
> - naturally, please steer clear of "unplug the cable" type of ideas.
>
> many thanks, L.
>


how to keep eth link down across reboots ?

2023-12-07 Thread lejeczek

Hi guys.

Perhaps not strictly _systemd_ question but community here 
surely is capable - a matter of me being lucky - how would 
you keep an Ethernet link/port powered down?
I was thinking I'll try first _udev_ rules - given other 
tools/managers are told to stay away from the link/port
Is there a better, best way to put such link/port down & 
keep it that way - naturally, please steer clear of "unplug 
the cable" type of ideas.


many thanks, L.