Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Looking for a TV Emulator for Windows7

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion

Whats this driver for?
Reply
 
Thread Tools
Old 19-12-2010, 19:37   #1
tvvee
Inactive
 
Join Date: Dec 2010
Posts: 100
tvvee is an unknown quantity at this point
Whats this driver for?

Geben Sie Text oder eine Website-Adresse ein oder lassen Sie ein Dokument übersetzen.
Abbrechen
Anhören
Übersetzung von Deutsch nach Englisch
Good evening

'm Just looking around in my 2003s WinDDK encountered an NDIS driver emulates ..

What is NDIS and what exactly emulates hadwaretechnisch?

Here is the text

The purpose of this sample is to illustrate functionality of an NDIS-WDM miniport driver. An NDIS-WDM driver exposes NDIS miniport interface at its upper edge and uses IRPs to interact with other WDM drivers tested as USB, IEEE 1394, serial and at its lower edge. Unlike NDIS miniport NDIS Which can only call functions on NDIS-WDM driver can call both NDIS and non-NDIS functions. However, whenever possible, the miniport driver should call NDIS functions. For example, a miniport driver that controls devices on either Universal Serial Bus (USB) or IEEE 1394 (FireWire) buses must expose a standard NDIS miniport driver interface at its upper edge and use the class interface for The particular bus at its lower edge. Such a miniport driver Communicate with devices that are attached to the bus by sending I / O request packets (IRPs) to the bus.

This sample is built upon the NETVMINI sample available in the Windows Server 2003 DDK. Unlike the NETVMINI, this sample is fully functional. It uses the NDISPROT (NDIS protocol sample available in the Windows Server 2003 DDK) as its lower edge WDM driver to read and write packets to the physical network interface card (NIC) as shown in the diagram below. In order to test this sample, you should at least have one physical NIC on the test machine.

---------------------
| |
| TCP / IP |
| |
---------------------
^
| <-------------- NDIS Interface
V
---------------------
| |
| Sample NDISWDM |
| Miniport |
| |
---------------------
^
| <--------------- IRPs
V
---------------------
| |
| NDISPROT |
| |
---------------------
^
| <--------------- NDIS Interface
V
---------------------
| |
| NDIS Miniport |
| For physical NIC |
| |
---------------------
^
| <-------------- Talk to the hardware using I / O resources
V
---------------
| H / w NIC |
---------------
|||||||
-------


Note: This sample provides on example of a minimal driver intended for educational purposes. Neither the driver nor its sample test programs are intended for use in a production environment.

Operating System
Sample can be built into the OS? Does the sample work in OS? Sample can be used in a production environment for the OS?
Windows Server 2003 Yes Yes No
Windows XP Yes Yes No
Windows 2000 Yes Yes No
Windows Me

See Compatibility below.


See Compatibility below.


No
Windows 98 SE

See Compatibility below.


See Compatibility below.


No

The driver can be built into the Windows ® 2000, Windows ® XP, and Server 2003 DDK build environment.

The driver can be installed in the Windows 2000, XP, and Server 2003 operating systems. Windows 2000 supports only version 5.0 NDIS miniport driver. Windows XP and Server 2003 support versions 5.0 and 5.1 of NDIS miniport driver.
BUILDING THE SAMPLE

Click the Free Build Environment or Checked Build Environment icon under your Development Kit's program group to set basic environment variables needed by the build utility.

Change to the directory containing the device source code, as searchable CD Src \ network \ ndis \ NDISWDM.

Run build-CEZ, or use the macro BLD. Using these tools invokes the Microsoft make routines that produce log files called Buildxxx_yyy_zzz.log, and so if there are Buildxx_yyy_zzz.err Buildxx_yyy_zzz.wrn and any warnings or errors. Where xxx stands for fre or chk Depending on the chosen environment, yyy stands for the OS version (W2K, WXP, or Wnet), and zzz stands for platform version (x86, IA64, or AMD64).

If the build succeeds, the driver, ndiswdm.sys, will be placed in a platform specific subdirectory of your% TargetPath% directory specified in the 'Sources' file. Depending on the build environment, the driver will be either to NDIS 5.0 or NDIS 5.1 miniport driver. If you build in the Windows 2000 build environment, you will get version 5.0 of the NDIS miniport driver. If you build in the Windows XP or Server 2003 environments, you will get version 5.1 of the NDIS miniport driver.
INSTALLATION

You can install the driver and use it NDISWDM as your primary miniport by doing one of the following:

* Disable the bindings of TCP / IP with the physical NIC's miniport and have the NDISWDM miniport to assume the MAC address of the physical NIC. This is the default case.
* Do the bindings of old TCP / IP with the physical NIC miniport. Instead, have the miniport NDISWDM set the physical NIC into promiscuous mode by using the Advanced Property dialog of NDISWDM in the Device Manager. This way, the NDISWDM can send and receive packets that have different MAC addresses. In this mode, the miniport NDISWDM Generates its own locally administered MAC address instead of using the physical NIC's MAC address as its current address.

Installation steps

1. Install the NDISPROT sample from the Windows Server 2003 DDK and start the driver. Instruction on how to install and load the driver is given in the NDISPROT.HTM that comes with the sample. Make sure to rebuild the driver with EX_CALLBACK interface defined in the 'Sources' file. This Enable the driver to notify NDISWDM whenever it gets loaded. Read the tour code section in this document for further information.
2. Double-click Network Connections in Control Panel, right-click the Local Area Connection applet of the physical NIC, and select Properties. Clear the TCP / IP bindings check box.
3. Install the NDISWDM miniport driver. Steps for installing the driver on Windows 2000, XP, and Server 2003 DDK are listed below:

To install the driver on a Windows 2000 machine


1. Build the driver in a Win2K build environment to get the NDIS version 5.0 of the driver.
2. Copy the driver and the NDISWDM.INF file to a floppy disk or to a directory on the target test machine.
3. Open Control Panel, and double-click Add New Hardware.
4. Click Next.
5. Select Add a new device.
6. Select No, I Want to Select the hardware from a list.
7. Select Network Devices, and then click Next.
8. Click Have Disk, and point to the directory that contains NDISWDM.INF file.

To install the driver on a Windows XP or Server 2003 machine

1. Copy the NDIS version 5.1 of the driver and the INF file to a floppy disk or to a directory on the target machine.
2. Open Control Panel and double-click Add Hardware.
3. At the Welcome to the Add Hardware Wizard screen click Next.
4. Select Yes, I have already connected the hardware, and click Next.
5. Select Add a new hardware device from the list, and click Next.
6. Select Install the hardware that I manually select from a list (Advanced), and click Next.
7. Select Network adapters, and click Next.
8. Click Have Disk, make sure that A: \ is in the Copy manufacturer's files from box, and click OK.
9. Click on the desired entry, and click Next.
10. At The wizard is ready to install your hardware screen, click Next.
11. Click Finish.

Alternatively, you can use the DevCon.exe from the DDK to install the driver programmatically.

c: \> INSTALL DevCon.exe ndiswdm.inf "root \ ndiswdm"

The system copies the file to NDISWDM.sys% systemroot% \ system32 \ drivers directory and loads the driver. Instead of enumerating the root driver as described above, you can use the toaster bus driver to enumerate the bus driver.
4. Check the configuration of the miniport by running IPCONFIG / All. You should be able to browse the Internet or copy files from another machine.

This the default configuration - NDISPROT driver is started before NDISWDM mini port - port and the mini is using the MAC address of the real NIC. If you reboot the machine, you will notice that the network connectivity through the mini port is broken. This is because the NDISPROT has not been loaded or loaded after the miniport. When the mini port fails to open the NDISPROT interface during init, it reports a locally administered MAC address as the current address and completes the initialization. After that even, if the mini port is able to successfully open the NDISPROT interface in the ExCallback, it can not report the real NIC's MAC address. As a result, no network communication will take place because the real NIC will not receive or send packets that does not match with it's MAC address. In such a scenario, you can re-establish the network connectivity by disabling and re-enabling the miniport instance in the device manager to make sure that the mini port opens the target device during MiniportInitialize and reports the target NIC's MAC address.

If you like to get this configuration to work across reboots, you should configure the driver to set the target NDISWDM NIC filter to promiscuous mode. You can do that by using Advanced Property of the mini-port in the device manager or by changing the value in the miniport INF file before installing the.
TESTING

Install NDIS WHQL tester from the web site and run all the client and server tests.




And what is the emulator for?



Thanks for help and have a nice evening
tvvee is offline   Reply With Quote
Advertisement
Old 19-12-2010, 19:54   #2
Sirius
Grumpy Fecker
 
Sirius's Avatar
 
Join Date: Jul 2007
Location: Warrington
Age: 64
Services: Every Weekend
Posts: 16,724
Sirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver bling
Sirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver bling
Re: Whats this driver for?

This is getting to be the wind up of the year.

I know what this is, This is one of the Anonymous bots gone mad
__________________
I stand with Ukraine

https://www.macmillan.org.uk/
Sirius is offline   Reply With Quote
Old 19-12-2010, 19:58   #3
budwieser
cf.mega poster
 
budwieser's Avatar
 
Join Date: Jan 2004
Location: Cambridgeshire
Age: 62
Posts: 4,232
budwieser has a nice shiny starbudwieser has a nice shiny starbudwieser has a nice shiny star
budwieser has a nice shiny starbudwieser has a nice shiny starbudwieser has a nice shiny starbudwieser has a nice shiny starbudwieser has a nice shiny starbudwieser has a nice shiny starbudwieser has a nice shiny starbudwieser has a nice shiny starbudwieser has a nice shiny starbudwieser has a nice shiny star
Re: Whats this driver for?

Quote:
Originally Posted by Sirius View Post
This is getting to be the wind up of the year.

I know what this is, This is one of the Anonymous bots gone mad
Wind up, I agree.
budwieser is offline   Reply With Quote
Old 19-12-2010, 19:58   #4
tvvee
Inactive
 
Join Date: Dec 2010
Posts: 100
tvvee is an unknown quantity at this point
Re: Whats this driver for?

Please answer with no jokes
tvvee is offline   Reply With Quote
Old 19-12-2010, 20:00   #5
haydnwalker
Inactive
 
Join Date: Jan 2007
Location: Doncaster, S. Yorks.
Age: 40
Services: TV:Sky+, BB:DRL VDSL2 40/10 with Ask4, Phone:Mobile Only
Posts: 2,320
haydnwalker has reached the bronze age
haydnwalker has reached the bronze agehaydnwalker has reached the bronze agehaydnwalker has reached the bronze agehaydnwalker has reached the bronze agehaydnwalker has reached the bronze agehaydnwalker has reached the bronze agehaydnwalker has reached the bronze agehaydnwalker has reached the bronze agehaydnwalker has reached the bronze agehaydnwalker has reached the bronze age
Re: Whats this driver for?

Why don't you email Microsoft and ask what the Emulator is for? You've got more chance of an answer from them.

We don't know everything you know!

Or there's
haydnwalker is offline   Reply With Quote
Old 19-12-2010, 20:00   #6
Kymmy
Inactive
 
Join Date: Dec 2007
Posts: 18,398
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Re: Whats this driver for?

Answers in the text you copied
Kymmy is offline   Reply With Quote
Old 19-12-2010, 20:01   #7
tvvee
Inactive
 
Join Date: Dec 2010
Posts: 100
tvvee is an unknown quantity at this point
Re: Whats this driver for?

Because i dont have the Adress for Microsoft.
tvvee is offline   Reply With Quote
Old 19-12-2010, 20:08   #8
vanman
cf.mega poster
 
Join Date: Apr 2010
Location: Luton
Services: Sky
Posts: 1,689
vanman has reached the bronze age
vanman has reached the bronze agevanman has reached the bronze agevanman has reached the bronze agevanman has reached the bronze agevanman has reached the bronze agevanman has reached the bronze age
Re: Whats this driver for?

Quote:
Originally Posted by tvvee View Post
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
Spoiler: 
vanman is offline   Reply With Quote
Old 19-12-2010, 20:15   #9
gazfan
Guest
 
Location: Cleethorpes
Services: Virgin XL
Posts: n/a
Re: Whats this driver for?

tvvee, I'm wondering if you expect an 'emulator' to be something more than it is?

All an emulator does is use software to 'pretend' to be an hardware device for testing purposes.

You may be getting confused with games console emulators used to play e.g. PS3 games on a PC??
  Reply With Quote
Old 19-12-2010, 20:23   #10
tvvee
Inactive
 
Join Date: Dec 2010
Posts: 100
tvvee is an unknown quantity at this point
Re: Whats this driver for?

Well i am not confused..

I just want to know what this software do
tvvee is offline   Reply With Quote
Old 19-12-2010, 20:26   #11
Sirius
Grumpy Fecker
 
Sirius's Avatar
 
Join Date: Jul 2007
Location: Warrington
Age: 64
Services: Every Weekend
Posts: 16,724
Sirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver bling
Sirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver bling
Re: Whats this driver for?

Quote:
Originally Posted by tvvee View Post
Well i am not confused..

I just want to know what this software do
Read this http://en.wikipedia.org/wiki/Emulator
__________________
I stand with Ukraine

https://www.macmillan.org.uk/
Sirius is offline   Reply With Quote
Old 19-12-2010, 20:28   #12
Cobbydaler
cf.mega poster
 
Cobbydaler's Avatar
 
Join Date: Apr 2006
Location: Manchester, UK
Services: ClearFibre Internet, Vodafone mobile Google Pixel 4
Posts: 9,699
Cobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered stars
Cobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered stars
Re: Whats this driver for?

Quote:
Originally Posted by tvvee View Post
Well i am not confused..

I just want to know what this software do
http://en.wikipedia.org/wiki/NDIS
Cobbydaler is offline   Reply With Quote
Old 19-12-2010, 20:29   #13
Sirius
Grumpy Fecker
 
Sirius's Avatar
 
Join Date: Jul 2007
Location: Warrington
Age: 64
Services: Every Weekend
Posts: 16,724
Sirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver bling
Sirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver bling
Re: Whats this driver for?

Quote:
Originally Posted by Cobbydaler View Post
Good link and easily understood.
__________________
I stand with Ukraine

https://www.macmillan.org.uk/
Sirius is offline   Reply With Quote
Old 19-12-2010, 20:33   #14
gazfan
Guest
 
Location: Cleethorpes
Services: Virgin XL
Posts: n/a
Re: Whats this driver for?

Quote:
Originally Posted by tvvee View Post

I just want to know what this software do
from your original post

Quote:
It uses the NDISPROT (NDIS protocol sample available in the Windows Server 2003 DDK) as its lower edge WDM driver to read and write packets to the physical network interface card (NIC)
- that confuses the hell out of me !!!!
  Reply With Quote
Old 19-12-2010, 20:34   #15
tvvee
Inactive
 
Join Date: Dec 2010
Posts: 100
tvvee is an unknown quantity at this point
Re: Whats this driver for?

Thanks for this link
tvvee is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:32.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.