|
試試看吧...
netshell.dll 和 ifmon.dll 要放到SYSTEM32內...
我不知道你還會不會缺檔案...假如是以老毛桃的基礎做出來的PE...應該是沒缺檔案了...
CMD內寫以下的內容...
或是加在你啟動網路的CMD的最後面...
(注意...區域連線的中文要改成簡體的...不過我忘記簡體的是叫什麼了...
裡面 IP MASK DNS 請改成你自己要的...)
- net stop dhcp
- rundll32 netshell.dll HrRenameConnection
- netsh add helper ifmon.dll
- netsh interface ip set address "區域連線" static addr=192.168.1.147 mask=255.255.255.0 gateway=192.168.1.252 auto
- pecmd.exe wait 1000
- netsh interface ip set address "區域連線" static addr=192.168.1.147 mask=255.255.255.0 gateway=192.168.1.252 auto
- pecmd.exe wait 1000
- netsh interface ip set dns "區域連線" static 192.168.1.252
- netsh interface ip add dns "區域連線" 192.168.1.253
- net start dhcp
复制代码 |
|