Community discussions

MikroTik App
 
nosferatusmg
just joined
Topic Author
Posts: 6
Joined: Tue Jun 10, 2014 9:18 pm

release port used by serial terminal

Wed Apr 20, 2022 4:48 pm

Hi,
how to release the serial port.
happens after closing the terminal window before exiting the serial terminal


marcelo@POP-MTL-PPPOE1] > /port/pr
Columns: NAME, CHANNELS, USED-BY, BAUD-RATE
# NAME CHANNELS USED-BY BAUD-RATE
0 serial0 1 serial-terminal auto
1 serial1 1 auto
[marcelo@POP-MTL-PPPOE1] > /system/serial-terminal serial0
serial-terminal already running on this port
[marcelo@POP-MTL-PPPOE1] >
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: release port used by serial terminal

Wed Apr 20, 2022 4:57 pm

To close the terminals left open by mistake:
/system script job remove [find where type=command]

To enable/disable the link between internal console and serial port:
# ENABLE
/system console
set [ find port=serial0 ] disabled=no

# DISABLE
/system console
set [ find port=serial0 ] disabled=yes

Who is online

Users browsing this forum: Bing [Bot], patrikg and 36 guests