From e02b52fa74f370aba9b94d75b72f56d2f711fa28 2018-12-16 23:07:55 From: Unknown Date: 2018-12-16 23:07:55 Subject: [PATCH] a --- diff --git a/bootstrap.d/20-networking.sh b/bootstrap.d/20-networking.sh index 3aca05f..f80f006 100644 --- a/bootstrap.d/20-networking.sh +++ b/bootstrap.d/20-networking.sh @@ -30,6 +30,10 @@ install_readonly files/network/interfaces "${ETC_DIR}/network/interfaces" # Install configuration for interface eth0 install_readonly files/network/eth.network "${ETC_DIR}/systemd/network/eth.network" +if [ "$RPI_MODEL" = 3P ] ; then +printf "\n[Link]\nGenericReceiveOffload=off\nTCPSegmentationOffload=off\nGenericSegmentationOffload=off" >> "${ETC_DIR}/systemd/network/eth.network" +fi + # Install configuration for interface wl* install_readonly files/network/wlan.network "${ETC_DIR}/systemd/network/wlan.network"