Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

unable to assign a static ip to a intermidiate miniport, W..

 
   PDA (Home) -> Pocket PC - DevNet RSS
Next:  VPN using connection manager API  
Author Message
KM

External


Since: Oct 23, 2008
Posts: 2



(Msg. 1) Posted: Thu Oct 23, 2008 7:16 am
Post subject: unable to assign a static ip to a intermidiate miniport, WM 6.1
Archived from groups: microsoft>public>pocketpc>developer>networking, others (more info?)

I am trying to assign a static ip to my Intermediate driver using the
registry as shown below. My IM driver, which is based off the windows DDK
sample passthru code, only exposes the upper-edge functions to the NDIS and
the
does not have an interface to any underlying driver because of the fact that
I am reading data off a file and sending it up the TCP/IP stack to the Apps.
My driver gets loaded fine but when i try to bind to "192.168.3.3", thats the
IP of my miniport, 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 have an entry in the registry
to hook TCP/IP protocol driver to the IM but even then winsock apis dont seem
to see that IP. 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"="fndis.dll"


[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 greatly appreciated.
Thanks,
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to assign an IP address to a virtual NIC? - How to assign an IP address to a virtual NIC which realized by a NDIS Miniport Driver ? and What this Miniport Driver should do to get a new IP address ? Any input will be highly appreciated ! -- We are trying to develop a NDIS Miniport Driver.

CDMA Problem, Unable to make PPP work over the EVDO - Hello. I'm developing Magnato Pocket PC phone edition with CDMA modem I am having a problem after connected to CDMA EVDO mode through the dial-up networking connection. The symptom looks like the PPP is not connected properly with CDMA EV-DO network....

MSF Support for Driver Developers?? - Does MSF provide a tech support program sort of thing for kernel-mode Device Driver Developers on different Windows OS including CE 4.2 and 5.0? if so could somebody provide a link please? I would assume that you must purchase that, right?

Connecting to SQL Server when host is unplugged - Hi I am trying to connect to a pc's sql server from a pocket pc (connected to the pc via a usb cable, using activesync), but the pc won't have a network connection. I would usually try connect to the sql server using the pc's ip address, but since there...

Handheld App with Certificate - Hi All, I am using a Handheld HP 6300. A smart device .net application is deployed on handheld, which uses web service which requires the certificate. I have installed the certificate on the handheld and now do I do following 1. List down all the..
       PDA (Home) -> Pocket PC - DevNet All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
 Linux Forums
 Mac Forums
  PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact