qacafe - ip test solutions
Knowledge Base > ATM > How can I test that my ATM card is working?

How can I test that my ATM card is working?

You can perform an ATM card loopback test on your Linux system by connecting a loopback cable to your ATM card. If you have a fiber based card, simply connect the transmitter and receiver together. An ATM loopback script is installed under /usr/share/doc/pktsrc/examples/atm-loopback-test

Before running the script, you must set the QACAFE_PRODUCT_LICENSE environment variable to either cdrouter or cdr-mp depending on the version of CDRouter that you are running. The script will report if the loopback test passes or fails.

Example

# cd /usr/share/doc/pktsrc/examples
# export QACAFE_PRODUCT_LICENSE=cdrouter
# ./atm-loopback-test 


Copyright (c) 2001-2007 by QA Cafe
Built on 2007-05-03 on seagull, pktsrc version 3.7


Using license installed at: /etc/cdrouter.lic
Registered to: qacafe
Maintenance, Support and Upgrades until: 2008-02-23
Licensed to run: cdrouter
Buddyweb is enabled
IKE is enabled
TR69 is enabled

Running ATM loopback test on 0.0.35

........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
....................................................................


Sent 500 packets, received 500 packets
Loopback test passed