Wince 6.0 RNDIS静态IP [英] Wince 6.0 RNDIS static IP

查看:242
本文介绍了Wince 6.0 RNDIS静态IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


 


我在Wince 6.0设备中使用RNDIS USB功能。


当我将它连接到我的电脑时,会创建一个新的网络适配器,我可以通过USB连接连接到我的设备。


我需要的是将我的设备配置为在将其连接到PC时始终具有相同的IP。


有谁知道如何将静态IP设置为RNDIS usb功能?


我已经尝试将下一个条目添加到我的platform.reg文件中但没有成功...


 



;手动配置IPv4地址 


[HKEY_LOCAL_MACHINE \Comm \ RNDISFN1 \Parms \ TcpIp]


   "EnableDHCP"= dword:0


   " DefaultGateway" = multi_sz:" 10.10.10.1"


   "UseZeroBroadcast"= dword:0


;下一步设置IP地址和子网掩码


   " IpAddress" = multi_sz:" 10.10.10.100"


   " Subnetmask" = multi_sz:" 255.255.255.0"



 


  ;


非常感谢。


祝你好运,

解决方案

< blockquote>


我使用相同类型的注册表设置为RNDIS接口指定静态IP地址。


你有没有在_FLATRELEASEDIR中验证REGINIT.INI,你的更改实际上已将其变为图像。


我经常忘记在PLATFORM.REG中进行更改需要调用"将文件复制到发布目录"。来自"构建"在调用MAKEIMG之前手动将菜单或手动复制到_FLATRELEASEDIR。


HTH,


Bjoern


Hello all,

 

I'm using RNDIS USB function in my Wince 6.0 device.

When i connect it to my PC, a new network adapter is created and i am able to connect to my device via the usb connection.

What i need is to configure my device to always have the same IP when i connect it to my PC.

Does anyone know how to set a static IP to the RNDIS usb function?

I've tried adding the next entries to my platform.reg file without success...

 

;Manually configure an IPv4 Address 

[HKEY_LOCAL_MACHINE\Comm\RNDISFN1\Parms\TcpIp]

   "EnableDHCP"=dword:0

   "DefaultGateway"=multi_sz:"10.10.10.1"

   "UseZeroBroadcast"=dword:0

;Next Setup IP address and subnet mask

   "IpAddress"=multi_sz:"10.10.10.100"

   "Subnetmask"=multi_sz:"255.255.255.0"

 

 

Thank you very much.

Best regards,

解决方案

Hi,

I use the same kind of registry setup to specify a static IP address for the RNDIS interface.

Did you veriify REGINIT.INI in _FLATRELEASEDIR that your changes actually made it into the image.

I often forget that making changes in PLATFORM.REG requires to either call "Copy Files to Release Directory" from the "Build" menu or copy the file manually into _FLATRELEASEDIR before calling MAKEIMG.

HTH,

Bjoern


这篇关于Wince 6.0 RNDIS静态IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆