Re: unable to assign a static ip to a intermidiate miniport, WM 6.1



This newsgroup, unfortunately, doesn't deal with WinCE specific stuff.
They have separate NGs, such as microsoft.public.pocketpc.developer.networking and
microsoft.public.windowsce.*


Regards,
--PA

KM wrote:
Slight correction to my previous post, the dll name is the same for both the PASSTHRU and the PASSTHRU1 registry entries. My apologies for that.

"KM" wrote:

I am trying to assign a static ip to my Intermidiate driver using the registry as shown below. My IM driver, which is based off the sample passthru code, only exposes the upper-edge functions to the NDIS and the
does not have an interface to any underlying driver. I am reading data off a
file and pumping it up the TCP/IP stack to the Apps. My driver gets loaded
fine but when i try to bind to the 192.168.3.3, it errors out with the error
code: 10049, cannot assign requested address, requested address is not valid
in its context. GetAdapatersInfo() does not list my driver. I am not sure
whether i am missing something in the registry.
;-------------------------------------------------------------------------------
; Tell NDIS about the PASSTHRU driver:
[HKEY_LOCAL_MACHINE\Comm\PASSTHRU]
"DisplayName"="VNIC Miniport Driver"
"Group"="NDIS"
"ImagePath"="flondis.dll"
; "NoDeviceCreate"=dword:1

[HKEY_LOCAL_MACHINE\Comm\PASSTHRU\Linkage]
"Route"=multi_sz:"PASSTHRU1"

[HKEY_LOCAL_MACHINE\Comm\PASSTHRU1]
"DisplayName"="VNIC Miniport Driver"
"Group"="NDIS"
"ImagePath"="fndis.dll"

; Tell NDIS some required info about the PASSTHRU adapter instance:
[HKEY_LOCAL_MACHINE\Comm\PASSTHRU1\Parms]
"BusType"=dword:0
"BusNumber"=dword:0
"DisablePowerManagement"=dword:1

[HKEY_LOCAL_MACHINE\Comm\PASSTHRU1\Parms\TcpIp]
"EnableDHCP"=dword:0
"DefaultGateway"=""
"UseZeroBroadcast"=dword:0
"IpAddress"="192.168.3.3"
"Subnetmask"="255.255.255.0"

;Bind TCP/IP to the miniport instance
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind"=multi_sz:"PASSTHRU1"

Any input from you would be highly appreciated.
Thanks,
.



Relevant Pages

  • Re: Running NDISTest on Vista with an NDIS IM Driver
    ... I had a quick look at the ndistest stuff in the WLK1.0c, ... actually some ndis driver in the ... I tried using the version that comes with WLK/DTM on PassThru (NDIS IM ...
    (microsoft.public.development.device.drivers)
  • Re: I need Passthru NDIS IM sample for to 98/ME
    ... Stephan ... >I'm interested in PassThru NDIS IM sample for 98/ME as well. ... >> I have to make a NDIS IM driver for windows XP/2K98/ME. ...
    (microsoft.public.development.device.drivers)
  • Re: NDIS Intermediate Driver for 802.11
    ... The best thing for you to do is to start with the PassThru NDIS IM driver ... it is probably a better place to start then the "Big Windows" DDK PassThru ... NDIS IM driver sample. ...
    (microsoft.public.development.device.drivers)
  • RE: unable to assign a static ip to a intermidiate miniport, WM 6.1
    ... PASSTHRU and the PASSTHRU1 registry entries. ... My IM driver, which is based off the sample passthru ... only exposes the upper-edge functions to the NDIS and the ...
    (microsoft.public.development.device.drivers)
  • Re: activating NDIS IM driver
    ... But your passtrhu will be loaded if you have put correct registry values. ... And placed driver dll in Windows. ... I also tried to build NDIS IM driver - PASSTHRU. ... Drivers\Active registry key. ...
    (microsoft.public.pocketpc.developer.networking)