+ -
当前位置:首页 → 问答吧 → slackware12.1 网络连通性问题?

slackware12.1 网络连通性问题?

时间:2009-03-06

来源:互联网

环境设置:
winXp:ADSL方式上网 本地连接ip:192.168.0.1 netmask255.255.255.0 共享了ADSL
slackware12.2
ip:192.168.0.10
netmask 255.255.255.0
gateway:192.168.0.1
nameserver 202.102.192.68
nameserver 202.102.199.68

都是两台真是机器。我在xp上用winSCP PUTTY都可以登录slack但是 验证root用户的速度很慢。。。而且在slack上ping不同xp的ip..

我以前这样都可以的...
这里有什么阴谋啊....

作者: SuperL   发布时间: 2009-03-06

为题解决了。。原来是winxp上的WMI损坏。

使用一下批处理解决了....
@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak
for %%i in (*.dll) do RegSvr32 -s %%i
for %%i in (*.exe) do call :FixSrv %%i
for %%i in (*.mof,*.mfl) do Mofcomp %%i
net start winmgmt
goto End

:FixSrv
if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer

:SkipSrv
goto End

:TryInstall
if not exist wmicore.exe goto End
wmicore /s
net start winmgmt
:End

作者: SuperL   发布时间: 2009-03-07

热门下载

更多