Hi all,

When I run a platform made with the platform builder on
my mobile device, always the DHCP option is enabled, even
if a change the project.reg file changing the tcpip params
to put a fixed IP address.
If I disable the DHCPenabled option, CE hangs up at
beginning.
So, my question is if there is any way to fix an IP
address before building the platform in order to the
device to get this IP address instead of the DHCP option.

Thanks.

Re: IP Address by Jeff

Jeff
Tue Oct 21 15:07:58 CDT 2003

The adapter registry settings can be configured to assign a static IP
address like this:

[HKEY_LOCAL_MACHINE\Comm\<adaptername>\Parms\TcpIp]
"EnableDHCP"=dword:0
"DefaultGateway"=""
"UseZeroBroadcast"=dword:0
"IpAddress"="192.168.0.1"
"Subnetmask"="255.255.255.0"

Where <adaptername> is something like "NE20001". The IpAddress and
Subnetmask can be set as desired to force the adapter to use that IP address
when it starts up.

--
Jeff Kelley
Microsoft / Windows CE Networking

This posting is provided "AS IS" with no warranties, and confers no rights.

"Ivan" <igh08901@netscape.net> wrote in message
news:018e01c396d1$67e29660$a001280a@phx.gbl...
> Hi all,
>
> When I run a platform made with the platform builder on
> my mobile device, always the DHCP option is enabled, even
> if a change the project.reg file changing the tcpip params
> to put a fixed IP address.
> If I disable the DHCPenabled option, CE hangs up at
> beginning.
> So, my question is if there is any way to fix an IP
> address before building the platform in order to the
> device to get this IP address instead of the DHCP option.
>
> Thanks.



Re: IP Address by anonymous

anonymous
Thu Oct 23 16:37:19 CDT 2003

I have used this and it works fine, and it to the
platfrom.reg

>-----Original Message-----
>The adapter registry settings can be configured to assign
a static IP
>address like this:
>
>[HKEY_LOCAL_MACHINE\Comm\<adaptername>\Parms\TcpIp]
> "EnableDHCP"=dword:0
> "DefaultGateway"=""
> "UseZeroBroadcast"=dword:0
> "IpAddress"="192.168.0.1"
> "Subnetmask"="255.255.255.0"
>
>Where <adaptername> is something like "NE20001". The
IpAddress and
>Subnetmask can be set as desired to force the adapter to
use that IP address
>when it starts up.
>
>--
>Jeff Kelley
>Microsoft / Windows CE Networking
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>"Ivan" <igh08901@netscape.net> wrote in message
>news:018e01c396d1$67e29660$a001280a@phx.gbl...
>> Hi all,
>>
>> When I run a platform made with the platform builder
on
>> my mobile device, always the DHCP option is enabled,
even
>> if a change the project.reg file changing the tcpip
params
>> to put a fixed IP address.
>> If I disable the DHCPenabled option, CE hangs up at
>> beginning.
>> So, my question is if there is any way to fix an IP
>> address before building the platform in order to the
>> device to get this IP address instead of the DHCP
option.
>>
>> Thanks.
>
>
>.
>