|
heicai
中级用户
  
积分 385
发帖 156
注册 2007-1-19
状态 离线
|
|
2007-1-24 07:16 |
|
|
qasa
高级用户
   
积分 959
发帖 311
注册 2006-4-11 来自 广东-LianJiang
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
小气,下载也不加分,哼~~~~~
Stingy, not giving points for downloading, hum~~~~~
|

κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生 |
|
2007-1-24 07:25 |
|
|
zhenyun168
初级用户
 
积分 24
发帖 13
注册 2007-1-27
状态 离线
|
|
2007-1-27 13:58 |
|
|
david5188
新手上路

积分 5
发帖 2
注册 2007-1-27
状态 离线
|
|
2007-1-27 14:55 |
|
|
qasa
高级用户
   
积分 959
发帖 311
注册 2006-4-11 来自 广东-LianJiang
状态 离线
|
 『第 20 楼』:
[原创]全自动设置机号、IP、并安装冰点工具(网吧版)
使用 LLM 解释/回答一下
──────────────── 版务记录 ────────────────
执行:namejm
说明:{tid=27285}“全自动设置机号、IP、并安装冰点工具(网吧版)”
与本主题重复,合并到本主题下。
──────────────── 版务记录 ────────────────
也有好多天没发过贴了,可能是太忙了的缘故吧,今天有小空就把我在之前版本的基础上改进下:
原来的版本:全自动设置机号、IP工具(绝对实用)
http://www.cn-dos.net/forum/viewthread.php?tid=26870&fpage=2
改版:
双击IP.bat后,做镜像,然后第一次启动时改机号、IP;第二次启动安装冰点。
里面的有些设置请根据自己网吧来设置,主要是加入了自动安装冰点的功能。
请把冰点的客户端文件名改为:df.exe 或修改ip.bat里对应的名字。
你的加分是我的支持,谢谢!!!
ip.bat
@set dbg=
@echo %dbg% off&setlocal enabledelayedexpansion
:: code by qasa copyright@qknet 21:16 2007-1-31
:: E-mail: qknet@21cn.com
title 全自动设置机号、IP、安装冰点工具 作者:qasa
set no_=0
mode con cols=40 lines=10&color fc
if exist c:\ip\key.txt goto setup_
if not exist c:\ip\norestat.txt (
copy c:\ip\ippp.lnk C:\Docume~1\Admini~1\「开始~1\程序\启动\. >nul
goto restat_
)
for /f "tokens=12 delims= " %%i in ('ipconfig /all^|find /i "Physical Address"') do (
set mac=%%i
set mac=!mac:~0,-1!
)
for /f "tokens=1-3 delims==|" %%j in (MAC.INI) do (
set mac_=%%j
set ip_=%%k
set sm_=%%l
if !mac! equ !mac_! (
call :set_ !mac_! !ip_! !sm_!
set /a no_+=1
)
)
if "!no_!"=="0" (
echo.&echo MAC.ini中没有此机的MAC地址,将发送到工作机上......
echo %date% %time%新发现的MAC地址:>>NewMAC.ini&echo !mac! >>NewMAC.ini
echo %date% %time%新发现的MAC地址:>>\\游戏主机\full$\NewMAC.ini&echo !mac! >>\\游戏主机
\full$\NewMAC.ini
echo.&echo 已经发送到工作机! ! !
)
start shutdown -r -t 90 -c 90秒后将重启,下次启动将安装冰点。
echo.
set/p zz_= 按Q键退出关机状态:
if /i !zz_! equ q (
start shutdown -a
del /q C:\Docume~1\Admini~1\「开始~1\程序\启动\ippp.lnk
del /q c:\ip\key.txt
del /q c:\ip\norestat.txt
)
ping/n 3 127.1>nul
exit /b
:set_
echo %1 %2 %3
set yy_=%3
echo.&echo 正在为%yy_:~1,3%号设置IP、机号...... 请稍候
for /f "tokens=1-4 delims==|" %%e in (DNS.ini) do (
set dns1_=%%e
set dns2_=%%f
set workgate_=%%g
set zwym_=%%h
)
for /f "tokens=1 delims=" %%s in ('ipconfig /all^|find /i "Ethernet adapter"') do (set
ss_=%%s)
set ss_=%ss_:~17,-2%
for /l %%w in (1,1,2) do (
netsh interface IP Set Address "%ss_%" Static %2 %zwym_% %workgate_% 1 >nul
)
netsh interface IP Set Dns "%ss_%" static %dns1_% >nul
netsh interface ip add dns "%ss_%" %dns2_% >nul
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName /v
"ComputerName" /t REG_SZ /d %3 /f >nul 2>NUL
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName /v "ComputerName" /t
REG_SZ /d %3 /f >nul 2>NUL
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v "Hostname" /t REG_SZ
/d %3 /f >nul 2>NUL
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v "NV Hostname" /t REG_SZ
/d %3 /f >nul 2>NUL
echo.&echo 设置完毕
echo.>c:\ip\key.txt
goto :eof
:restat_
echo.>c:\ip\norestat.txt
start shutdown -r -t 20 -c 20秒后将重启,不要走开,将进行系统备份工作。
echo.
set/p zx_= 按Q键退出关机状态:
if /i !zx_! equ q (
start shutdown -a
del /q C:\Docume~1\Admini~1\「开始~1\程序\启动\ippp.lnk
del /q c:\ip\norestat.txt
)
ping/n 3 127.1>nul
exit /b
:setup_
del /q c:\ip\key.txt
del /q c:\ip\norestat.txt
del /q C:\Docume~1\Admini~1\「开始~1\程序\启动\ippp.lnk
echo 正在安装冰点还原软件......
df.exe /install
ping/n 5 127.1>nul
exit /b
DNS.INI
202.96.128.86=202.96.128.186|125.90.79.1|255.255.255.0
MAC.INI
00-E0-4D-0F-64-8C=125.90.79.2|-002
00-E0-4D-0F-0A-57=125.90.79.3|-003
00-E0-4D-0E-D0-40=125.90.79.4|-004
00-E0-4D-0F-0A-56=125.90.79.5|-005
00-E0-4D-0F-42-86=125.90.79.6|-006
00-E0-4D-0F-0A-44=125.90.79.7|-007
00-E0-4D-0E-D0-48=125.90.79.8|-008
00-E0-4D-0D-F8-C5=125.90.79.9|-009
有什么建议请与我联系 E-mail:qknet@21cn.com
Last edited by namejm on 2007-2-2 at 03:24 PM ]
──────────────── Moderation Record ────────────────
Performed by: namejm
Explanation: {tid=27285}The " Fully Automatic Machine Number, IP Setting, and Ice冰点Tool Installation (Internet Cafe Version)" is duplicated with this topic, merged into this topic.
──────────────── Moderation Record ────────────────
I haven't posted for several days, maybe because I've been too busy. Today, I have a little free time and improved the previous version:
Original version: Fully Automatic Machine Number, IP Setting Tool (Absolutely Practical)
http://www.cn-dos.net/forum/viewthread.php?tid=26870&fpage=2
Revised version:
After double-clicking IP.bat, make an image, then change the machine number and IP during the first boot; install Ice冰点 during the second boot.
Some settings in it please set according to your own internet cafe. Mainly added the function of automatic Ice冰点 installation.
Please change the Ice冰点 client file name to: df.exe or modify the corresponding name in ip.bat.
Your plus points are my support, thank you!!!
ip.bat
@set dbg=
@echo %dbg% off&setlocal enabledelayedexpansion
:: code by qasa copyright@qknet 21:16 2007-1-31
:: E-mail: qknet@21cn.com
title Fully Automatic Machine Number, IP Setting, Ice冰点Tool Installation Tool Author:qasa
set no_=0
mode con cols=40 lines=10&color fc
if exist c:\ip\key.txt goto setup_
if not exist c:\ip\norestat.txt (
copy c:\ip\ippp.lnk C:\Docume~1\Admini~1\「开始~1\程序\启动\. >nul
goto restat_
)
for /f "tokens=12 delims= " %%i in ('ipconfig /all^|find /i "Physical Address"') do (
set mac=%%i
set mac=!mac:~0,-1!
)
for /f "tokens=1-3 delims==|" %%j in (MAC.INI) do (
set mac_=%%j
set ip_=%%k
set sm_=%%l
if !mac! equ !mac_! (
call :set_ !mac_! !ip_! !sm_!
set /a no_+=1
)
)
if "!no_!"=="0" (
echo.&echo There is no MAC address of this machine in MAC.ini, will send to the working machine......
echo %date% %time%Newly discovered MAC address:>>NewMAC.ini&echo !mac! >>NewMAC.ini
echo %date% %time%Newly discovered MAC address:>>\\Game Host\full$\NewMAC.ini&echo !mac! >>\\Game Host
\full$\NewMAC.ini
echo.&echo Has been sent to the working machine! ! !
)
start shutdown -r -t 90 -c It will restart after 90 seconds, and Ice冰点 will be installed next boot.
echo.
set/p zz_= Press Q key to exit shutdown state:
if /i !zz_! equ q (
start shutdown -a
del /q C:\Docume~1\Admini~1\「开始~1\程序\启动\ippp.lnk
del /q c:\ip\key.txt
del /q c:\ip\norestat.txt
)
ping/n 3 127.1>nul
exit /b
:set_
echo %1 %2 %3
set yy_=%3
echo.&echo Setting IP and machine number for %yy_:~1,3% number...... Please wait
for /f "tokens=1-4 delims==|" %%e in (DNS.ini) do (
set dns1_=%%e
set dns2_=%%f
set workgate_=%%g
set zwym_=%%h
)
for /f "tokens=1 delims=" %%s in ('ipconfig /all^|find /i "Ethernet adapter"') do (set
ss_=%%s)
set ss_=%ss_:~17,-2%
for /l %%w in (1,1,2) do (
netsh interface IP Set Address "%ss_%" Static %2 %zwym_% %workgate_% 1 >nul
)
netsh interface IP Set Dns "%ss_%" static %dns1_% >nul
netsh interface ip add dns "%ss_%" %dns2_% >nul
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName /v
"ComputerName" /t REG_SZ /d %3 /f >nul 2>NUL
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName /v "ComputerName" /t
REG_SZ /d %3 /f >nul 2>NUL
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v "Hostname" /t REG_SZ
/d %3 /f >nul 2>NUL
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v "NV Hostname" /t REG_SZ
/d %3 /f >nul 2>NUL
echo.&echo Setting completed
echo.>c:\ip\key.txt
goto :eof
:restat_
echo.>c:\ip\norestat.txt
start shutdown -r -t 20 -c It will restart after 20 seconds, don't go away, will carry out system backup work.
echo.
set/p zx_= Press Q key to exit shutdown state:
if /i !zx_! equ q (
start shutdown -a
del /q C:\Docume~1\Admini~1\「开始~1\程序\启动\ippp.lnk
del /q c:\ip\norestat.txt
)
ping/n 3 127.1>nul
exit /b
:setup_
del /q c:\ip\key.txt
del /q c:\ip\norestat.txt
del /q C:\Docume~1\Admini~1\「开始~1\程序\启动\ippp.lnk
echo Installing Ice冰点 restore software......
df.exe /install
ping/n 5 127.1>nul
exit /b
DNS.INI
202.96.128.86=202.96.128.186|125.90.79.1|255.255.255.0
MAC.INI
00-E0-4D-0F-64-8C=125.90.79.2|-002
00-E0-4D-0F-0A-57=125.90.79.3|-003
00-E0-4D-0E-D0-40=125.90.79.4|-004
00-E0-4D-0F-0A-56=125.90.79.5|-005
00-E0-4D-0F-42-86=125.90.79.6|-006
00-E0-4D-0F-0A-44=125.90.79.7|-007
00-E0-4D-0E-D0-48=125.90.79.8|-008
00-E0-4D-0D-F8-C5=125.90.79.9|-009
Please contact me for any suggestions E-mail:qknet@21cn.com
Last edited by namejm on 2007-2-2 at 03:24 PM ]
|

κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生 |
|
2007-2-1 10:32 |
|
|
qasa
高级用户
   
积分 959
发帖 311
注册 2006-4-11 来自 广东-LianJiang
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
做人要厚道,看贴回贴,下载加分是尊重别人的劳动成果的美德!
Be a decent person. Reading posts and replying, and downloading with points added are virtues that respect others' labor results!
附件
1: 全自动设置机号、IP、安装冰点工具.rar (2007-2-1 12:19, 3.39 KiB, 下载附件所需积分 1 点
,下载次数: 158)
|

κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生 |
|
2007-2-1 10:50 |
|
|
senffon
初级用户
 
积分 118
发帖 66
注册 2005-10-21
状态 离线
|
『第 22 楼』:
顶之,看来楼主是位网吧主管级人物!
使用 LLM 解释/回答一下
目前来讲网吧IP管理大部份采用AU3来编写工具,批处理解决很少见!楼主能原创如此功能的批处理看来功力不错!能留下QQ号交流一下吗?我的QQ:5415485
有空多多联系!
Last edited by senffon on 2007-2-1 at 11:56 AM ]
Currently, for Internet cafe IP management, most use AU3 to write tools, and batch processing solutions are very rare! The LZ can create such a functional batch processing, which shows that the skill is good! Can you leave the QQ number for communication? My QQ: 5415485. Contact more when free!
Last edited by senffon on 2007-2-1 at 11:56 AM ]
|
|
2007-2-1 11:53 |
|
|
mailnler
新手上路

积分 14
发帖 8
注册 2006-11-19
状态 离线
|
|
2007-2-2 00:25 |
|
|
bbq123bbq
初级用户
 
积分 197
发帖 77
注册 2006-9-19
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
支持.........拿下慢慢研究
Support.........Take it slowly and study it
|
|
2007-2-2 04:51 |
|
|
bosskof
初级用户
 
积分 22
发帖 11
注册 2006-5-11
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
1.最好放进开机批
2.冰点最好放在服务器上远程装..加参数加密码...盘符.还有时间参数/ allowtimechange
3..不用MAC来辨认了,IP够了
4.个人观点而已..-_-
1. It's best to put it in the boot batch.
2. Ice冰点 is best placed on the server for remote installation.. Add parameters, add passwords... Drive letters. Also, the time parameter /allowtimechange.
3. Don't use MAC for identification anymore, IP is enough.
4. Just personal opinion.. -_-
|
|
2007-2-2 10:13 |
|
|
benben1274
初级用户
 
积分 22
发帖 10
注册 2007-1-29
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
东西已经下载 谢谢 但 有些老游戏 需要添加网络ID号才能联网 比如红警 星际 帝国
请添加 网络ID 号 功能 可以随即产生或者指定
希望完善
The things have been downloaded, thanks. But some old games need to add network ID number to be able to connect to the Internet, such as Red Alert, StarCraft, Empire. Please add the function of network ID number, which can be randomly generated or specified. Hope to be improved.
|
|
2007-2-2 10:30 |
|
|
qasa
高级用户
   
积分 959
发帖 311
注册 2006-4-11 来自 广东-LianJiang
状态 离线
|
『第 27 楼』:
使用 LLM 解释/回答一下
Originally posted by bosskof at 2007-2-2 10:13:
1.最好放进开机批
2.冰点最好放在服务器上远程装..加参数加密码...盘符.还有时间参数/ allowtimechange
3..不用MAC来辨认了,IP够了
4.个人观点而已..-_-
谢谢楼上提出的观点
1、已经加入开机启动菜单。本来就是针对做母盘用的,当然这步是少不了。
2、冰点已经是生成带有密码的客户端,不用再加任何参数,要不然,放密码在批处理上的话,就容易泄密了,这样不好。
3、不用MAC来辨认的话,IP凭什么来确定??MAC地址是每台机的身份证,这是必要的辨认条件。
Originally posted by bosskof at 2007-2-2 10:13:
1. It's best to put it into the boot batch
2. It's best to install Deep Freeze on the server remotely.. add parameters and password... drive letter. Also time parameter / allowtimechange
3. Don't use MAC to identify, IP is enough
4. Just personal opinion..-_-
Thanks to the views put forward by the above
1. Already added to the boot menu. It was originally for making master disks, so this step is necessary.
2. Deep Freeze has already generated a client with a password, no need to add any more parameters. Otherwise, if the password is placed in the batch, it is easy to leak, which is not good.
3. If not using MAC to identify, on what basis does IP determine?? MAC address is the ID of each machine, which is a necessary identification condition.
|

κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生 |
|
2007-2-2 10:33 |
|
|
qasa
高级用户
   
积分 959
发帖 311
注册 2006-4-11 来自 广东-LianJiang
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
Originally posted by benben1274 at 2007-2-2 10:30:
东西已经下载 谢谢 但 有些老游戏 需要添加网络ID号才能联网 比如红警 星际 帝国
请添加 网络ID 号 功能 可以随即产生或者指定
希望完善
这功能比较容易实现。
Originally posted by benben1274 at 2007-2-2 10:30:
The things have been downloaded, thank you. But some old games need to add the network ID number to connect to the Internet, such as Red Alert, StarCraft, Empire.
Please add the network ID number function, which can be randomly generated or specified.
Hope to improve
This function is relatively easy to implement.
|

κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生 |
|
2007-2-2 10:59 |
|
|
lanlandefeng
新手上路

积分 12
发帖 5
注册 2006-12-26 来自 河南
状态 离线
|
『第 29 楼』:
使用 LLM 解释/回答一下
能用么? 我怎么用不了? 大家谁用过了说下可以么?
我很菜
Can it be used? Why can't I use it? Can anyone who has used it tell me? I'm very inexperienced
|
|
2007-2-3 02:39 |
|
|
qasa
高级用户
   
积分 959
发帖 311
注册 2006-4-11 来自 广东-LianJiang
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
Originally posted by lanlandefeng at 2007-2-3 02:39:
能用么? 我怎么用不了? 大家谁用过了说下可以么?
我很菜
使用时要留意,文件要解压到 C:\IP 这个目录才可以正常使用。
Originally posted by lanlandefeng at 2007-2-3 02:39:
Can it be used? Why can't I use it? Can anyone who has used it tell me?
I'm very newbie
When using, please pay attention that the file needs to be extracted to the C:\IP directory to work properly.
|

κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生 |
|
2007-2-3 04:10 |
|