From 5c23587c31956ce5bd5196d6eb17de590e05cb82 Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Fri, 13 May 2022 22:10:14 -0500 Subject: [PATCH] Update gig-ether--speedup-linux.sh --- gig-ether--speedup-linux.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gig-ether--speedup-linux.sh b/gig-ether--speedup-linux.sh index cc976e9..3d0c7e6 100644 --- a/gig-ether--speedup-linux.sh +++ b/gig-ether--speedup-linux.sh @@ -32,8 +32,8 @@ sysctl net.ipv4.tcp_mem='98304 131072 196608' # determine interfaces found OTF xxx 2017.0319 #for e in `ifconfig -a |grep flags |awk '{print $1}'`; do -# fix for cubietruck 2019 -for e in `ifconfig -a |grep flags |awk -F: '{print $1}'`; do + +for e in $(ifconfig -a |grep flags |awk -F: '{print $1}'); do ifconfig $e txqueuelen 5000 #ifconfig eth1 txqueuelen 5000 done @@ -42,11 +42,7 @@ ifconfig -a > /root/ifconfig-a.txt ip a >> /root/ifconfig-a.txt chmod 500 /root/ifconfig-a.txt -# use faster usb wireless if connected -#fwifi=`lsmod |grep -c rt2800usb` -#[ "$fwifi" -gt 0 ] && /root/bin/boojum/wireless-commandline.sh & #http://datatag.web.cern.ch/datatag/howto/tcp.html #sysctl sys.net.core.netdev_max_backlog=2000 # unknown ##sysctl net.ipv4.tcp_sack=0 -