merhaba arkadaşlar ben kanal eklerken modemi kapatıp açıyorum fakat ıp degişmiyor nedenini bulamadım. Oto reset tarzı programlar varsa yardımcı olun videoyap a kanal ekleyemeyemiyorum.
Herkese bol kazançlar
Herkese bol kazançlar
Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için lütfen foruma kayıt olun veya giriş yapın. Üyelik tamamen ücretsizdir ve sadece birkaç dakikanızı alır.
Kablonetse modemi kapatıp açmakla ipi değiştiremezsin.
Bir .bat dosyası vardı bir zamanlar, biraz araştırın hocam![]()
sabit IP olabilir hocam.
Ne yapmam lazim hocam sonuçta temiz çalışmak gerek her kanala girdiğimizde ip degisik olmasi lazım
Hocam internet sağlayıcıyla konuşup Dinamik ip'ye geçiş yapmanız lazım. Normalde modem kapanıp açıldığında ip'nin değişmesi gerekiyor, Dinamik ise.
Sizinki Statik ip.
Başka bir çözüm yolu yok mu
Option Explicit 'Enforce strict naming
Dim WSH, FSO
Dim objComputer, objWMIService, objOperatingSystem, objNetAdapter
Dim strTitle, strVersion, strThisPC, strComputername, strCompNameRegPath, strWorkgroup
Dim strCCS, strTcpipParamsRegPath, strIPAddress, strSubnetMask, strGateway, strGatewayMetric
Dim colMEM, colNetAdapters, colOperatingSystems
Dim errEnable, errGateways
'Setup scripting environment
Set WSH = CreateObject ("WSCript.shell")
Set FSO = CreateObject("Scripting.FileSystemObject")
'Set Version info
strVersion = "v04"
'Set target PC for WMI
strThisPC = "."
'Set the Title for any dialogs
strTitle = "XP Clone Changer " & strVersion
'------------------------------------------------------------------------
'Section 1 - Use WMI to change IP address, subnet mask and gateway
WSH.Popup "Preparing to change IP address, subnet mask and gateway... Please wait.",2, strTitle 'Inform user
'Setup WMI
Set objWMIService = GetObject("winmgmts:\\" & strThisPC & "\root\cimv2")
'Set specific WMI query so 1394 adapter is excluded
Set colNetAdapters = objWMIService.ExecQuery _
("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE")
'Get user input into an array
strIPAddress = Array(InputBox("Enter the new IP address"))
strSubnetMask = Array(InputBox("Enter the new Subnet mask"))
strGateway = Array(InputBox("Enter the new Gateway address"))
'Inform user
WSH.Popup "Please be patient whilst changes are made. This could take 10 seconds or more.",3, strTitle 'Inform user
strGatewayMetric = Array(1)
'Make the changes
For Each objNetAdapter in colNetAdapters
errEnable = objNetAdapter.EnableStatic(strIPAddress, strSubnetMask)
errGateways = objNetAdapter.SetGateways(strGateway, strGatewaymetric)
If errEnable = 0 Then
WSH.Popup "The IP address has been changed.",2,strTitle 'Inform user of success
Else
WSH.Popup "The IP address could not be changed automatically." & vbCrLf & vbCrLf &_
"This may be because the PC/Laptop is not connected to an active network." & vbCrLf & vbCrLf &_
"Please check the IP settings manually afterwards.",2,strTitle 'Inform user of failure
End If
Next
Set WSH = Nothing
Set FSO = Nothing
Set objWMIService = Nothing
Set colNetAdapters = Nothing
Set colMEM = Nothing
WScript.Quit
hocam videolu anlatım varmı?cmd ile yapabilirsin. otomatik değil ama yöntemleştirirseniz otomatikleşir.
ipconfig /release (ip sıfırlar)
ipconfig /renew (yeni ip alır)
ve ayrıca masaüstüne bi text dosyası oluştur. reset.vbs olarak yaz ismini. ve içine yapıştr. esinlen
Kod:Option Explicit 'Enforce strict naming Dim WSH, FSO Dim objComputer, objWMIService, objOperatingSystem, objNetAdapter Dim strTitle, strVersion, strThisPC, strComputername, strCompNameRegPath, strWorkgroup Dim strCCS, strTcpipParamsRegPath, strIPAddress, strSubnetMask, strGateway, strGatewayMetric Dim colMEM, colNetAdapters, colOperatingSystems Dim errEnable, errGateways 'Setup scripting environment Set WSH = CreateObject ("WSCript.shell") Set FSO = CreateObject("Scripting.FileSystemObject") 'Set Version info strVersion = "v04" 'Set target PC for WMI strThisPC = "." 'Set the Title for any dialogs strTitle = "XP Clone Changer " & strVersion '------------------------------------------------------------------------ 'Section 1 - Use WMI to change IP address, subnet mask and gateway WSH.Popup "Preparing to change IP address, subnet mask and gateway... Please wait.",2, strTitle 'Inform user 'Setup WMI Set objWMIService = GetObject("winmgmts:\\" & strThisPC & "\root\cimv2") 'Set specific WMI query so 1394 adapter is excluded Set colNetAdapters = objWMIService.ExecQuery _ ("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE") 'Get user input into an array strIPAddress = Array(InputBox("Enter the new IP address")) strSubnetMask = Array(InputBox("Enter the new Subnet mask")) strGateway = Array(InputBox("Enter the new Gateway address")) 'Inform user WSH.Popup "Please be patient whilst changes are made. This could take 10 seconds or more.",3, strTitle 'Inform user strGatewayMetric = Array(1) 'Make the changes For Each objNetAdapter in colNetAdapters errEnable = objNetAdapter.EnableStatic(strIPAddress, strSubnetMask) errGateways = objNetAdapter.SetGateways(strGateway, strGatewaymetric) If errEnable = 0 Then WSH.Popup "The IP address has been changed.",2,strTitle 'Inform user of success Else WSH.Popup "The IP address could not be changed automatically." & vbCrLf & vbCrLf &_ "This may be because the PC/Laptop is not connected to an active network." & vbCrLf & vbCrLf &_ "Please check the IP settings manually afterwards.",2,strTitle 'Inform user of failure End If Next Set WSH = Nothing Set FSO = Nothing Set objWMIService = Nothing Set colNetAdapters = Nothing Set colMEM = Nothing WScript.Quit
bunda belirlediğiniz ip veriliyo. isterseniz otomatikleştirebilirsiniz
cmd ile yapabilirsin. otomatik değil ama yöntemleştirirseniz otomatikleşir.
ipconfig /release (ip sıfırlar)
ipconfig /renew (yeni ip alır)
ve ayrıca masaüstüne bi text dosyası oluştur. reset.vbs olarak yaz ismini. ve içine yapıştr. esinlen
Kod:Option Explicit 'Enforce strict naming Dim WSH, FSO Dim objComputer, objWMIService, objOperatingSystem, objNetAdapter Dim strTitle, strVersion, strThisPC, strComputername, strCompNameRegPath, strWorkgroup Dim strCCS, strTcpipParamsRegPath, strIPAddress, strSubnetMask, strGateway, strGatewayMetric Dim colMEM, colNetAdapters, colOperatingSystems Dim errEnable, errGateways 'Setup scripting environment Set WSH = CreateObject ("WSCript.shell") Set FSO = CreateObject("Scripting.FileSystemObject") 'Set Version info strVersion = "v04" 'Set target PC for WMI strThisPC = "." 'Set the Title for any dialogs strTitle = "XP Clone Changer " & strVersion '------------------------------------------------------------------------ 'Section 1 - Use WMI to change IP address, subnet mask and gateway WSH.Popup "Preparing to change IP address, subnet mask and gateway... Please wait.",2, strTitle 'Inform user 'Setup WMI Set objWMIService = GetObject("winmgmts:\\" & strThisPC & "\root\cimv2") 'Set specific WMI query so 1394 adapter is excluded Set colNetAdapters = objWMIService.ExecQuery _ ("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE") 'Get user input into an array strIPAddress = Array(InputBox("Enter the new IP address")) strSubnetMask = Array(InputBox("Enter the new Subnet mask")) strGateway = Array(InputBox("Enter the new Gateway address")) 'Inform user WSH.Popup "Please be patient whilst changes are made. This could take 10 seconds or more.",3, strTitle 'Inform user strGatewayMetric = Array(1) 'Make the changes For Each objNetAdapter in colNetAdapters errEnable = objNetAdapter.EnableStatic(strIPAddress, strSubnetMask) errGateways = objNetAdapter.SetGateways(strGateway, strGatewaymetric) If errEnable = 0 Then WSH.Popup "The IP address has been changed.",2,strTitle 'Inform user of success Else WSH.Popup "The IP address could not be changed automatically." & vbCrLf & vbCrLf &_ "This may be because the PC/Laptop is not connected to an active network." & vbCrLf & vbCrLf &_ "Please check the IP settings manually afterwards.",2,strTitle 'Inform user of failure End If Next Set WSH = Nothing Set FSO = Nothing Set objWMIService = Nothing Set colNetAdapters = Nothing Set colMEM = Nothing WScript.Quit
bunda belirlediğiniz ip veriliyo. isterseniz otomatikleştirebilirsiniz
Farklı bir görünüm için alternatif header yapısını kolayca seçebilirsiniz.
Tam ekran ve dar ekran modları arasında geçiş yapın.
Izgara modu ile içerikleri kolayca inceleyin ve düzenli bir görünüm elde edin.
Arka plan görselleriyle içeriğinizi düzenli ve görsel olarak zengin bir şekilde görüntüleyin.
Yan paneli gizleyerek daha geniş bir çalışma alanı oluşturun.
Yan paneli sabitleyerek sürekli erişim sağlayın ve içeriğinizi kolayca yönetin.
Temanızın yanlarına box tarzı bir çerçeve ekleyebilir veya mevcut çerçeveyi kaldırabilirsiniz. 1300px üstü çözünürler için geçerlidir.
Köşe yuvarlama efektini açıp kapatarak görünümü dilediğiniz gibi özelleştirin.
Tarzınızı yansıtan rengi belirleyin ve estetik uyumu sağlayın.