[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/Documentation/Bullseye/Requirements" by WolfgangSchweer

Debian Wiki wiki at debian.org
Wed Apr 15 17:11:54 BST 2020


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "DebianEdu/Documentation/Bullseye/Requirements" page has been changed by WolfgangSchweer:
https://wiki.debian.org/DebianEdu/Documentation/Bullseye/Requirements?action=diff&rev1=5&rev2=6

Comment:
amend gateway setup related instructions

  After the installation:
   * Adjust the /etc/network/interfaces file.
   * Change the hostname permanently to 'gateway'.
+  * Remove superfluous scripts.
   * Enable IP forwarding and NAT for the 10.0.0.0/8 network.
   * As an option install a firewall and / or a traffic shaping tool.
  
@@ -64, +65 @@

   sed -i 's/auto eth0/auto eth0 eth1/' /etc/network/interfaces
   sed -i '/eth1/ s/dhcp/static/' /etc/network/interfaces
   echo 'address 10.0.0.1' >> /etc/network/interfaces
-  echo 'netmask 255.0.0.0' >> /etc/network/interfaces
   hostname -b gateway
-  hostname > /etc/hostname 
+  hostname > /etc/hostname
+  rm -f /etc/dhcp/dhclient-exit-hooks.d/hostname 
+  rm -f /etc/dhcp/dhclient-exit-hooks.d/wpad-proxy-update 
+  rm -f /etc/dhcp/dhclient-exit-hooks.d/fetch-ldap-cert 
   service networking stop
   service networking start
   sed -i 's#NAT=#NAT="10.0.0.0/8"#' /etc/default/enable-nat 



More information about the debian-edu-commits mailing list