Link to home
Start Free TrialLog in
Avatar of nicoschroeder
nicoschroederFlag for South Africa

asked on

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."
Avatar of estrelow
estrelow
Flag of Chile image

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.
Avatar of nicoschroeder

ASKER

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.
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.
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
ASKER CERTIFIED SOLUTION
Avatar of Gns
Gns

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
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!!!
Avatar of Gns
Gns

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