From 9171b942db4e4eff9a7443707ffea6a9e80d8877 Mon Sep 17 00:00:00 2001 From: Pranav Jerry Date: Fri, 24 Sep 2021 12:42:13 +0530 Subject: [PATCH] added temporary network config file This will be used to check if the machine has internet access. --- systemd-networkd/check.01-eth.network | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/systemd-networkd/check.01-eth.network b/systemd-networkd/check.01-eth.network index 1c14c70..9372561 100644 --- a/systemd-networkd/check.01-eth.network +++ b/systemd-networkd/check.01-eth.network @@ -1,17 +1,9 @@ -# Ah! This is where the magic happens! -# This is the interface userspace applications will be using to -# communicate with others devices - +# This is used to check if any ethernet or USB ethernet ports +# is connected to a router or some other device with a DHCP server. +# After checking, this file is no longer needed. [Match] -Name=bridge0 +Name=eth* +Name=en* [Network] -# use DHCP to assign an IP DHCP=yes - -# if DHCP fails, assign a random address -LinkLocalAddressing=yes - -# LLMNR and MulticastDNS are used for hostname discovery -LLMNR=yes -MulticastDNS=yes