1833730 Members
2498 Online
110063 Solutions
New Discussion

x.25 connection refused

 
Jason Peng
Occasional Contributor

x.25 connection refused

Hello, everyone,

I setup a x.25 card(J3526A) on my system. Hardware is claimed and 3 levels of x.25 link is operational from the results of x25stat -d /dev/x25_0p1|grep -i state
However, when I use the demo program under directory /var/x.25/netdemo to test connectivity, it returns the following code:

SIGURG handler called
Out-of-band:recv() returns 5 bytes
5 0 0 ffffffe8 0
Out-of-band: type=00 len=5
CLEAR Packet Received
Cause-code: 0
Diagnostic code: -24
connect call: Connection refused

As I notice, what is the meaning of diagnostics -24? what is the possible reason of this problem? How to solve it?

Thanks a lot!

Jason Peng
Jan 2,2003
3 REPLIES 3
Chris Wilshaw
Honored Contributor

Re: x.25 connection refused

The full exit condition from X25 is made of the Cause Code and Diagnostic Code (in this case 0 and 24.

According to a list of the errors that I have, a cause code of 0 means that it is "DTE originated", while a Diag code of 24 means "packet on unassigned LCN"

Unfortunately, I can't give a further explanation of this error, or suggest a solution, but hopefully this info may mean that someone else can.
Jason Peng
Occasional Contributor

Re: x.25 connection refused

Hello,

After my research, diagnostic code should be 232(-24) instead of 24 which means:

Connection refused, Network Service problem ... NSAP unreachable.

What is the likely cause of the above error?

Thanks!

Jason Peng
Jan 2,2003
Anthony deRito
Respected Contributor

Re: x.25 connection refused

Not an X.25 expert but the likely cause is that address given by your X.25 provider to access the X.25 cloud is not compatible with your X.25 configuration parameters.