网吧机怎么不拔网线改IP

来源:百度知道 编辑:UC知道 时间:2024/05/12 02:00:58
我在网吧工作,可是每次修改IP的时候都要拔了网线。。我们这不方便拔网线,想找个简单的方法。。请大家帮个忙。。谁能告诉我这个问题,怎么解决。 回答的好了我给追加分数。。。有急用。谢谢了
不行啊。我试了。。还是要拔网线。。我是一打开网上邻居属性。就一下自动关闭了。。拔了网线就没事了。。是怎么搞定啊。请高手帮帮忙啦~~~~

ipconfig/renew
ipconfig/release

开始那里点运行输入IPCONFIG /RENEW或者先输入CMD回车出了界面再输入IPCONFIG /RENEW

修改IP为什么要拔网线?

@echo off
color c
echo ┌————————————————————┐
echo ┆网吧自动改IP.计算机名.cscdkey.ipx (beta)┆
echo ┆QQ25969805 ┆
echo └————————————————————┘
echo the config.txt format is(ip_name_mac_netmask_netgate_dns_dns2_cscdkey_ipx)
echo get physical address...
ipconfig /all | find "Physical Address" >%temp%\mac.txt
for /f " tokens=12" %%i in (%temp%\mac.txt) do set mymac=%%i
echo physical address is %mymac%

if exist config~.txt goto help

:return
echo load config.txt...
find "%mymac%" config.txt >%temp%\mac.txt
if ERRORLEVEL=1 goto noconfig

for /f "skip=2 tokens=2" %%i in (%temp%\mac.txt) do set mymac=%%i
echo name %mymac%
for /f "skip=2 tokens=1" %%i in (%t