¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

LinBPQ says: Error - Port in use (Session Attached


 

Hi all,

I have been experimenting with a newly-added KAM port (#6). It looks to me that after an outgoing call was tried in G-tor mode (either from QtTermTCP or from within a forwarding script) the modem remains in some state where no other command is accepted, such as bellow:

Connected to TelnetServer
att 6
LPTP:YU7BPQ} Ok
c <call>
*** Failure with <call>
gtor <call>
KAM} $
Input ignored
gtor
KAM} gtor <call>
KAM} $
Input ignored
pactor
KAM} c <call>
tor
KAM} Disconnected

... or when a fwd script session fails, it does not return to scan frequencies but remains on the last one used. Seems that it keeps the port busy:

Connected to TelnetServer
att 6
LPTP:YU7BPQ} Error - Port in use (Session Attached
Disconnected
Connected to TelnetServer
att 6
LPTP:YU7BPQ} Error - Port in use (Session Attached
Disconnected
Connected to TelnetServer
att 6
LPTP:YU7BPQ} Error - Port in use (Session Attached

A sample fwd script includes this:

ATTACH 6
RADIO 14.10230 USB
#\TRX F 14102.30
#\TRX F 7044
PAUSE 2
#MYLEVEL 1
MSGTYPES PTRB5000
C <call>
ELSE
ATTACH 6
RADIO 14.10230 USB
#\TRX F 14102.30
#\TRX F 7044
PAUSE 2
#MYLEVEL 1
MSGTYPES PTRB5000
GTOR <call>

Any idea what can be wrong?

Misko YT7MPB


 

Some drivers need a longer wait, So i would try to place a PAUSE 30 or PAUSE 60 after the ELSE.

I notice that its not consistent on drivers, so drivers like VARA dont need those, but if you use WinRPR, they dont seem to fully release the port for around 30 seconds.

I would also recommend you put IDLETIME 60 in there before each ATTACH. This is a failsafe if the modem gets LOCKED and does nothing, it will break out of that cycle in 1 minute.

Maybe John has better suggestions, but these are general ones I employ across a wide range of different modem types so I think they'd be a good practice to try.

73


 

Thank you. So now the above sample looks like this:

IDLETIME 60
ATTACH 6
RADIO 14.10230 USB
#\TRX F 14102.30
#\TRX F 7044
PAUSE 2
#MYLEVEL 1
MSGTYPES PTRB5000
C <call>
ELSE
PAUSE 30
IDLETIME 60
ATTACH 6
RADIO 14.10230 USB
#\TRX F 14102.30
#\TRX F 7044
PAUSE 2
#MYLEVEL 1
MSGTYPES PTRB5000
GTOR <call>

It seems KAM XL works better now, I mean after the last G-tor call the modem releases the port so the bbs does not remain in a locked status.

Btw, do I need to insert IDLETIME 60 when type manual commands within a terminal?

Misko YT7MPB


 

I think you'll have to decide if you want to do it on manual connects or not. You may have a default value defined in the config file too I believe if you want.