Selaa lähdekoodia

[Improve][rootfs][udhcpc]

2022.03.30 / Folus Wen

Actions:
1. DNS timeout change to 3 seconds.

Files:
1. As follow commit history

Image version: D0.00.XX.XXXX.XX
Image checksum: XXXXXXXX

Hardware PWB P/N : XXXXXXX
Hardware Version : XXXXXXX
FolusWen 3 vuotta sitten
vanhempi
commit
74afb406ee

+ 1 - 1
EVSE/rootfs/etc/resolv.conf

@@ -1,2 +1,2 @@
 nameserver 8.8.8.8
-options timeout:0 attempts:1 rotate single-request-reopen
+options timeout:3 attempts:1 rotate single-request-reopen

+ 1 - 1
EVSE/rootfs/root/dhcp_script/eth0.script

@@ -34,7 +34,7 @@ case "$1" in
 		done
 		echo nameserver 8.8.8.8 >> $RESOLV_CONF
 		echo nameserver 180.76.76.76 >> $RESOLV_CONF
-		echo options timeout:0 attempts:1 rotate single-request-reopen >> $RESOLV_CONF
+		echo options timeout:3 attempts:1 rotate single-request-reopen >> $RESOLV_CONF
 		;;
 esac
 

+ 1 - 1
EVSE/rootfs/root/dhcp_script/eth1.script

@@ -34,7 +34,7 @@ case "$1" in
 		done
 		echo nameserver 8.8.8.8 >> $RESOLV_CONF
 		echo nameserver 180.76.76.76 >> $RESOLV_CONF
-		echo options timeout:0 attempts:1 rotate single-request-reopen >> $RESOLV_CONF
+		echo options timeout:3 attempts:1 rotate single-request-reopen >> $RESOLV_CONF
 		;;
 esac
 

+ 1 - 1
EVSE/rootfs/root/dhcp_script/wifi.script

@@ -34,7 +34,7 @@ case "$1" in
 		done
 		echo nameserver 8.8.8.8 >> $RESOLV_CONF
 		echo nameserver 180.76.76.76 >> $RESOLV_CONF
-		echo options timeout:0 attempts:1 rotate single-request-reopen >> $RESOLV_CONF
+		echo options timeout:3 attempts:1 rotate single-request-reopen >> $RESOLV_CONF
 		;;
 esac