Quote:
Originally Posted by tvvee
Because i dont have the Adress for Microsoft.
|
try this
To start the driver, type
Net start ndisprot
To stop the driver, type
Net stop ndisprot
To test the NDIS 5.x driver, run uiotest. For help on usage, run uiotest -?
Copy
usage: UIOTEST [options] <devicename>
options:
-e: Enumerate devices
-r: Read
-w: Write (default)
-l <length>: length of each packet (default: 100)
-n <count>: number of packets (defaults to infinity)
-m <MAC address> (defaults to local MAC)
To test the NDIS 6.0 driver, run prottest. For help on usage, run prottest -?
Copy
usage: PROTTEST [options] <devicename>
options:
-e: Enumerate devices
-r: Read
-w: Write (default)
-l <length>: length of each packet (default: 100)
-n <count>: number of packets (defaults to infinity)
-m <MAC address> (defaults to local MAC)
Uiotest/Prottest exercises the IOCTLs supported by NDISPROT, and sends and/or receives data on the selected device. In order to use uiotest, the user must have administrative privilege. Users should pass down a big enough buffer in order to receive the entire received data. If the length of the buffer passed down is smaller than the length of the received data, NDISPROT will only copy part of the data and discard the rest when the given buffer is full.
For NDIS 5.x driver, use the -e option on uiotest to enumerate all devices to which NDISPROT is bound:
Copy
C:\uio>uiotest -e
0. \DEVICE\{9273DA7D-5275-4B9A-AC56-68A49D121F1F}
- Intel-Based 10/100 Ethernet Card
The following command sends and receives two packets on a device. Because these packets are sent to the local MAC address (default), both packets are received. The device name parameter to
Uiotest.exe is picked up from the output of uiotest -e (see above).
Copy
C:\uio>uiotest -n 2 \DEVICE\{9273DA7D-5275-4B9A-AC56-68A49D121F1F}
DoWriteProc: finished sending two packets of 100 bytes each
DoReadProc finished: read two packets
For NDIS 6.0 driver, use the -e option on prottest to enumerate all devices to which NDISPROT is bound:
Copy
C:\prot>prottest -e
0. \DEVICE\{9273DA7D-5275-4B9A-AC56-68A49D121F1F}
- Intel-Based 10/100 Ethernet Card
The following command sends and receives 2 packets on a device. Since these packets are sent to the local MAC address (default), both packets are received. The device name parameter to prottest is picked up from the output of protest -e (see above).
Copy
C:\prot>prottest -n 2 \DEVICE\{9273DA7D-5275-4B9A-AC56-68A49D121F1F}
DoWriteProc: finished sending 2 packets of 100 bytes each
DoReadProc finished: read 2 packets
For security reasons, this driver does not allow packets with fake MAC addresses to be sent from user-mode applications.
and you get this