Re: Network - one computer cant access files in the other
- From: "Broooz" <broooz@xxxxxxxxxxxx>
- Date: Sun, 10 Apr 2005 15:09:06 +0100
"Chuck" <none@xxxxxxxxxxx> wrote in message
news:ei6h5110kb5hobpnd94a43381v34pm74ct@xxxxxxxxxx
> <SNIP>
>
> OK, we'll start by enumerating the symptoms.
>
> Take the following code (everything inside the "#####"). (Please verify
> computer names and ip addresses).
>
> Open Notepad. Ensure that Format - Word Wrap is not checked. Highlight
> then
> Copy the code (Ctrl-C), precisely as it is presented, and Paste (Ctrl-V)
> into
> Notepad. Verify, and correct, names and addresses if necessary.
> Save the Notepad file as "cdiag.cmd", as type "All Files", into the root
> folder
> "C:\".
> Run it by Start - Run - "c:\cdiag".
> Wait patiently.
> When Notepad opens up displaying c:\cdiag.txt, first check Format and
> ensure
> that Word Wrap is NOT checked! Then, copy the entire contents (Ctrl-A
> Ctrl-C)
> and paste (Ctrl-V) into your next post.
>
> Do this from all computers, please, with all computers powered up and
> online.
>
> #####
>
> @echo off
> set FullTarget1=Laptop 192.168.2.3
> set FullTarget2=STUDY1 192.168.2.2
> set FullTarget3=
> set FullTarget4=
> set FullTargets=%FullTarget1% %FullTarget2% %FullTarget3% %FullTarget4%
> set FullTargets=%FullTargets% 127.0.0.1
> set PingTargets=www.yahoo.com 66.94.230.32 192.168.2.1
> Set Version=V1.31
> @echo CDiagnosis %Version% >c:\cdiag.txt
> @echo Start diagnosis for %computername% >>c:\cdiag.txt
> @echo Full Targets %FullTargets% >>c:\cdiag.txt
> for %%a in (%FullTargets%) do (
> @echo. >>c:\cdiag.txt
> @echo Target %%a >>c:\cdiag.txt
> @echo. >>c:\cdiag.txt
> @echo "%computername% ping %%a" >>c:\cdiag.txt
> @echo. >>c:\cdiag.txt
> ping %%a >>c:\cdiag.txt
> @echo. >>c:\cdiag.txt
> @echo "%computername% net view %%a" >>c:\cdiag.txt
> @echo. >>c:\cdiag.txt
> net view %%a >>c:\cdiag.txt
> )
> @echo. >>c:\cdiag.txt
> @echo Ping Targets %PingTargets% >>c:\cdiag.txt
> for %%a in (%PingTargets%) do (
> @echo. >>c:\cdiag.txt
> @echo Target %%a >>c:\cdiag.txt
> @echo. >>c:\cdiag.txt
> @echo "%computername% ping %%a" >>c:\cdiag.txt
> @echo. >>c:\cdiag.txt
> ping %%a >>c:\cdiag.txt
> )
> @echo. >>c:\cdiag.txt
> @echo End diagnosis for %computername% >>c:\cdiag.txt
> notepad c:\cdiag.txt
> :EOF
>
> #####
Here it is from my laptop. I also got "system error 5 has occurred access
denied" twice in the cmd session
The output was
CDiagnosis V1.31
Start diagnosis for LAPTOP
Full Targets Laptop 192.168.2.3 STUDY1 192.168.2.2 127.0.0.1
Target Laptop
"LAPTOP ping Laptop"
Pinging Laptop [192.168.2.3] with 32 bytes of data:
Reply from 192.168.2.3: bytes=32 time<1ms TTL=128
Reply from 192.168.2.3: bytes=32 time<1ms TTL=128
Reply from 192.168.2.3: bytes=32 time<1ms TTL=128
Reply from 192.168.2.3: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.2.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"LAPTOP net view Laptop"
Shared resources at Laptop
Laptop
Share name Type Used as Comment
-------------------------------------------------------------------------------
SharedDocs Disk
The command completed successfully.
Target 192.168.2.3
"LAPTOP ping 192.168.2.3"
Pinging 192.168.2.3 with 32 bytes of data:
Reply from 192.168.2.3: bytes=32 time<1ms TTL=128
Reply from 192.168.2.3: bytes=32 time<1ms TTL=128
Reply from 192.168.2.3: bytes=32 time<1ms TTL=128
Reply from 192.168.2.3: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.2.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"LAPTOP net view 192.168.2.3"
Shared resources at 192.168.2.3
Laptop
Share name Type Used as Comment
-------------------------------------------------------------------------------
SharedDocs Disk
The command completed successfully.
Target STUDY1
"LAPTOP ping STUDY1"
Pinging STUDY1 [192.168.2.2] with 32 bytes of data:
Reply from 192.168.2.2: bytes=32 time=1ms TTL=128
Reply from 192.168.2.2: bytes=32 time=2ms TTL=128
Reply from 192.168.2.2: bytes=32 time=2ms TTL=128
Reply from 192.168.2.2: bytes=32 time=2ms TTL=128
Ping statistics for 192.168.2.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 2ms, Average = 1ms
"LAPTOP net view STUDY1"
Target 192.168.2.2
"LAPTOP ping 192.168.2.2"
Pinging 192.168.2.2 with 32 bytes of data:
Reply from 192.168.2.2: bytes=32 time=1ms TTL=128
Reply from 192.168.2.2: bytes=32 time=2ms TTL=128
Reply from 192.168.2.2: bytes=32 time=2ms TTL=128
Reply from 192.168.2.2: bytes=32 time=2ms TTL=128
Ping statistics for 192.168.2.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 2ms, Average = 1ms
"LAPTOP net view 192.168.2.2"
Target 127.0.0.1
"LAPTOP ping 127.0.0.1"
Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"LAPTOP net view 127.0.0.1"
Shared resources at 127.0.0.1
Laptop
Share name Type Used as Comment
-------------------------------------------------------------------------------
SharedDocs Disk
The command completed successfully.
Ping Targets www.yahoo.com 66.94.230.32 192.168.2.1
Target www.yahoo.com
"LAPTOP ping www.yahoo.com"
Pinging www.yahoo.akadns.net [68.142.226.40] with 32 bytes of data:
Reply from 68.142.226.40: bytes=32 time=141ms TTL=55
Reply from 68.142.226.40: bytes=32 time=180ms TTL=55
Reply from 68.142.226.40: bytes=32 time=143ms TTL=55
Reply from 68.142.226.40: bytes=32 time=139ms TTL=55
Ping statistics for 68.142.226.40:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 139ms, Maximum = 180ms, Average = 150ms
Target 66.94.230.32
"LAPTOP ping 66.94.230.32"
Pinging 66.94.230.32 with 32 bytes of data:
Reply from 66.94.230.32: bytes=32 time=180ms TTL=56
Reply from 66.94.230.32: bytes=32 time=181ms TTL=56
Reply from 66.94.230.32: bytes=32 time=180ms TTL=55
Reply from 66.94.230.32: bytes=32 time=181ms TTL=55
Ping statistics for 66.94.230.32:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 180ms, Maximum = 181ms, Average = 180ms
Target 192.168.2.1
"LAPTOP ping 192.168.2.1"
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=1ms TTL=64
Reply from 192.168.2.1: bytes=32 time=2ms TTL=64
Reply from 192.168.2.1: bytes=32 time=2ms TTL=64
Reply from 192.168.2.1: bytes=32 time=2ms TTL=64
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 2ms, Average = 1ms
End diagnosis for LAPTOP
.
- Follow-Ups:
- References:
- Network - one computer cant access files in the other
- From: Broooz
- Re: Network - one computer cant access files in the other
- From: Chuck
- Re: Network - one computer cant access files in the other
- From: Broooz
- Re: Network - one computer cant access files in the other
- From: Chuck
- Re: Network - one computer cant access files in the other
- From: Broooz
- Re: Network - one computer cant access files in the other
- From: Chuck
- Re: Network - one computer cant access files in the other
- From: Broooz
- Re: Network - one computer cant access files in the other
- From: Chuck
- Network - one computer cant access files in the other
- Prev by Date: Re: Network - one computer cant access files in the other
- Next by Date: Re: Restricting File Sharing
- Previous by thread: Re: Network - one computer cant access files in the other
- Next by thread: Re: Network - one computer cant access files in the other
- Index(es):
Relevant Pages
|