Mapping the serial or com ports from a Sun Ray to a Windows Session using the Sun Ray Connector for Windows doesn't have to be confusing. Here's a handy little "how to".
First we need to determine what ports we want to map.
On a Sun Ray 2 or 2FS there is one serial port. On a Sun Ray 170 and 270 there are two ports. We need to know the path in order to provide it to the Sun Ray Windows Connector.
For Sun Ray 2 or 2FS the serial port is:
For Sun Ray 170 and 270 the serial ports are:
Now we need to pass those ports to the Sun Ray Windows Connector:
/opt/SUNWuttsc/bin/uttsc -r comport:COM1=$DTDEVROOT/unit/dev/term/a Windows_Server
Now what will that look like from your windows session?
Open up a command prompt and type change port /query. You will see
Note the mapping for COM1. That means it's going through the Sun Ray Windows Connector down to your Sun Ray.
But does it work? Yes. What you don't have serial device to try it? No problem.
Telnet ssh to the Sun Ray Server. If you need a free ssh client for windows, give PuTTY a shot. Sign in and then su to root (or an account that has privileges to run truss). Find the child process for utseriald (it will be the one that does not have a parent PID of 1). Note that while it's not doing anything you'll see a lot of pollsys' going by. The more Sun Rays you have with serial ports the more of these you will see.
Now go back to your command prompt that you issued the change port /query command in and type dir > COM1
Watch the ssh session that you are running truss in. You will see a flurry of activity.
Make sure you break out of your truss before closing the ssh window.
How do you map two ports? Easy, we just need to pass both ports to the Sun Ray Windows Connector:
/opt/SUNWuttsc/bin/uttsc -r comport:COM1=$DTDEVROOT/unit/dev/term/a -r comport:COM2=$DTDEVROOT/unit/dev/term/b Windows_Server
Same other steps from above. Note the difference now in the change port /query command.
You can do your same truss test as above, just for fun send the directory listing out to COM2.
I can hear it now. That's all well and good but I don't have Sun Ray 2 series or a Sun Ray 170. Well in this case you'll need to get a supported USB to Serial Adapter. Let's repeat (some) of the steps with an Inside Out Networks Edgeport/2.
The serial ports live in the same place, they just don't have as friendly of names. If you want to cheat and make the names really friendly, check out this handy dandy serial port mapping script.
# ls $DTDEVROOT/unit/dev/term
Now we just need to pass those ports to Windows via the Sun Ray Windows Connector (all on one line of course).
/opt/SUNWuttsc/bin/uttsc -m -A 24 -r
comport:COM1=$DTDEVROOT/unit/dev/term/Inside_Out_Networks.V53072798-0a -r comport:COM2=$DTDEVROOT/unit/dev/term/Inside_Out_Networks.V53072798-0b
Lather, rinse, repeat on the steps above if you want to see it in action.