]> git.hoellein.online Git - pi-wkg/commitdiff
daily autocommit
authormhoellein <mhoellein@freenet.de>
Tue, 2 Feb 2021 07:28:12 +0000 (07:28 +0000)
committermhoellein <mhoellein@freenet.de>
Tue, 2 Feb 2021 07:28:12 +0000 (07:28 +0000)
network/interfaces

index c767e852eb74f5c37c40890e63260ad9c4033ba9..56fd4855561f4f7cb1033a3fec56571570296a6e 100644 (file)
@@ -9,8 +9,15 @@ source-directory /etc/network/interfaces.d
 auto lo
 iface lo inet loopback
 
-iface eth0 inet manual 
-       up ifconfig eth0 promisc
+auto eth0
+iface eth0 inet static 
+     address 192.168.178.122
+     network 192.168.178.0
+     netmask 255.255.255.0
+     broadcast 192.168.178.0
+     up route add default gw 192.168.178.1
+     down route del default gw 192.168.178.1
+#     up ifconfig eth0 promisc
 
 auto wlan0
        allow-hotplug wlan0