Connect Etherlite to Cisco AUX Port

Hi,

I have a Etherlite setup to connect to a Cisco Router’s AUX port. The Etherlite info is:

[root@lineker config]# rlogin 192.168.71.199

EL-16 RealPort Server - US Patent No. 6,047,319

? ver
Product: EL-16
FW Ver: V1.6

Ethernet: 00:A0:E7:01:19:7B
IP: 192.168.71.199
SN Mask: 255.255.255.0
GW IP: 192.168.71.1
Lease: 0xFFFFFFFF
UpTime: 4452 sec
Boot Host: 192.168.71.20
Bootfile: elr16.prm
VP Ports: 0
VP Timeout: 0 decisec
Optimize: throughput
ICMP error (303) getting Bootfile: destination unreachable
?
? line 1

---- Line 1 ----
Settings: 9600,8,None,1
I/O: CD=1 DSR=1 CTS=1 RTS=1 DTR=1
iflag: 1401 oflag: 0000 cflag: 04B0 xflag: 0000
hflow: 0000 mctrl: 0000
startc: 11 stopc: 13
startca: 00 stopca: 00
tin: 0008 tout: 0008
rin: 0000 rout: 0000
xmask: 00 xval: 00
overrun: 0000 frame: 0000 parity: 0000 break: 0000 ovflow: 0000
host: 192.168.71.10
? exit
? rlogin: connection closed.
[root@lineker config]#

Using the dgrp_gui, I see the Port (01) Status as “OPEN” and the Modem Status shows all the settings ‘on’ with the exception of RI.

Now if I open the tty (in a Linux console) using minicom,
the Status line says “Online”. The parameters on both ends of the connection, match (9600 8N2). But after that I get nothing (no prompt; I would expect to set a “login” prompt)

What am I doing wrong or missing here?

Thanks,

  • Raj.

Have you confirmed the cable?

http://supportold.digi.com/support/techsupport/common/cables/async/CD_rj45-8pin--cisco-rj45-8pin.htm

Be sure the Cisco side plugs into the Cisco port, it is not reversable.

Also, you may want to try using dinc instead of Minicom to test this:

dinc 19200 /dev/ttyx##

Thanks for your quick response.

Yes, I have confirmed the cable and it does wiremap correctly according pinout shown. The correct end is plugged into the Cisco AUX port.

I did try dinc (installed as dinc.dgrp), but still don’t see any response/echo from the AUX port. Again, all the indicators on the dgrp_gui seem to show everything is fine. Is there any other easy way to test if the port is working?

Thanks,

  • Raj.

One thing I’d recommend is connecting a terminal up to the Cisco port, and make sure you’re seeing what you’d expect to see. If not, you’d want to check the Cisco config.

Assuming you’ve tried that and see a Cisco login just fine on the terminal, you’d want to try doing a loopback test on the Digi port next. Plug a loopback connector in the port rather than the cable going to the Cisco, then once again open that port with dinc/minicom/cu/etc. Whatever you type should be echoed back to your screen.

One other thing to mention. When using rlogin and checking line settings on an Etherlite, be advised that physical port 1 on an Etherlite is actually “line 0” when using the line command via rlogin. It looks like you pasted results for physical port 2, since “line 1” is the command you used.

Again, thanks for the response.

The Cisco AUX port works fine. I can access the router prompt via a terminal.

Next, I tried to do the loopback test using a hardwired rj45 plug using the pinout diagram of the Etherlite’s rs232 signals (found that a simple rollover of the wires did the trick, i.e 1-8,2-7,etc.), but that did NOT ‘echo’ as expected.

--------------------------------------------------- [root@lineker rkb]# dinc.dgrp -1 -8 -N -c -l -C 9600 /dev/ttyEL07

------ DINC — port=/dev/ttyEL07 ------
9600 BAUD 8 NONE 1 SWFC=ON HWFC=OFF
CAR=OFF DTR=ON RTS=ON CTS=ON DSR=ON
Type ~? for help.
hello
world
DINC closing…
[root@lineker rkb]#

However, looking the stats for the line, I see that
the Tx and Rx count has incremented and are equal (the before and after stats are shown) as expected.


[root@lineker config]# rlogin 192.168.71.199

EL-16 RealPort Server - US Patent No. 6,047,319

? line 7

---- Line 7 ----
Settings: 9600,8,None,1
I/O: CD=0 DSR=0 CTS=0 RTS=0 DTR=0
iflag: 1401 oflag: 0000 cflag: 04B0 xflag: 0000
hflow: 0000 mctrl: 0000
startc: 11 stopc: 13
startca: 00 stopca: 00
tin: 0011 tout: 0011
rin: 0011 rout: 0011
xmask: 00 xval: 00
overrun: 0000 frame: 0000 parity: 0000 break: 0000 ovflow: 0000
host: none
? line 7

---- Line 7 ----
Settings: 9600,8,None,1
I/O: CD=0 DSR=1 CTS=1 RTS=1 DTR=1
iflag: 1401 oflag: 0000 cflag: 04B0 xflag: 0000
hflow: 0000 mctrl: 0000
startc: 11 stopc: 13
startca: 00 stopca: 00
tin: 000C tout: 000C
rin: 000C rout: 000C
xmask: 00 xval: 00
overrun: 0000 frame: 0000 parity: 0000 break: 0000 ovflow: 0000
host: 192.168.71.10
? exit
? rlogin: connection closed.
[root@lineker config]#

Is the unit bad? I hesitate to think that, since its seems to be responding.

Thanks.

Looks to me that “hello world” echoed properly on the dinc session with the loopback plug.

Since, the data did show up with the loopback plug, the cabling between the EtherLite port and the Cisco AUX port is suspect.

Actually no. The chars that are shown there is what I typed. Unless I missed the command line options for DINC, nothing echo’d on my terminal.

Thanks,

  • Raj.

If you saw the data on the screen (which is indicated by the output you posted), the loopback test was successful. If the data hadn’t been looped back you wouldn’t be seeing “helloworld”. Or do you mean you typed that in manually when you made the post?

Exactly. When connecting to the port with the loopback plug inserted you should see what you type. With it removed, you won’t see what you type in dinc.

This shows that the port is looping the data you type back through the port properly.

I guess I misunderstood the behaviour of dinc. I guess, as I type, the chars are sent (immediately) like h,e,l,l,o, etc. Is that correct? In a normal app the keyboard buffer is sent to the app in a line-by-line basis, i.e the chars typed in are stored and sent to the app when the is hit (so I expected to see hellohelloworldworld).

I will recheck that cable according to the specs you posted earlier. Thanks for your support with this.

  • Raj.