[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/Documentation/Bullseye/Requirements" by WolfgangSchweer
Debian Wiki
wiki at debian.org
Thu Apr 16 21:36:51 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=6&rev2=7
Comment:
improve gateway setup related instructions
#
sed -i 's/auto eth0/auto eth0 eth1/' /etc/network/interfaces
sed -i '/eth1/ s/dhcp/static/' /etc/network/interfaces
+ sed -i '/post-up/d' /etc/network/interfaces
echo 'address 10.0.0.1' >> /etc/network/interfaces
+ echo 'dns-nameservers 10.0.2.2' >> /etc/network/interfaces
+ echo 'dns-domain intern' >> /etc/network/interfaces
hostname -b gateway
hostname > /etc/hostname
- rm -f /etc/dhcp/dhclient-exit-hooks.d/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/wpad-proxy-update
- rm -f /etc/dhcp/dhclient-exit-hooks.d/fetch-ldap-cert
+ rm -f /etc/dhcp/dhclient-exit-hooks.d/fetch-ldap-cert
+ rm -f /etc/network/if-up.d/wpad-proxy-update
+ sed -i 's/domain-name,//' /etc/dhcp/dhclient-debian-edu.conf
+ sed -i 's/domain-search,//' /etc/dhcp/dhclient-debian-edu.conf
service networking stop
service networking start
- sed -i 's#NAT=#NAT="10.0.0.0/8"#' /etc/default/enable-nat
+ sed -i 's#NAT=#NAT="10.0.0.0/8"#' /etc/default/enable-nat
service enable-nat restart
# You might want a firewall (shorewall or ufw) and traffic shaping.
#apt update
More information about the debian-edu-commits
mailing list