Re: Change MTU for gprs connection
- From: Andreas <Andreas@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 01:17:00 -0800
Hi,
thanks a lot for the hint! Not it works! I already read the registry
entries, but the problem was that I read it before the connection has been
established. Now I read it after the connection has been established and I
got some valid entries for a new adapter. So I simply added an entry for MTU
in PFB.
Thanks a lot again.
Andi
"Paul G. Tobey [eMVP]" wrote:
Not as far as I know. There must be an entry for any network adapter. At.
worst, use the Remote Registry Editor to figure out what its name is from a
running device, then add the appropriate entry to the .REG file.
Paul T.
"Andreas" <Andreas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:042EACC0-34C6-4FF0-964B-7DAC6583BCB7@xxxxxxxxxxxxxxxx
Hi,
I'm able to change the MTU for the ethernet connection because therefore I
have an entry ([HKEY_LOCAL_MACHINE\COMM\LAN90001\Parms\TcpIp]). The
problem
is, that I don't have such an entry for the gprs connection. So I'm not
able
to set the MTU parameter. Can I set the MTU for global and if so, where?
Thanks for your reply
Andi
"Paul G. Tobey [eMVP]" wrote:
It doesn't matter where in the file, as long as you don't put it inside
an
IF..ENDIF that might not be included. Put it right at the top, as the
first
line, or at the end, as the last.
When you say it didn't work, I'm suspicious that you haven't done the
necessary things to include it into the build. Just changing
platform.reg
in its master location with the BSP and then doing MakeImg won't do it.
At
the very least you need to copy it to the flat release directory before
calling MakeImg.
Paul T.
"Andreas" <Andreas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3D4AA626-7BA7-4977-9EE6-AE877C9CD208@xxxxxxxxxxxxxxxx
I already know what value it should be. So I'd like to set it in
project.reg. But I don't know where. I tried to add a entry at
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms] but it didn't work. Maybe you can
tell
me where to add the entry and how it looks like.
Thanks
Andreas
"Paul G. Tobey [eMVP]" wrote:
While you can change it at run-time from whatever programming language
you
want, you have to assume that the entry is going to be read by the
device
driver when it's loaded, not every time an application changes it. If
you
know what value you want when you build the OS, set it in project.reg
with
the others. Why don't you know what to do? It's the same as setting
any
other registry setting there. If you're worried about duplicating the
entry
found in common.reg, don't be. The last item found when processing
the
registry files will be the one that ends up in the final registry.
Paul T.
"Andreas" <Andreas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DBCB3F75-F9DF-40BD-875E-D55BBC55AA83@xxxxxxxxxxxxxxxx
Ok, the OS is WinCE 4.2 with C# .NET compact framework. I use the
EXM32
board
(MSC) with wavecom Q2501 gprs module. In platform builder I added
the
gprs
modem on com8. This works fine. But I have same connection problems
so
I
got
a list of parameters to change. Most of them are already inserted in
project.reg. But I don't know how to change the MTU for the gprs
connection.
Can I change it by C# code or only in platform builder?
Thanks
Andi
"Paul G. Tobey [eMVP]" wrote:
You do realize that you haven't told us *anything* about the
device,
the
OS,
or anything that might help us answer the question, right? This is
a
PC? A device that you built? What OS version?
Have you entered "MTU" in the Search pane for the Platform Builder
help
and
read the resulting pages? In CE5, there are only 34 of them...
Paul T.
"Andreas" <Andreas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DEA10036-AA0A-4597-A842-9B9D041F4135@xxxxxxxxxxxxxxxx
Hi,
i'd like to change the MTU for a gprs connection to a fixed
value.
How
can
I
do this?
Thank you for helping me!
regards
Andreas
- References:
- Re: Change MTU for gprs connection
- From: Paul G. Tobey [eMVP]
- Re: Change MTU for gprs connection
- From: Paul G. Tobey [eMVP]
- Re: Change MTU for gprs connection
- From: Andreas
- Re: Change MTU for gprs connection
- From: Paul G. Tobey [eMVP]
- Re: Change MTU for gprs connection
- From: Andreas
- Re: Change MTU for gprs connection
- From: Paul G. Tobey [eMVP]
- Re: Change MTU for gprs connection
- Prev by Date: How to remove the print footer and header?
- Next by Date: Re: KitlInit failed
- Previous by thread: Re: Change MTU for gprs connection
- Next by thread: Re: USB mass storage problem , workaround - WinCE5.0
- Index(es):