Link to home
Start Free TrialLog in
Avatar of coronoahcoro
coronoahcoroFlag for United States of America

asked on

Frequent 'Connection to Server has been terminated' on Motorola MC9090

We have Motorola MC9090 scanner that we use to run TelnetCE from Wavelink to emulate our AS400 session. The problem is everytime someone signs on, leave the session up, and comes back a few minutes later to continue the work, the session gives this message:

'Connection to <Server Name> has been terminated. <Enter> to connect.

I looked at the wireless connection and it looks like it is connected. We don't have this problem with the old scanner. The OS for the scanner is Windows Mobile 6 classic
Avatar of coronoahcoro
coronoahcoro
Flag of United States of America image

ASKER

I checked the Wireless log  in the scanner gun. It seems that the wireless connection is restarting every so often. Is there a place in Windows Mobile to set this up? I'm still trying to figure out this.
Avatar of Gary Patterson, CISSP
Check the job log of one of the terminated jobs and see what error message is reported, or check the the QTVDEVICE job(s) for error messages that explain the cause of the drop.  Several likely causes:

1) You old application way have been configured to send tenet keepalive packets to keep the connection from timing out.  If so, then either the AS/400 or perhaps intermediate firewall is terminating the connection when no activity is seen for a while (AS/400 default is 600 seconds).  

2) The inactivity-related system values control the timeout handling of telnet sessions.  This is probably NOT the problem, unless someone has recently changed one of these system values.  Maybe this has recently changed:

http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%2Frbapk%2Frbapkrbapk3h3inactivejobs.htm

IBM has a good troubleshooter for Telnet drops:

http://www-01.ibm.com/support/docview.wss?uid=nas1a53b17cf8d5ed7c386256cf3006ba9d2

- Gary Patterson
Here's the manual.  You didn't specify a version, so you may need to locate the manual for your version.

I found a hit when I searched for "keep alive".  

http://www.wavelink.com/orders/files/wltn_s90_ce41_8b_4in1_us_n.pdf

- Gary
Thanks for all the info Gary but now I suspect something. There is a power settings that keeps turning off the device every a few mins. I disabled it but it keeps coming back.

The setting is found here:
Settings > Power > Advanced > Turn off device if not used for (2-5 mins)

I disabled it and it works for a few mins then it is off by itself and when I looked back at the settings. That power setting is enabled again.
:-)

Is there something you are supposed to be doing to save or apply the changes, perhaps?

If you've followed the manufacturer's instructions for changing this value, and it doesn't stick, the I recommend you contact the manufacturer for support.

Note that Windows Mobile 6 devices can become full-fledged domain members, and can be managed though Group Policy.  I haven't set this up before, but do you suppose it possible that there is a group policy setting that is overriding your manual changes?

http://blogs.technet.com/b/steve_lamb/archive/2007/11/06/how-to-manage-mobile-devices-via-group-policy-enter-system-center-mobile-device-manager.aspx

- Gary Patterson
That's what I'm trying to figure out. Something keeps changing the setting and the scanners are not joined in a domain.

Hmm the last link that you gave me doesn't show how to change the Group Policy setting. I guess I really need to call Motorola tech support...I don't like calling tech support :(
I called Motorola tech support yesterday. He wasn't sure either why the power settings are keep changing to default so he walked me through to user RemCapture to capture the registry file, make the changes needed, then load the difference in the registry back to the device. So I kept the scanner overnight and when I came back this morning, it was shut off which I'm not sure why. I tried to wake it up by pressing the display and buttons but it didn't work so I had to press the power button and it came back up. Starting from that point the device acted strange, it disconnected from the wireless access and restored the power settings every few minutes, but after 30 mins fiddled with it the power settings stays where I set it to and the wireless connection didn't disconnect anymore except around noon which I really don't know what the reason was.

Also I changed the power settings on the other 2 scanners in the warehouse and they haven't had any problem since yesterday the only difference is they sit on their charger overnight and mine didn't. Plus they have better wireless signal at the warehouse.

Any suggestion?
If this is just happening with one scanner, have you considered that you might just have a bad unit?  If it is new, it should still be under warranty.  Get the vendor or Motorola to swap it for a new one and see if the problem persists.

Or maybe the battery just ran down since you left it disconnected and turned on all night.

- Gary
These happen on all the 4 new scanners. Today I got a call from one user saying that one of the scanner is running out of battery power and after he recharged the battery the scanner keeps turning off every 2 mins again and of course the setting to turn off the device every 2 mins is checked again.

I just don't get it how come a device lose its settings when the device is turned off. Shouldn't the scanner save the setting in some sort of nonvolatile memory?
ASKER CERTIFIED SOLUTION
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I just created a reg file for one of the scanners. How do I cold boot this device? Do I need to download a program from Motorola website?
See the User's guide that I linked to above.

- Gary Patterson
I just got one scanner that I had to send back because it was defective. The other 3 seem to work ok. I will update this once I complete setting up the one I just received
Sounds like all kinds of fun.
I can't connect the one that I just got to our wireless network and when I'm comparing its network configuration with the other device that is working, suddenly the Telnet CE on the working device just quit working and says it can't connect to our AS400 even though the wireless connection says it's connected. I really hate these devices...
Sounds like you may have the same MAC address or, more likely, IP address, assigned to both devices.  (If so, that's not exactly the device's fault...).
Finally, the device is connected to the network. I believe the cause is because the 'Enable 802.11d' checkbox is checked ... I really don't know why this causes a problem really. Now installing Telnet CE. I hope this one go smoother
All is fine now. phew, Thanks Gary!