diff --git a/app/src/main/assets/eth.sh b/app/src/main/assets/eth.sh index dc28073c..6cb68c27 100644 --- a/app/src/main/assets/eth.sh +++ b/app/src/main/assets/eth.sh @@ -105,7 +105,7 @@ echo "IP configuration before UP: $PRE_UP_IP (1=configured, 0=missing)" # Enable interface and wait for UP echo "Bringing up interface..." /system/bin/ip link set eth0 up -sleep 0.2 +sleep 1 # Check if IP was lost after interface UP (common issue on MTK devices) POST_UP_IP=$(/system/bin/ip addr show eth0 | grep -c "inet $ETH_IP")