Problem with remote network connections

A

Andy Baker

We have recently been supplied with some devices that have a different radio
card in them to the one we have been using all along and I have a problem
connecting to our LAN. From a cold reboot, it sets up the WiFi card (Summit)
and connects to the LAN successfully, and I can ping the WAP and every PC on
the LAN. I then install our in-house written application software and
execute it, which basically involves logging into an SQL server database and
transferring data for a day's work. The software automatically disconnects
from the LAN and connects in AdHoc mode to a wireless printer. However, I
then find that the next time I come to use the LAN, although the device
reports that it is connected, I cannot ping either the WAP or the LAN and
cannot transfer any more data. The WAP reports the device as assocated but
the IP address is 0.0.0.0, which suggests that it has not connected
properly. Nothing except a cold reboot and complete reinstall cured the
problem. I can however, still connect in AdHoc mode to the printer. This
never used to happen with our previous cards (Broadcom) . The software is
written in VB.NET/C# 2003 and uses OpenNetCF calls to do the network
switching between LAN and printer. It looks to me if the software is leaving
the card in such a state that it will no longer connect properly, but I am
at a loss as to what could be causing it. Any suggestions would be
appreciated. Thanks in advance.

Andy Baker
 
A

Andy Baker

I have been doing some more testing this morning and I am finding that
sometimes when switching between networks I am getting the error message
"DeviceIOControl - IOCTL_NDIS_BIND_ADAPTER". I'm sure this must have
something to do with it, although it fails whether I get the error message
or not.

Andy Baker
 
P

Paul G. Tobey [eMVP]

So you've got the Summit card configured such that it uses WZC, NOT the
Summit SCU program to do the configuration, right? I don't see any way to
do what you're talking about unless that's the case, but thought I should
make sure. You have the latest driver from Summit? They seem to release a
new one about once a month. And you're controlling the WZC stuff using your
own wrapper classes or OpenNETCF? If OpenNETCF, you'll want to get the
latest version of that, also. As we've gone from totally undocumented WZC
APIs to at least some documentation, there have been some bugs revealed. I
don't think that they would cause this, but it's worthwhile to try to verify
that.

Paul T.
 
A

Andy Baker

Hi Paul

Yes, I have got the Summit card configured to use WZC. I am using OpenNETCF
which worked reliably in the past using the Broadcom card. I am using
version 1.4, which I thought was the latest version that worked with Visual
Studio 2003. Is this still the case? (We hope to be upgrading to 2005/2008
shortly, but now is not a good time!). I have the Summit driver from Unitech
(the device manufacturer), but as Summit themselves limit access to the
drivers etc to their OEM partners, I have no access to any others. I will
contact Unitech to see if there are other drivers available. Thanks for the
advice.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
 
P

Paul G. Tobey [eMVP]

What version of the driver do you have? The first tab in the SCU program
will tell you that.

Yes, 1.4 is the latest .NET CF 1.0 version. Unfortunately, it's not the
latest version, generally. the 2.0 SDF would, I think, have later code.
Since you are getting an error in some situations, debug that. Make sure,
also, that all return values are tested. It's probably just a matter of
this card not working precisely the same as the other card; that's not at
all unusual, but there are still some things that you can do to assure that
it's not you.

Paul T.

Andy Baker said:
Hi Paul

Yes, I have got the Summit card configured to use WZC. I am using
OpenNETCF which worked reliably in the past using the Broadcom card. I am
using version 1.4, which I thought was the latest version that worked with
Visual Studio 2003. Is this still the case? (We hope to be upgrading to
2005/2008 shortly, but now is not a good time!). I have the Summit driver
from Unitech (the device manufacturer), but as Summit themselves limit
access to the drivers etc to their OEM partners, I have no access to any
others. I will contact Unitech to see if there are other drivers
available. Thanks for the advice.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
So you've got the Summit card configured such that it uses WZC, NOT the
Summit SCU program to do the configuration, right? I don't see any way
to do what you're talking about unless that's the case, but thought I
should make sure. You have the latest driver from Summit? They seem to
release a new one about once a month. And you're controlling the WZC
stuff using your own wrapper classes or OpenNETCF? If OpenNETCF, you'll
want to get the latest version of that, also. As we've gone from totally
undocumented WZC APIs to at least some documentation, there have been
some bugs revealed. I don't think that they would cause this, but it's
worthwhile to try to verify that.

Paul T.
 
A

Andy Baker

I have version 1.03.23. Apparently the latest is version 1.03.28, but the
link from the website is currently broken, so I am waiting for them to send
it to me, should it make a difference. I will check the return values and
see if I can see what is happening.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
What version of the driver do you have? The first tab in the SCU program
will tell you that.

Yes, 1.4 is the latest .NET CF 1.0 version. Unfortunately, it's not the
latest version, generally. the 2.0 SDF would, I think, have later code.
Since you are getting an error in some situations, debug that. Make sure,
also, that all return values are tested. It's probably just a matter of
this card not working precisely the same as the other card; that's not at
all unusual, but there are still some things that you can do to assure
that it's not you.

Paul T.

Andy Baker said:
Hi Paul

Yes, I have got the Summit card configured to use WZC. I am using
OpenNETCF which worked reliably in the past using the Broadcom card. I am
using version 1.4, which I thought was the latest version that worked
with Visual Studio 2003. Is this still the case? (We hope to be upgrading
to 2005/2008 shortly, but now is not a good time!). I have the Summit
driver from Unitech (the device manufacturer), but as Summit themselves
limit access to the drivers etc to their OEM partners, I have no access
to any others. I will contact Unitech to see if there are other drivers
available. Thanks for the advice.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message news:[email protected]...
So you've got the Summit card configured such that it uses WZC, NOT the
Summit SCU program to do the configuration, right? I don't see any way
to do what you're talking about unless that's the case, but thought I
should make sure. You have the latest driver from Summit? They seem to
release a new one about once a month. And you're controlling the WZC
stuff using your own wrapper classes or OpenNETCF? If OpenNETCF, you'll
want to get the latest version of that, also. As we've gone from
totally undocumented WZC APIs to at least some documentation, there have
been some bugs revealed. I don't think that they would cause this, but
it's worthwhile to try to verify that.

Paul T.

I have been doing some more testing this morning and I am finding that
sometimes when switching between networks I am getting the error message
"DeviceIOControl - IOCTL_NDIS_BIND_ADAPTER". I'm sure this must have
something to do with it, although it fails whether I get the error
message or not.

Andy Baker

We have recently been supplied with some devices that have a different
radio card in them to the one we have been using all along and I have
a problem connecting to our LAN. From a cold reboot, it sets up the
WiFi card (Summit) and connects to the LAN successfully, and I can
ping the WAP and every PC on the LAN. I then install our in-house
written application software and execute it, which basically involves
logging into an SQL server database and transferring data for a day's
work. The software automatically disconnects from the LAN and connects
in AdHoc mode to a wireless printer. However, I then find that the
next time I come to use the LAN, although the device reports that it
is connected, I cannot ping either the WAP or the LAN and cannot
transfer any more data. The WAP reports the device as assocated but
the IP address is 0.0.0.0, which suggests that it has not connected
properly. Nothing except a cold reboot and complete reinstall cured
the problem. I can however, still connect in AdHoc mode to the
printer. This never used to happen with our previous cards (Broadcom)
. The software is written in VB.NET/C# 2003 and uses OpenNetCF calls
to do the network switching between LAN and printer. It looks to me if
the software is leaving the card in such a state that it will no
longer connect properly, but I am at a loss as to what could be
causing it. Any suggestions would be appreciated. Thanks in advance.

Andy Baker
 
A

Andy Baker

Hello Paul

It is looking likely that I will have to upgrade to 2005 sooner than I
wanted to as the device manufacturers are telling me that WZC in CE.NET 4.2
is unreliable and I have to use CE5, for which I need VS.NET 2005. I think
that I can install 2003 and 2005 on the same PC, but is there any problem in
installing OpenNETCF 1.4 and 2.1 on the same PC? Are there likely to be many
coding changes (to my code) between 1.4 and 2.1 - the application uses
several of the OpenNETCF calls and I don't want to start on this job until I
have more time if it is likely to cause a major rewrite. Thanks.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
What version of the driver do you have? The first tab in the SCU program
will tell you that.

Yes, 1.4 is the latest .NET CF 1.0 version. Unfortunately, it's not the
latest version, generally. the 2.0 SDF would, I think, have later code.
Since you are getting an error in some situations, debug that. Make sure,
also, that all return values are tested. It's probably just a matter of
this card not working precisely the same as the other card; that's not at
all unusual, but there are still some things that you can do to assure
that it's not you.

Paul T.

Andy Baker said:
Hi Paul

Yes, I have got the Summit card configured to use WZC. I am using
OpenNETCF which worked reliably in the past using the Broadcom card. I am
using version 1.4, which I thought was the latest version that worked
with Visual Studio 2003. Is this still the case? (We hope to be upgrading
to 2005/2008 shortly, but now is not a good time!). I have the Summit
driver from Unitech (the device manufacturer), but as Summit themselves
limit access to the drivers etc to their OEM partners, I have no access
to any others. I will contact Unitech to see if there are other drivers
available. Thanks for the advice.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message news:[email protected]...
So you've got the Summit card configured such that it uses WZC, NOT the
Summit SCU program to do the configuration, right? I don't see any way
to do what you're talking about unless that's the case, but thought I
should make sure. You have the latest driver from Summit? They seem to
release a new one about once a month. And you're controlling the WZC
stuff using your own wrapper classes or OpenNETCF? If OpenNETCF, you'll
want to get the latest version of that, also. As we've gone from
totally undocumented WZC APIs to at least some documentation, there have
been some bugs revealed. I don't think that they would cause this, but
it's worthwhile to try to verify that.

Paul T.

I have been doing some more testing this morning and I am finding that
sometimes when switching between networks I am getting the error message
"DeviceIOControl - IOCTL_NDIS_BIND_ADAPTER". I'm sure this must have
something to do with it, although it fails whether I get the error
message or not.

Andy Baker

We have recently been supplied with some devices that have a different
radio card in them to the one we have been using all along and I have
a problem connecting to our LAN. From a cold reboot, it sets up the
WiFi card (Summit) and connects to the LAN successfully, and I can
ping the WAP and every PC on the LAN. I then install our in-house
written application software and execute it, which basically involves
logging into an SQL server database and transferring data for a day's
work. The software automatically disconnects from the LAN and connects
in AdHoc mode to a wireless printer. However, I then find that the
next time I come to use the LAN, although the device reports that it
is connected, I cannot ping either the WAP or the LAN and cannot
transfer any more data. The WAP reports the device as assocated but
the IP address is 0.0.0.0, which suggests that it has not connected
properly. Nothing except a cold reboot and complete reinstall cured
the problem. I can however, still connect in AdHoc mode to the
printer. This never used to happen with our previous cards (Broadcom)
. The software is written in VB.NET/C# 2003 and uses OpenNetCF calls
to do the network switching between LAN and printer. It looks to me if
the software is leaving the card in such a state that it will no
longer connect properly, but I am at a loss as to what could be
causing it. Any suggestions would be appreciated. Thanks in advance.

Andy Baker
 
P

Paul G. Tobey [eMVP]

I've never found it to be "unreliable" ("undocumented" is different),
although there may be advantages in how roaming is triggered in later
versions of the OS which haven't made it back to earlier ones. That is, you
may find that, when you're running a CE5-based OS, your card may roam
more-willingly or faster, giving you better connectivity. I don't think
that there are any broken things in CE4.2, at this point, though (I just
went through a test cycle on our 4.2 device that included testing three
different wireless cards over half a dozen different encryption types and
authentication types, including Summit, by the way, with no problems).

Yes, you can run 2003 and 2005 on the same PC. I do that all the time and
there is no interference that I've ever seen, as long as you install them in
that order. I'm not sure that the other order will cause you problems, but
I'm pretty cautious about that.

No, no problems with having multiple OpenNETCF versions installed. That's
pretty much just source code, or assemblies, depending on whether you have
the source version or the binary version. I think that the assembly names
of the network things may have changed between 1.4 and 2.1 and a number of
methods that were deprecated in 1.4 are, I believe, gone now, but the new
versions are much better. I'm not involved in maintaining the code as much
as I was in the 1.x days. It's worth installing the 2.x version and just
seeing how much of an impact the compiler will tell you the change is going
to have.

Paul T.

Andy Baker said:
Hello Paul

It is looking likely that I will have to upgrade to 2005 sooner than I
wanted to as the device manufacturers are telling me that WZC in CE.NET
4.2 is unreliable and I have to use CE5, for which I need VS.NET 2005. I
think that I can install 2003 and 2005 on the same PC, but is there any
problem in installing OpenNETCF 1.4 and 2.1 on the same PC? Are there
likely to be many coding changes (to my code) between 1.4 and 2.1 - the
application uses several of the OpenNETCF calls and I don't want to start
on this job until I have more time if it is likely to cause a major
rewrite. Thanks.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
What version of the driver do you have? The first tab in the SCU program
will tell you that.

Yes, 1.4 is the latest .NET CF 1.0 version. Unfortunately, it's not the
latest version, generally. the 2.0 SDF would, I think, have later code.
Since you are getting an error in some situations, debug that. Make
sure, also, that all return values are tested. It's probably just a
matter of this card not working precisely the same as the other card;
that's not at all unusual, but there are still some things that you can
do to assure that it's not you.

Paul T.

Andy Baker said:
Hi Paul

Yes, I have got the Summit card configured to use WZC. I am using
OpenNETCF which worked reliably in the past using the Broadcom card. I
am using version 1.4, which I thought was the latest version that worked
with Visual Studio 2003. Is this still the case? (We hope to be
upgrading to 2005/2008 shortly, but now is not a good time!). I have the
Summit driver from Unitech (the device manufacturer), but as Summit
themselves limit access to the drivers etc to their OEM partners, I have
no access to any others. I will contact Unitech to see if there are
other drivers available. Thanks for the advice.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message So you've got the Summit card configured such that it uses WZC, NOT the
Summit SCU program to do the configuration, right? I don't see any
way to do what you're talking about unless that's the case, but thought
I should make sure. You have the latest driver from Summit? They seem
to release a new one about once a month. And you're controlling the
WZC stuff using your own wrapper classes or OpenNETCF? If OpenNETCF,
you'll want to get the latest version of that, also. As we've gone
from totally undocumented WZC APIs to at least some documentation,
there have been some bugs revealed. I don't think that they would
cause this, but it's worthwhile to try to verify that.

Paul T.

I have been doing some more testing this morning and I am finding that
sometimes when switching between networks I am getting the error
message "DeviceIOControl - IOCTL_NDIS_BIND_ADAPTER". I'm sure this must
have something to do with it, although it fails whether I get the error
message or not.

Andy Baker

We have recently been supplied with some devices that have a
different radio card in them to the one we have been using all along
and I have a problem connecting to our LAN. From a cold reboot, it
sets up the WiFi card (Summit) and connects to the LAN successfully,
and I can ping the WAP and every PC on the LAN. I then install our
in-house written application software and execute it, which basically
involves logging into an SQL server database and transferring data
for a day's work. The software automatically disconnects from the LAN
and connects in AdHoc mode to a wireless printer. However, I then
find that the next time I come to use the LAN, although the device
reports that it is connected, I cannot ping either the WAP or the LAN
and cannot transfer any more data. The WAP reports the device as
assocated but the IP address is 0.0.0.0, which suggests that it has
not connected properly. Nothing except a cold reboot and complete
reinstall cured the problem. I can however, still connect in AdHoc
mode to the printer. This never used to happen with our previous
cards (Broadcom) . The software is written in VB.NET/C# 2003 and uses
OpenNetCF calls to do the network switching between LAN and printer.
It looks to me if the software is leaving the card in such a state
that it will no longer connect properly, but I am at a loss as to
what could be causing it. Any suggestions would be appreciated.
Thanks in advance.

Andy Baker
 
G

Guest

You'd have to diff the codebases to be sure, but IIRC the changes were
fairly minor - some stuff was deprecated, but I'm not sure those are even
breaking - they may just be warnings. Several bugs were fixed, but if 1.x
was working, you're not likley to be affected by these.

SDF 2.2, slated for release very soon, makes a *lot* of changes to the
networking namespace. Again, we've tried to only mark things as bsolete and
leave them as warnings. THis that were warning have become hard errors.
Things that were errors have been removed.

-Chris


Andy Baker said:
Hello Paul

It is looking likely that I will have to upgrade to 2005 sooner than I
wanted to as the device manufacturers are telling me that WZC in CE.NET
4.2 is unreliable and I have to use CE5, for which I need VS.NET 2005. I
think that I can install 2003 and 2005 on the same PC, but is there any
problem in installing OpenNETCF 1.4 and 2.1 on the same PC? Are there
likely to be many coding changes (to my code) between 1.4 and 2.1 - the
application uses several of the OpenNETCF calls and I don't want to start
on this job until I have more time if it is likely to cause a major
rewrite. Thanks.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
What version of the driver do you have? The first tab in the SCU program
will tell you that.

Yes, 1.4 is the latest .NET CF 1.0 version. Unfortunately, it's not the
latest version, generally. the 2.0 SDF would, I think, have later code.
Since you are getting an error in some situations, debug that. Make
sure, also, that all return values are tested. It's probably just a
matter of this card not working precisely the same as the other card;
that's not at all unusual, but there are still some things that you can
do to assure that it's not you.

Paul T.

Andy Baker said:
Hi Paul

Yes, I have got the Summit card configured to use WZC. I am using
OpenNETCF which worked reliably in the past using the Broadcom card. I
am using version 1.4, which I thought was the latest version that worked
with Visual Studio 2003. Is this still the case? (We hope to be
upgrading to 2005/2008 shortly, but now is not a good time!). I have the
Summit driver from Unitech (the device manufacturer), but as Summit
themselves limit access to the drivers etc to their OEM partners, I have
no access to any others. I will contact Unitech to see if there are
other drivers available. Thanks for the advice.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message So you've got the Summit card configured such that it uses WZC, NOT the
Summit SCU program to do the configuration, right? I don't see any
way to do what you're talking about unless that's the case, but thought
I should make sure. You have the latest driver from Summit? They seem
to release a new one about once a month. And you're controlling the
WZC stuff using your own wrapper classes or OpenNETCF? If OpenNETCF,
you'll want to get the latest version of that, also. As we've gone
from totally undocumented WZC APIs to at least some documentation,
there have been some bugs revealed. I don't think that they would
cause this, but it's worthwhile to try to verify that.

Paul T.

I have been doing some more testing this morning and I am finding that
sometimes when switching between networks I am getting the error
message "DeviceIOControl - IOCTL_NDIS_BIND_ADAPTER". I'm sure this must
have something to do with it, although it fails whether I get the error
message or not.

Andy Baker

We have recently been supplied with some devices that have a
different radio card in them to the one we have been using all along
and I have a problem connecting to our LAN. From a cold reboot, it
sets up the WiFi card (Summit) and connects to the LAN successfully,
and I can ping the WAP and every PC on the LAN. I then install our
in-house written application software and execute it, which basically
involves logging into an SQL server database and transferring data
for a day's work. The software automatically disconnects from the LAN
and connects in AdHoc mode to a wireless printer. However, I then
find that the next time I come to use the LAN, although the device
reports that it is connected, I cannot ping either the WAP or the LAN
and cannot transfer any more data. The WAP reports the device as
assocated but the IP address is 0.0.0.0, which suggests that it has
not connected properly. Nothing except a cold reboot and complete
reinstall cured the problem. I can however, still connect in AdHoc
mode to the printer. This never used to happen with our previous
cards (Broadcom) . The software is written in VB.NET/C# 2003 and uses
OpenNetCF calls to do the network switching between LAN and printer.
It looks to me if the software is leaving the card in such a state
that it will no longer connect properly, but I am at a loss as to
what could be causing it. Any suggestions would be appreciated.
Thanks in advance.

Andy Baker
 
A

Andy Baker

I have installed CE5, Visual Studio 2005 and OpenNETCF 2.1 and written a
test application that does the same as the portion of the main application
that is going wrong. Unfortunately I have exactly the same problem as with
the previous setup. This seems to rule out CE4.2 and OpenNETCF 1.4, and
leaves me with my code (probably most likely!), the network card and the
driver. What I am trying to do is to switch between 2 networks, a LAN in
infrastructure mode and a printer in ad-hoc mode. All am doing in my code
(VB.NET 2005) is using 3 OpenNETCF calls, RemoveWirelessSettings,
SetWirelessSettingsAddEx and BindAdapter. The parameters that I am passing
to the SetWirelessSettingsEx must be OK because the network reports that it
is connected. Is there anything else that I need to do in my code?
Summit and Unitech (the device manufacturers) are telling me to avoid
using ad-hoc mode if possible because it is unstable, and install a wireless
access point on the vehicle that the printer is to be used on. I don't want
to go down this route if I can help it, although I am sure it would work. I
am sure I have never had a problem with the previous card, so is what they
are saying generally true, or is it just the summit cards? Unfortunately I
no longer have the previous card (Broadcom) to test it with and the slot in
the device will not take just any card as there is no spare room to take the
aerial etc. Do you know of any easily available WiFi card that will fit in
an internal compact flash slot (or PCMCIA card that will work with CE 4.2)?

Andy Baker


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
I've never found it to be "unreliable" ("undocumented" is different),
although there may be advantages in how roaming is triggered in later
versions of the OS which haven't made it back to earlier ones. That is,
you may find that, when you're running a CE5-based OS, your card may roam
more-willingly or faster, giving you better connectivity. I don't think
that there are any broken things in CE4.2, at this point, though (I just
went through a test cycle on our 4.2 device that included testing three
different wireless cards over half a dozen different encryption types and
authentication types, including Summit, by the way, with no problems).

Yes, you can run 2003 and 2005 on the same PC. I do that all the time and
there is no interference that I've ever seen, as long as you install them
in that order. I'm not sure that the other order will cause you problems,
but I'm pretty cautious about that.

No, no problems with having multiple OpenNETCF versions installed. That's
pretty much just source code, or assemblies, depending on whether you have
the source version or the binary version. I think that the assembly names
of the network things may have changed between 1.4 and 2.1 and a number of
methods that were deprecated in 1.4 are, I believe, gone now, but the new
versions are much better. I'm not involved in maintaining the code as
much as I was in the 1.x days. It's worth installing the 2.x version and
just seeing how much of an impact the compiler will tell you the change is
going to have.

Paul T.

Andy Baker said:
Hello Paul

It is looking likely that I will have to upgrade to 2005 sooner than I
wanted to as the device manufacturers are telling me that WZC in CE.NET
4.2 is unreliable and I have to use CE5, for which I need VS.NET 2005. I
think that I can install 2003 and 2005 on the same PC, but is there any
problem in installing OpenNETCF 1.4 and 2.1 on the same PC? Are there
likely to be many coding changes (to my code) between 1.4 and 2.1 - the
application uses several of the OpenNETCF calls and I don't want to start
on this job until I have more time if it is likely to cause a major
rewrite. Thanks.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message news:[email protected]...
What version of the driver do you have? The first tab in the SCU
program will tell you that.

Yes, 1.4 is the latest .NET CF 1.0 version. Unfortunately, it's not the
latest version, generally. the 2.0 SDF would, I think, have later code.
Since you are getting an error in some situations, debug that. Make
sure, also, that all return values are tested. It's probably just a
matter of this card not working precisely the same as the other card;
that's not at all unusual, but there are still some things that you can
do to assure that it's not you.

Paul T.

Hi Paul

Yes, I have got the Summit card configured to use WZC. I am using
OpenNETCF which worked reliably in the past using the Broadcom card. I
am using version 1.4, which I thought was the latest version that
worked with Visual Studio 2003. Is this still the case? (We hope to be
upgrading to 2005/2008 shortly, but now is not a good time!). I have
the Summit driver from Unitech (the device manufacturer), but as Summit
themselves limit access to the drivers etc to their OEM partners, I
have no access to any others. I will contact Unitech to see if there
are other drivers available. Thanks for the advice.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message So you've got the Summit card configured such that it uses WZC, NOT
the Summit SCU program to do the configuration, right? I don't see
any way to do what you're talking about unless that's the case, but
thought I should make sure. You have the latest driver from Summit?
They seem to release a new one about once a month. And you're
controlling the WZC stuff using your own wrapper classes or OpenNETCF?
If OpenNETCF, you'll want to get the latest version of that, also. As
we've gone from totally undocumented WZC APIs to at least some
documentation, there have been some bugs revealed. I don't think that
they would cause this, but it's worthwhile to try to verify that.

Paul T.

I have been doing some more testing this morning and I am finding that
sometimes when switching between networks I am getting the error
message "DeviceIOControl - IOCTL_NDIS_BIND_ADAPTER". I'm sure this
must have something to do with it, although it fails whether I get the
error message or not.

Andy Baker

We have recently been supplied with some devices that have a
different radio card in them to the one we have been using all along
and I have a problem connecting to our LAN. From a cold reboot, it
sets up the WiFi card (Summit) and connects to the LAN successfully,
and I can ping the WAP and every PC on the LAN. I then install our
in-house written application software and execute it, which
basically involves logging into an SQL server database and
transferring data for a day's work. The software automatically
disconnects from the LAN and connects in AdHoc mode to a wireless
printer. However, I then find that the next time I come to use the
LAN, although the device reports that it is connected, I cannot ping
either the WAP or the LAN and cannot transfer any more data. The WAP
reports the device as assocated but the IP address is 0.0.0.0, which
suggests that it has not connected properly. Nothing except a cold
reboot and complete reinstall cured the problem. I can however,
still connect in AdHoc mode to the printer. This never used to
happen with our previous cards (Broadcom) . The software is written
in VB.NET/C# 2003 and uses OpenNetCF calls to do the network
switching between LAN and printer. It looks to me if the software is
leaving the card in such a state that it will no longer connect
properly, but I am at a loss as to what could be causing it. Any
suggestions would be appreciated. Thanks in advance.

Andy Baker
 
P

Paul G. Tobey [eMVP]

You might unbind the adapter before changing, I guess. I remember this sort
of question from way back, maybe that was you, even, but I've never done
things this way, so I'm not brimming with answers. My guess would be that
the problem is the specific operations and the order in which they occur and
the timing. Perhaps the Summit card is doing something else when you remove
the settings that your old card did not do (maybe that card was a 'b' only
card and Summit is doing something that is 'b'/'g' specific.

You should be able to use the Demarctech 802.11b card. It's PCMCIA and has
a built-in antenna that you can also remove to plug in a standard antenna
tail for an external antenna. I think it's just Demarctech.com. It's uses
the Prism 2.5 chipset, but the Prism 2 driver, islp2nds, in Windows CE 4.2
(and 5.0 and 6.0, I think), will work fine with it.

Paul T.

Andy Baker said:
I have installed CE5, Visual Studio 2005 and OpenNETCF 2.1 and written a
test application that does the same as the portion of the main application
that is going wrong. Unfortunately I have exactly the same problem as with
the previous setup. This seems to rule out CE4.2 and OpenNETCF 1.4, and
leaves me with my code (probably most likely!), the network card and the
driver. What I am trying to do is to switch between 2 networks, a LAN in
infrastructure mode and a printer in ad-hoc mode. All am doing in my code
(VB.NET 2005) is using 3 OpenNETCF calls, RemoveWirelessSettings,
SetWirelessSettingsAddEx and BindAdapter. The parameters that I am passing
to the SetWirelessSettingsEx must be OK because the network reports that it
is connected. Is there anything else that I need to do in my code?
Summit and Unitech (the device manufacturers) are telling me to avoid
using ad-hoc mode if possible because it is unstable, and install a
wireless access point on the vehicle that the printer is to be used on. I
don't want to go down this route if I can help it, although I am sure it
would work. I am sure I have never had a problem with the previous card,
so is what they are saying generally true, or is it just the summit cards?
Unfortunately I no longer have the previous card (Broadcom) to test it
with and the slot in the device will not take just any card as there is no
spare room to take the aerial etc. Do you know of any easily available
WiFi card that will fit in an internal compact flash slot (or PCMCIA card
that will work with CE 4.2)?

Andy Baker


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
I've never found it to be "unreliable" ("undocumented" is different),
although there may be advantages in how roaming is triggered in later
versions of the OS which haven't made it back to earlier ones. That is,
you may find that, when you're running a CE5-based OS, your card may roam
more-willingly or faster, giving you better connectivity. I don't think
that there are any broken things in CE4.2, at this point, though (I just
went through a test cycle on our 4.2 device that included testing three
different wireless cards over half a dozen different encryption types and
authentication types, including Summit, by the way, with no problems).

Yes, you can run 2003 and 2005 on the same PC. I do that all the time
and there is no interference that I've ever seen, as long as you install
them in that order. I'm not sure that the other order will cause you
problems, but I'm pretty cautious about that.

No, no problems with having multiple OpenNETCF versions installed.
That's pretty much just source code, or assemblies, depending on whether
you have the source version or the binary version. I think that the
assembly names of the network things may have changed between 1.4 and 2.1
and a number of methods that were deprecated in 1.4 are, I believe, gone
now, but the new versions are much better. I'm not involved in
maintaining the code as much as I was in the 1.x days. It's worth
installing the 2.x version and just seeing how much of an impact the
compiler will tell you the change is going to have.

Paul T.

Andy Baker said:
Hello Paul

It is looking likely that I will have to upgrade to 2005 sooner than I
wanted to as the device manufacturers are telling me that WZC in CE.NET
4.2 is unreliable and I have to use CE5, for which I need VS.NET 2005. I
think that I can install 2003 and 2005 on the same PC, but is there any
problem in installing OpenNETCF 1.4 and 2.1 on the same PC? Are there
likely to be many coding changes (to my code) between 1.4 and 2.1 - the
application uses several of the OpenNETCF calls and I don't want to
start on this job until I have more time if it is likely to cause a
major rewrite. Thanks.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message What version of the driver do you have? The first tab in the SCU
program will tell you that.

Yes, 1.4 is the latest .NET CF 1.0 version. Unfortunately, it's not
the latest version, generally. the 2.0 SDF would, I think, have later
code. Since you are getting an error in some situations, debug that.
Make sure, also, that all return values are tested. It's probably just
a matter of this card not working precisely the same as the other card;
that's not at all unusual, but there are still some things that you can
do to assure that it's not you.

Paul T.

Hi Paul

Yes, I have got the Summit card configured to use WZC. I am using
OpenNETCF which worked reliably in the past using the Broadcom card. I
am using version 1.4, which I thought was the latest version that
worked with Visual Studio 2003. Is this still the case? (We hope to be
upgrading to 2005/2008 shortly, but now is not a good time!). I have
the Summit driver from Unitech (the device manufacturer), but as
Summit themselves limit access to the drivers etc to their OEM
partners, I have no access to any others. I will contact Unitech to
see if there are other drivers available. Thanks for the advice.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message
So you've got the Summit card configured such that it uses WZC, NOT
the Summit SCU program to do the configuration, right? I don't see
any way to do what you're talking about unless that's the case, but
thought I should make sure. You have the latest driver from Summit?
They seem to release a new one about once a month. And you're
controlling the WZC stuff using your own wrapper classes or
OpenNETCF? If OpenNETCF, you'll want to get the latest version of
that, also. As we've gone from totally undocumented WZC APIs to at
least some documentation, there have been some bugs revealed. I
don't think that they would cause this, but it's worthwhile to try to
verify that.

Paul T.

I have been doing some more testing this morning and I am finding
that sometimes when switching between networks I am getting the error
message "DeviceIOControl - IOCTL_NDIS_BIND_ADAPTER". I'm sure this
must have something to do with it, although it fails whether I get
the error message or not.

Andy Baker

We have recently been supplied with some devices that have a
different radio card in them to the one we have been using all
along and I have a problem connecting to our LAN. From a cold
reboot, it sets up the WiFi card (Summit) and connects to the LAN
successfully, and I can ping the WAP and every PC on the LAN. I
then install our in-house written application software and execute
it, which basically involves logging into an SQL server database
and transferring data for a day's work. The software automatically
disconnects from the LAN and connects in AdHoc mode to a wireless
printer. However, I then find that the next time I come to use the
LAN, although the device reports that it is connected, I cannot
ping either the WAP or the LAN and cannot transfer any more data.
The WAP reports the device as assocated but the IP address is
0.0.0.0, which suggests that it has not connected properly. Nothing
except a cold reboot and complete reinstall cured the problem. I
can however, still connect in AdHoc mode to the printer. This never
used to happen with our previous cards (Broadcom) . The software is
written in VB.NET/C# 2003 and uses OpenNetCF calls to do the
network switching between LAN and printer. It looks to me if the
software is leaving the card in such a state that it will no longer
connect properly, but I am at a loss as to what could be causing
it. Any suggestions would be appreciated. Thanks in advance.

Andy Baker
 
A

Andy Baker

Yes it probably was me that asked that question before - I seem to remember
speaking to you about the same piece of code when I wrote it a couple of
years back. However, it has been working OK for that time, and I think I
have managed to program round it should a problem occur like it has with
these latest summit cards - dropping and retrying the connection several
times and switching the c/f card off and on has worked successfully so far.
Thanks for the tip about the PCMCIA card. Unfortunately we are in the UK
and the Demarctech does not seem to be readily available over here. I will
look for a PCMCIA card that uses the Prism chipset and see what I can find.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
You might unbind the adapter before changing, I guess. I remember this
sort of question from way back, maybe that was you, even, but I've never
done things this way, so I'm not brimming with answers. My guess would be
that the problem is the specific operations and the order in which they
occur and the timing. Perhaps the Summit card is doing something else
when you remove the settings that your old card did not do (maybe that
card was a 'b' only card and Summit is doing something that is 'b'/'g'
specific.

You should be able to use the Demarctech 802.11b card. It's PCMCIA and
has a built-in antenna that you can also remove to plug in a standard
antenna tail for an external antenna. I think it's just Demarctech.com.
It's uses the Prism 2.5 chipset, but the Prism 2 driver, islp2nds, in
Windows CE 4.2 (and 5.0 and 6.0, I think), will work fine with it.

Paul T.

Andy Baker said:
I have installed CE5, Visual Studio 2005 and OpenNETCF 2.1 and written a
test application that does the same as the portion of the main application
that is going wrong. Unfortunately I have exactly the same problem as with
the previous setup. This seems to rule out CE4.2 and OpenNETCF 1.4, and
leaves me with my code (probably most likely!), the network card and the
driver. What I am trying to do is to switch between 2 networks, a LAN in
infrastructure mode and a printer in ad-hoc mode. All am doing in my code
(VB.NET 2005) is using 3 OpenNETCF calls, RemoveWirelessSettings,
SetWirelessSettingsAddEx and BindAdapter. The parameters that I am passing
to the SetWirelessSettingsEx must be OK because the network reports that
it is connected. Is there anything else that I need to do in my code?
Summit and Unitech (the device manufacturers) are telling me to avoid
using ad-hoc mode if possible because it is unstable, and install a
wireless access point on the vehicle that the printer is to be used on. I
don't want to go down this route if I can help it, although I am sure it
would work. I am sure I have never had a problem with the previous card,
so is what they are saying generally true, or is it just the summit
cards? Unfortunately I no longer have the previous card (Broadcom) to
test it with and the slot in the device will not take just any card as
there is no spare room to take the aerial etc. Do you know of any easily
available WiFi card that will fit in an internal compact flash slot (or
PCMCIA card that will work with CE 4.2)?

Andy Baker


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message news:[email protected]...
I've never found it to be "unreliable" ("undocumented" is different),
although there may be advantages in how roaming is triggered in later
versions of the OS which haven't made it back to earlier ones. That is,
you may find that, when you're running a CE5-based OS, your card may
roam more-willingly or faster, giving you better connectivity. I don't
think that there are any broken things in CE4.2, at this point, though
(I just went through a test cycle on our 4.2 device that included
testing three different wireless cards over half a dozen different
encryption types and authentication types, including Summit, by the way,
with no problems).

Yes, you can run 2003 and 2005 on the same PC. I do that all the time
and there is no interference that I've ever seen, as long as you install
them in that order. I'm not sure that the other order will cause you
problems, but I'm pretty cautious about that.

No, no problems with having multiple OpenNETCF versions installed.
That's pretty much just source code, or assemblies, depending on whether
you have the source version or the binary version. I think that the
assembly names of the network things may have changed between 1.4 and
2.1 and a number of methods that were deprecated in 1.4 are, I believe,
gone now, but the new versions are much better. I'm not involved in
maintaining the code as much as I was in the 1.x days. It's worth
installing the 2.x version and just seeing how much of an impact the
compiler will tell you the change is going to have.

Paul T.

Hello Paul

It is looking likely that I will have to upgrade to 2005 sooner than I
wanted to as the device manufacturers are telling me that WZC in CE.NET
4.2 is unreliable and I have to use CE5, for which I need VS.NET 2005.
I think that I can install 2003 and 2005 on the same PC, but is there
any problem in installing OpenNETCF 1.4 and 2.1 on the same PC? Are
there likely to be many coding changes (to my code) between 1.4 and
2.1 - the application uses several of the OpenNETCF calls and I don't
want to start on this job until I have more time if it is likely to
cause a major rewrite. Thanks.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message What version of the driver do you have? The first tab in the SCU
program will tell you that.

Yes, 1.4 is the latest .NET CF 1.0 version. Unfortunately, it's not
the latest version, generally. the 2.0 SDF would, I think, have later
code. Since you are getting an error in some situations, debug that.
Make sure, also, that all return values are tested. It's probably
just a matter of this card not working precisely the same as the other
card; that's not at all unusual, but there are still some things that
you can do to assure that it's not you.

Paul T.

Hi Paul

Yes, I have got the Summit card configured to use WZC. I am using
OpenNETCF which worked reliably in the past using the Broadcom card.
I am using version 1.4, which I thought was the latest version that
worked with Visual Studio 2003. Is this still the case? (We hope to
be upgrading to 2005/2008 shortly, but now is not a good time!). I
have the Summit driver from Unitech (the device manufacturer), but as
Summit themselves limit access to the drivers etc to their OEM
partners, I have no access to any others. I will contact Unitech to
see if there are other drivers available. Thanks for the advice.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no
spam DOT com> wrote in message
So you've got the Summit card configured such that it uses WZC, NOT
the Summit SCU program to do the configuration, right? I don't see
any way to do what you're talking about unless that's the case, but
thought I should make sure. You have the latest driver from Summit?
They seem to release a new one about once a month. And you're
controlling the WZC stuff using your own wrapper classes or
OpenNETCF? If OpenNETCF, you'll want to get the latest version of
that, also. As we've gone from totally undocumented WZC APIs to at
least some documentation, there have been some bugs revealed. I
don't think that they would cause this, but it's worthwhile to try
to verify that.

Paul T.

I have been doing some more testing this morning and I am finding
that sometimes when switching between networks I am getting the
error message "DeviceIOControl - IOCTL_NDIS_BIND_ADAPTER". I'm sure
this must have something to do with it, although it fails whether I
get the error message or not.

Andy Baker

We have recently been supplied with some devices that have a
different radio card in them to the one we have been using all
along and I have a problem connecting to our LAN. From a cold
reboot, it sets up the WiFi card (Summit) and connects to the LAN
successfully, and I can ping the WAP and every PC on the LAN. I
then install our in-house written application software and execute
it, which basically involves logging into an SQL server database
and transferring data for a day's work. The software automatically
disconnects from the LAN and connects in AdHoc mode to a wireless
printer. However, I then find that the next time I come to use the
LAN, although the device reports that it is connected, I cannot
ping either the WAP or the LAN and cannot transfer any more data.
The WAP reports the device as assocated but the IP address is
0.0.0.0, which suggests that it has not connected properly.
Nothing except a cold reboot and complete reinstall cured the
problem. I can however, still connect in AdHoc mode to the
printer. This never used to happen with our previous cards
(Broadcom) . The software is written in VB.NET/C# 2003 and uses
OpenNetCF calls to do the network switching between LAN and
printer. It looks to me if the software is leaving the card in
such a state that it will no longer connect properly, but I am at
a loss as to what could be causing it. Any suggestions would be
appreciated. Thanks in advance.

Andy Baker
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top