diff --git a/scripts/SetStaticEthernetIP.bat b/scripts/SetStaticEthernetIP.bat index adc38ce..e642648 100644 --- a/scripts/SetStaticEthernetIP.bat +++ b/scripts/SetStaticEthernetIP.bat @@ -3,7 +3,7 @@ echo off set "params=%*" cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul || ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B ) -netsh interface ip set address name="Ethernet 5" source=static ^ address=10.50.26.5 mask=255.255.255.0 gate=10.10.0.1 +netsh interface ip set address name="Ethernet 5" source=static ^ address=10.99.92.5 mask=255.255.255.0 gate=10.10.0.1 exit \ No newline at end of file diff --git a/scripts/SetStaticIP.bat b/scripts/SetStaticIP.bat index edfc267..26cc396 100644 --- a/scripts/SetStaticIP.bat +++ b/scripts/SetStaticIP.bat @@ -3,7 +3,7 @@ echo off set "params=%*" cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul || ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B ) -netsh interface ip set address name="Wi-Fi" source=static ^ address=10.50.26.5 mask=255.255.255.0 gate=10.10.0.1 +netsh interface ip set address name="Wi-Fi" source=static ^ address=10.99.92.5 mask=255.255.255.0 gate=10.10.0.1 netsh interface ip set dnsservers "Wi-Fi" static 8.8.8.8 validate=no