From 551dc5b36ee6fdada836bcf7a699480ec64f96e5 Mon Sep 17 00:00:00 2001 From: hehaoyang Date: Thu, 25 Jan 2024 14:19:42 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BF=AE=E6=94=B9eth0?= =?UTF-8?q?=E7=BD=91=E5=8D=A1=E5=90=8E=E6=97=A0=E6=B3=95=E4=B8=8A=E7=BD=91?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../recipes/set-jumbo-frame/files/set_jumbo_frame.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yocto/meta-quectel-app/recipes/set-jumbo-frame/files/set_jumbo_frame.sh b/yocto/meta-quectel-app/recipes/set-jumbo-frame/files/set_jumbo_frame.sh index 12f16b0150..cf914bd8cf 100644 --- a/yocto/meta-quectel-app/recipes/set-jumbo-frame/files/set_jumbo_frame.sh +++ b/yocto/meta-quectel-app/recipes/set-jumbo-frame/files/set_jumbo_frame.sh @@ -50,6 +50,9 @@ do_set_jumbo_frame () { route add default gw $SUBNET_NETMASK > /dev/null + touch /etc/resolv.conf + echo "nameserver $SUBNET_NETMASK" > /etc/resolv.conf + echo "ip addr show eth$n...." ip addr show eth$n > /dev/null rc=$?