Connect WinCE device to SCO Unix using Serial port and Kermit server

I need to connect an Intermec CK61 device running WinCE 5 to an old SCO Unix box using the serial port.

I run Kermit with the command  "./kermit -p n -b 19200 -l /dev/ttya8 -x"  on SCO so that it listens on /dev/ttya8 with baud rate of 19200, databits 8 and parity none.

In the WinCE device I disabled direct connections to the desktop computer and created a new direct connection selecting Serial Cable on COM1 as the connection device. I set the baud rate etc as above to match the settings in SCO. I wasn't sure if I needed to set up an IP address or have the server assign one. I tried both and it did not make a difference.

When I try to connect to the SCO box from the WinCE device, it comes back with an error message "You have been disconnected from the remote computer you dialed. Verify the Baud Rate setting and retry the connection."
nicoschroederAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
GnsConnect With a Mentor Commented:
If I don't misunderstand this completely, you've hit a snag with the rather weak terminal emulator program bundled with CE.... Look here for alternatives: http://www.pocketpcfaq.com/wce/20/telnet.htm

I assume what you're after is some form of binary file transfer...?

-- Glenn
0
 
estrelowCommented:
nicos,

This is a rare connection, never tried anything like it. Even thoug, I'd suggest checking /etc/inittab  on the Unix box for an entry related to ttya8.
If there's an entry like...

Sea8:respawn:/etc/getty ttya8

Then it's likely that the Unix native login system has taken over this serial port with its own baud rate.
If so, yo should issue a "disable ttya8" command to release the port and then start the kermit server. To make this change permanent, you should change the terminal database configuration.
0
 
nicoschroederAuthor Commented:
Thanks for your comments estrelow.

I checked /etc/inittab and the only occurrence of ttya8 is in the the following line:
"a8:234:off:/etc/getty ttya8 9600"
And I do "disable ttya8"  before running the kermit server.

I promptly changed the baud rate to 9600 everywhere but alas, same story. I then disconnected the serial cable from the device and tried to connect. I found that the same error message appears when the device fails to connect???

Furthermore, I have another device, an old symbol pda which I am currently using (I am trying to upgrade!) . Anyway, this pda connects successfully to the SCO box via serial port and kermit server....

Please let me know if you require any further information.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
nicoschroederAuthor Commented:
Thanks for your comments estrelow.

I checked /etc/inittab and the only occurrence of ttya8 is in the the following line:
"a8:234:off:/etc/getty ttya8 9600"
And I do "disable ttya8"  before running the kermit server.

I promptly changed the baud rate to 9600 everywhere but alas, same story. I then disconnected the serial cable from the device and tried to connect. I found that the same error message appears when the device fails to connect???

Furthermore, I have another device, an old symbol pda which I am currently using (I am trying to upgrade!) . Anyway, this pda connects successfully to the SCO box via serial port and kermit server....

Please let me know if you require any further information.
0
 
Gabriel OrozcoSolution ArchitectCommented:
I think there should be some way to use ethernet to connect these.
but if not, here are some hints

this is a driver for serial communications made for linux and a serial HP want several years ago. it may fit in your requirements:
http://www.linuxjournal.com/article/4545

also noticed there are some tools to configure your serial port. most examples I found are for printers but you can take the idea from there:
http://lpccomp.bc.ca/remserial/
http://www.electrosonics.net/technotes/ConnectingASerialPrinter.asp

good luck
0
 
nicoschroederAuthor Commented:
Thanks Glenn. The problem was indeed the rather weak terminal emulator program bundled with CE. The list of alternatives helped but unfortunately they are not free!!!
0
 
GnsCommented:
Yeah, I know.... The Cambridge things look Ok in price, but they're not free. I suppose one could get something going with lrzsz (or similar ... rzsz... ISTR that being ported...) and the PocketConsole. Bit yucky though:-).

Cheers
-- Glenn
0
All Courses

From novice to tech pro — start learning today.