Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream 0: AX.25 Protocol Error E: DM received in state 4. #430

Open
wb2osz opened this issue Nov 26, 2022 · 0 comments
Open

Stream 0: AX.25 Protocol Error E: DM received in state 4. #430

wb2osz opened this issue Nov 26, 2022 · 0 comments

Comments

@wb2osz
Copy link
Owner

wb2osz commented Nov 26, 2022

https://groups.io/g/direwolf/message/7010

Brian Blanchard
Oct 7 #7010  

I am using direwolf to connect to local packet nodes. I intermittently receive an error message "Stream 0: AX.25 Protocol Error E: DM received in state 4." which is followed by a disconnect from the node. I can always establish a connection. Once I enter any node command I get a disconnect. Any ideas what is going on?

I have tried adjusting audio levels, toggling the FIX_BITS on and off. If I make the connection with 'axcall' in the terminal I can hold the connection. The issue seems to occur with EasyTerm. I am wondering if I need to adjust 'kissparms' beyond the 'kissparms -c1 -p wl2k' command I am using?

Current setup is as follows...
2007 Apple iMac
Linux Mint 20.2 Uma
EasyTerm by UZ7HO-v0.49b (running on wine)
Direwolf v1.6
Icom IC705

Uncommented lines from direwolf.conf

ADEVICE plughw:1,0
CHANNEL 0
MYCALL KJ7RNY
MODEM 1200
PTT RIG 2 localhost:4532
AGWPORT 8000
KISSPORT 8001
FIX_BITS 1
IGTXLIMIT 6 10
TTPOINT B01 37^55.37N 81^7.86W
TTPOINT B7495088 42.605237 -71.34456
TTPOINT B934 42.605237 -71.34456
TTPOINT B901 42.661279 -71.364452
TTPOINT B902 42.660411 -71.364419
TTPOINT B903 42.659046 -71.364452
TTPOINT B904 42.657578 -71.364602
TTVECTOR B5bbbddd 37^55.37N 81^7.86W 0.01 mi
TTGRID Byyyxxx 37^50.00N 81^00.00W 37^59.99N 81^09.99W
TTUTM B6xxxyyy 19T 10 300000 4720000
TTCORRAL 37^55.50N 81^7.00W 0^0.02N
TTMACRO xx1yy B9xxAB166AA2B4C5B3B0A1yy
TTMACRO xx2yy B9xxAB170AA3C4C7C3B0A2yy
TTMACRO xxyyy B9xxAB180AA3A6C4A0Ayyy
TTMACRO z Cz

This is my direwolf session that shows the error message. I connect to 'WTPBBS', enter command 'LL 5', then get a disconnect.

bblanchard33@iMac:~$ direwolf -p
Dire Wolf version 1.6
Includes optional support for: gpsd hamlib cm108-ptt

Reading config file direwolf.conf
Audio device for both receive and transmit: plughw:1,0 (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...
Virtual KISS TNC is available on /dev/pts/6
Created symlink /tmp/kisstnc -> /dev/pts/6

Attached to AGW client application 0...

Ready to accept AGW client application 1 on port 8000 ...
Attempting connect to WTPBBS ...
[0L] KJ7RNY>WTPBBS:(SABME cmd, p=1)

KJ7RNY audio level = 61(27/27) [NONE] |||||_|__
[0.2] KJ7RNY>WTPBBS:(SABME cmd, p=1)
[0L] KJ7RNY>WTPBBS:(SABME cmd, p=1)

KJ7RNY audio level = 62(27/28) [NONE] |||||||__
[0.3] KJ7RNY>WTPBBS:(SABME cmd, p=1)
[0L] KJ7RNY>WTPBBS:(SABME cmd, p=1)

KJ7RNY audio level = 62(26/27) [NONE] ||||||||_
[0.3] KJ7RNY>WTPBBS:(SABME cmd, p=1)
[0L] KJ7RNY>WTPBBS:(SABM cmd, p=1)

KJ7RNY audio level = 63(27/25) [NONE] |||||||__
[0.3] KJ7RNY>WTPBBS:(SABM cmd, p=1)
[0L] KJ7RNY>WTPBBS:(SABM cmd, p=1)

KJ7RNY audio level = 62(27/26) [NONE] |||||_|__
[0.2] KJ7RNY>WTPBBS:(SABM cmd, p=1)

W7MOT-6 audio level = 56(27/15) [SINGLE] _::
[0.4] W7MOT-6>BEACON:WTANKS W7MOT-5 White Tanks, AZ<0x0d>
Unknown APRS Data Type Indicator "W", HELO
[0L] KJ7RNY>WTPBBS:(SABM cmd, p=1)

KJ7RNY audio level = 64(29/26) [NONE] |||||||__
[0.3] KJ7RNY>WTPBBS:(SABM cmd, p=1)
[0L] KJ7RNY>WTPBBS:(SABM cmd, p=1)

KJ7RNY audio level = 63(28/26) [NONE] |||||||__
[0.3] KJ7RNY>WTPBBS:(SABM cmd, p=1)
[0L] KJ7RNY>WTPBBS:(SABM cmd, p=1)

KJ7RNY audio level = 61(27/26) [NONE] |||||_|__
[0.2] KJ7RNY>WTPBBS:(SABM cmd, p=1)

WTPBBS audio level = 62(27/15) [NONE] __|||||||
[0.5] WTPBBS>KJ7RNY:(UA res, f=1)
Stream 0: Connected to WTPBBS. (v2.0)

WTPBBS audio level = 57(26/15) [NONE] ___||
[0.5] WTPBBS>KJ7RNY:(I cmd, n(s)=0, n(r)=0, p=0, pid=0xf0)[KPC3P-8.3-HM$]<0x0d>40491 BYTES AVAILABLE<0x0d>THERE ARE 107 MESSAGES NUMBERED 40-697<0x0d>ENTER COMMAND: B,J,K,L,R,S, or Help ><0x0d>
[0L] KJ7RNY>WTPBBS:(DM res, f=1)
[0L] KJ7RNY>WTPBBS:(DM res, f=1)
[0L] KJ7RNY>WTPBBS:(RR res, n(r)=1, f=0)

KJ7RNY audio level = 63(28/27) [NONE] ||||||_
[0.3] KJ7RNY>WTPBBS:(DM res, f=1)

KJ7RNY audio level = 61(28/27) [NONE] |||||||__
[0.3] KJ7RNY>WTPBBS:(DM res, f=1)

KJ7RNY audio level = 61(26/24) [NONE] |||||||__
[0.3] KJ7RNY>WTPBBS:(RR res, n(r)=1, f=0)
[0L] KJ7RNY>WTPBBS:(I cmd, n(s)=0, n(r)=1, p=0, pid=0xf0)LL 5<0x0d>

KJ7RNY audio level = 61(25/27) [NONE] |||||||__
[0.3] KJ7RNY>WTPBBS:(I cmd, n(s)=0, n(r)=1, p=0, pid=0xf0)LL 5<0x0d>
[0L] KJ7RNY>WTPBBS:(RR cmd, n(r)=1, p=1)

KJ7RNY audio level = 63(28/26) [NONE] |||||||__
[0.3] KJ7RNY>WTPBBS:(RR cmd, n(r)=1, p=1)

WTPBBS audio level = 56(25/15) [NONE] __|||||||
[0.5] WTPBBS>KJ7RNY:(DM res, f=1)
Stream 0: AX.25 Protocol Error E: DM received in state 4.
Stream 0: Disconnected from WTPBBS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant