PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

OpenServer

Hello

Is it possible to have the Openserver run on the PocketPC instead of on a server. Would be nice to not have to carry around a server when you want to form an adhoc network outside a wirelessLAN.

I have not successfully managed to use OpenServer. I have formed an adhoc wireless network on the server machine. I then run OpenServer. I connect both Pocket PCs to the adhoc network, but OpenServer doesnot seem to detect them. I'm I missing a step somewhere?

thanks

Dynz
Yes. OpenServer is for non-ad hoc networking. You need routing capabilities in your network to use OpenServer.

If you have a WLAN access point - use OpenServer.
If you run ad hoc - use ad hoc mode...
DYnz · 13 Oct 2004, 09:20 UTC — I'm confused
Hi

I think I'm asking the wrong question. From what I understand, adhoc networks do not require any infrastructure (e.g. WLAN or LAN or Cellular Network). Devices with Bluetooth or Wifi should be able to form a self organising adhoc network without needing any infrastructure.

From your previous posts it seems like openTrek does not currently support true adhoc networking as it requires the existance of a WLAN infrastructure or the use of LAN with with OpenServer. Have I understood you correctly?

An example scenario, If I have two pocket pc on a camping trip in some remote mountain. WOuld openTrek allow me to connect the two devices together by forming an adhoc network to allow me to play a multiplayer game? If Yes, how would you set the pocket pc's up to do so.

Thanks for all your help..

much appreciated

DYnz
I think I'm asking the wrong question. From what I understand, adhoc networks do not require any infrastructure (e.g. WLAN or LAN or Cellular Network). Devices with Bluetooth or Wifi should be able to form a self organising adhoc network without needing any infrastructure.


Correct.

From your previous posts it seems like openTrek does not currently support true adhoc networking as it requires the existance of a WLAN infrastructure or the use of LAN with with OpenServer. Have I understood you correctly?


Not correct. OpenTrek supports both modes. If you start OpenTrek on your Pocket PC you can change Networking DLL. If you choose the "ad hoc" DLL, OpenTrek will work in true "ad hoc" mode, without requiring any infrastructure. If you choose "server" mode, IP address information on all devices will be sent through a central server but communication will still be peer-to-peer.

If you use an ad hoc network - use the network driver "adhoc.dll"
If you use a wireless network with an access point - use the network driver "server.dll" and start OpenServer on one of your PCs.

Currently it's not possible to change the IP of the OpenServer machine through the OpenTrek GUI - to do so, please copy the file \OpenTrek\network\server.ini to your laptop, edit the IP, and copy it back to the device.

An example scenario, If I have two pocket pc on a camping trip in some remote mountain. WOuld openTrek allow me to connect the two devices together by forming an adhoc network to allow me to play a multiplayer game? If Yes, how would you set the pocket pc's up to do so.


Yes, you use the "adhoc.dll" driver. BUT you still have to set up all the IP settings manually (IP address 192.168.x.y and subnet 255.255.255.0).

When developing OpenTrek it was my hope that Microsoft would incorporate something similar to Apple Rendezvous in Windows Mobile which would be really cool for mobile ad hoc networking. This would make OpenTrek a really cool platform to build on. Right now it's too much configuration to build an ad hoc network, which really makes OpenTrek most suitable for internal prototypes and demonstrators.
Dynz · 13 Oct 2004, 10:56 UTC — still no luck....
Hi

Cool, now I just have to figure out what why the two pocket pc's (hp5500) wont find users.

They find users in the userlist service if I connect to our existing wireless LAN in our department. In this case I do not assign IP address on the PDAs. They also find users when I setup a adhoc network between my Computer and the two PDAs.In this case I do assign IP addresses.

However when I try to connect the two Pocket PC together they do not find any users when I run the awareness program. I have copied across all your precompiled files and have tried running both the evc3 and evc4 versions of the launcher program. I have assigned one device the following IP address 192.168.0.1 and subnet 255.255.255.0 and the other 192.168.0.2 and subnet 255.255.255.0. Both PDAs are running the adhoc.dll. For both devices the server mode in the device settings is deselected. The connectivity icon on the windows ce task bar shows that neither device is connected to any network. For Both devices all wireless features are turned on. I have tried resetting a couple of times and rerunning the programs, but have had no success.

Any ideas what would prevent them from connecting. Once I achieve this then I'm ready to go...

thanks for your patience in helping me figure this out.

cheers

dynz
It might be a Windows Mobile issue. When Windows Mobile "creates" a new wireless ad hoc network it mayset it to use WEP with automatic key distribution. Which means that message broadcast won't work. Do you have a laptop with you? Try creating the ad hoc network from the laptop, and then join the network with the PDAs. Just to see if it works and that they see each other. If this works, the next time the PDA is switched on it will use the non-WEP ad hoc network, even if the laptop is not present.

By the way, we just released OpenTrek 3.5 beta 2 which includes Embedded Visual C++ 4.0 sample projects and DEBUG binaries of OpenTrek launcher for stationary PCs. Get it at our download page at www.develant.com

//Johan
Dynz · 14 Oct 2004, 12:04 UTC — what do u think?
Hi Johan

This works. However when you reset the device or switch it off it has problems re-establishing a connection, without including the laptop. I have found that if the pocket pc fail to find users, you have to switch then off one at a time and then switch them on. Sometimes you have to do this twice and then the userlist app will be able to find users.

Any thoughts on why I would have to do this? Could it be the way opentrek initialises?

Thanks for your help

Dynz
I believe this issue is specific to the 5550 ipaqs. They unfortunately have a very poor TCP implementation. I do not have this issue on other devices I have tested on (such as the 4150).