@ECHO OFF
set varip=192.168.1.126
set varsm=255.255.255.0
set vargw=192.168.1.5
set vardns1=192.168.1.99
set vardns2=192.168.1.104
set varhome=www.google.com
ECHO Bu Kod Hakan Oncel Tarafindan yazilmistir.
ECHO IP Addresi ve Subnet Mask Ayarlaniyor
REM CALISAN netsh interface ipv4 set address name="Local Area Connection 5" static 192.168.1.126 255.255.255.0 192.168.1.5 1
netsh int ipv4 set address name = "Local Area Connection 5" source = static addr = %varip% mask = %varsm%
ECHO Birincil DNS Ayarlaniyor
netsh int ipv4 set dns name = "Local Area Connection 5" source = static addr = %vardns1%
ECHO Ikincil DNS Ayarlaniyor
netsh int ipv4 add dns name = "Local Area Connection 5" addr = %vardns2%
ECHO Wireless karti aktif ediliyor.
netsh interface set interface "Wireless Network Connection" ENABLED
--------------------------------
@ECHO OFF
set varip=192.168.1.126
set varsm=255.255.255.0
set vargw=192.168.1.5
set vardns1=192.168.1.99
set vardns2=192.168.1.104
set varhome=www.google.com
ECHO Bu Kod Hakan Oncel Tarafindan yazilmistir.
ECHO IP Addresi ve Subnet Mask Ayarlaniyor
netsh int ipv4 set address name = "Local Area Connection 5" source = static addr = %varip% mask = %varsm% gateway = %vargw% gwmetric = 1
ECHO Birincil DNS Ayarlaniyor
netsh int ipv4 set dns name = "Local Area Connection 5" source = static addr = %vardns1%
ECHO Ikincil DNS Ayarlaniyor
netsh int ipv4 add dns name = "Local Area Connection 5" addr = %vardns2%
ECHO Wireless karti devre disi birakiliyor.
netsh interface set interface "Wireless Network Connection" DISABLED
-------------------------
@ECHO OFF
set varip=192.168.3.205
set varsm=255.255.255.0
set vargw=192.168.3.2
set vardns1=8.8.8.8
set vardns2=8.8.4.4
set varhome=www.google.com
ECHO Bu Kod Hakan Oncel Tarafindan yazilmistir.
ECHO Wireless karti aktif ediliyor.
netsh interface set interface "Wireless Network Connection" ENABLED
ECHO IP Addresi ve Subnet Mask Ayarlaniyor
netsh int ipv4 set address name = "Wireless Network Connection" source = static addr = %varip% mask = %varsm% gateway = %vargw% gwmetric = 1
ECHO Birincil DNS Ayarlaniyor
netsh int ipv4 set dns name = "Wireless Network Connection" source = static addr = %vardns1%
ECHO Ikincil DNS Ayarlaniyor
netsh int ipv4 add dns name = "Wireless Network Connection" addr = %vardns2%
--------------------------
@ECHO OFF
ECHO Bu Kod Hakan Oncel Tarafindan yazilmistir.
ECHO Wireless karti aktif ediliyor.
netsh interface set interface "Wireless Network Connection" ENABLED
ECHO IP Addresi ve Subnet Mask Ayarlaniyor
netsh int ip set address "Wireless Network Connection" dhcp
ECHO Birincil DNS Ayarlaniyor
netsh int ipv4 set dns name = "Wireless Network Connection" source = static addr = 8.8.8.8
ECHO Ikincil DNS Ayarlaniyor
netsh int ipv4 add dns name = "Wireless Network Connection" addr = 8.8.4.4
netsh int ip show config
pause
set varip=192.168.1.126
set varsm=255.255.255.0
set vargw=192.168.1.5
set vardns1=192.168.1.99
set vardns2=192.168.1.104
set varhome=www.google.com
ECHO Bu Kod Hakan Oncel Tarafindan yazilmistir.
ECHO IP Addresi ve Subnet Mask Ayarlaniyor
REM CALISAN netsh interface ipv4 set address name="Local Area Connection 5" static 192.168.1.126 255.255.255.0 192.168.1.5 1
netsh int ipv4 set address name = "Local Area Connection 5" source = static addr = %varip% mask = %varsm%
ECHO Birincil DNS Ayarlaniyor
netsh int ipv4 set dns name = "Local Area Connection 5" source = static addr = %vardns1%
ECHO Ikincil DNS Ayarlaniyor
netsh int ipv4 add dns name = "Local Area Connection 5" addr = %vardns2%
ECHO Wireless karti aktif ediliyor.
netsh interface set interface "Wireless Network Connection" ENABLED
--------------------------------
@ECHO OFF
set varip=192.168.1.126
set varsm=255.255.255.0
set vargw=192.168.1.5
set vardns1=192.168.1.99
set vardns2=192.168.1.104
set varhome=www.google.com
ECHO Bu Kod Hakan Oncel Tarafindan yazilmistir.
ECHO IP Addresi ve Subnet Mask Ayarlaniyor
netsh int ipv4 set address name = "Local Area Connection 5" source = static addr = %varip% mask = %varsm% gateway = %vargw% gwmetric = 1
ECHO Birincil DNS Ayarlaniyor
netsh int ipv4 set dns name = "Local Area Connection 5" source = static addr = %vardns1%
ECHO Ikincil DNS Ayarlaniyor
netsh int ipv4 add dns name = "Local Area Connection 5" addr = %vardns2%
ECHO Wireless karti devre disi birakiliyor.
netsh interface set interface "Wireless Network Connection" DISABLED
-------------------------
@ECHO OFF
set varip=192.168.3.205
set varsm=255.255.255.0
set vargw=192.168.3.2
set vardns1=8.8.8.8
set vardns2=8.8.4.4
set varhome=www.google.com
ECHO Bu Kod Hakan Oncel Tarafindan yazilmistir.
ECHO Wireless karti aktif ediliyor.
netsh interface set interface "Wireless Network Connection" ENABLED
ECHO IP Addresi ve Subnet Mask Ayarlaniyor
netsh int ipv4 set address name = "Wireless Network Connection" source = static addr = %varip% mask = %varsm% gateway = %vargw% gwmetric = 1
ECHO Birincil DNS Ayarlaniyor
netsh int ipv4 set dns name = "Wireless Network Connection" source = static addr = %vardns1%
ECHO Ikincil DNS Ayarlaniyor
netsh int ipv4 add dns name = "Wireless Network Connection" addr = %vardns2%
--------------------------
@ECHO OFF
ECHO Bu Kod Hakan Oncel Tarafindan yazilmistir.
ECHO Wireless karti aktif ediliyor.
netsh interface set interface "Wireless Network Connection" ENABLED
ECHO IP Addresi ve Subnet Mask Ayarlaniyor
netsh int ip set address "Wireless Network Connection" dhcp
ECHO Birincil DNS Ayarlaniyor
netsh int ipv4 set dns name = "Wireless Network Connection" source = static addr = 8.8.8.8
ECHO Ikincil DNS Ayarlaniyor
netsh int ipv4 add dns name = "Wireless Network Connection" addr = 8.8.4.4
netsh int ip show config
pause