[admin@Mikro-24PortCore] <SAFE> /system console remove [find] [admin@Mikro-24PortCore] <SAFE> /system routerboard settings set baud-rate=115200 [admin@Mikro-24PortCore] <SAFE> /port set 0 baud-rate=auto data-bits=8 flow-control=none name=serial0 parity=none stop-bits=1 failure: Cannot change port while in use! [admin@Mikro-24PortCore] <SAFE> /system console add channel=0 disabled=no port=serial0 term=vt102 [/code]
/system console remove [find]
:delay 4s
:put [/port get serial0 used-by]
/system console add channel=0 disabled=no port=serial0 term=vt102
[admin@Mikro-24PortCore] > /system console remove [find] [admin@Mikro-24PortCore] > :delay 4s [admin@Mikro-24PortCore] > :put [/port get serial0 used-by] remote-access [admin@Mikro-24PortCore] > /system console add channel=0 disabled=no port=serial0 term=vt102 [admin@Mikro-24PortCore] > [admin@Mikro-24PortCore] > [admin@Mikro-24PortCore] > [admin@Mikro-24PortCore] >
/system console remove [find]
:delay 1s
/system routerboard settings set baud-rate=115200
:delay 1s
/port remote-access remove [find]
:delay 1s
/port set 0 baud-rate=auto data-bits=8 flow-control=none name=serial0 parity=none stop-bits=1
:delay 1s
/system console add channel=0 disabled=no port=serial0 term=vt102
[admin@Mikro-24PortCore] > /system console remove [find] [admin@Mikro-24PortCore] > :delay 1s [admin@Mikro-24PortCore] > /system routerboard settings set baud-rate=115200 [admin@Mikro-24PortCore] > :delay 1s [admin@Mikro-24PortCore] > /port remote-access remove [find] [admin@Mikro-24PortCore] > :delay 1s [admin@Mikro-24PortCore] > /port set 0 baud-rate=auto data-bits=8 flow-control=none name=serial0 parity=none stop-bits=1 [admin@Mikro-24PortCore] > :delay 1s [admin@Mikro-24PortCore] > /system console add channel=0 disabled=no port=serial0 term=vt102 [admin@Mikro-24PortCore] > [admin@Mikro-24PortCore] >Ill update the post when I get to the office to test it .. THANK YOU!!!
terminal code
[admin@Mikro-24PortCore] > :put [/port get serial0 used-by] remote-access
you (or previous owner) never use that board to conect remotely a plugged serial device?
Could that be indeed possible ?someone did it on purpose so that they could remotely control that device via virtual serial ...
/port remote-access
add allowed-addresses=0.0.0.0/0 channel=0 disabled=no local-address=127.0.0.1 port=serial0 protocol=rfc2217 tcp-port=0