From 4235cda131ed46945025bbdaa7f23d0204d117b7 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 5 Jan 2023 18:41:19 -0600 Subject: Show ip address when Ethernet comes up --- recipes-core/multitech/config/network/interfaces | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-core/multitech/config/network/interfaces') diff --git a/recipes-core/multitech/config/network/interfaces b/recipes-core/multitech/config/network/interfaces index a17a43a..04a1d3d 100644 --- a/recipes-core/multitech/config/network/interfaces +++ b/recipes-core/multitech/config/network/interfaces @@ -9,6 +9,7 @@ auto eth0 iface eth0 inet static address 192.168.2.1 netmask 255.255.255.0 +post-up ip addr show eth0 # Forwarding packets on eth0 # gateway 192.168.2.2 # pre-up bash -c 'echo 1 >/proc/sys/net/ipv4/ip_forward' -- cgit v1.2.3