Here is a guess...
I would build it using a D9f to RJ45f adapter and a cat5 RJ45 straight through cable.
Adapter Wiring
D9f RJ45f
1 4
2 6
3 3
5 5
6 2, 7 & 8
This should work as long as the UPS docs are reasonably accurate (UPS vendors are notorious for spreading misinformation about their serial interfaces.)
Good luck
I built your proposed wiring but it does not work. Do I need to do any special configuration to serial Port ? I configured it as terminal in 9600 bps, bidirectional and hardware flow control. I am trying to use serial port b in sun v120.
Any suggestions would be welcome
Thanks in advance