Community discussions

MikroTik App
 
bourneagainsh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Thu May 21, 2020 7:41 pm

Linux WOOBM - FTDI Chip, Null Modem Cable USB - USB NMC-2.5M - FT232RL

Wed Jun 24, 2020 5:11 pm

I have noticed interesting post over here;
#Woobm-USB How Much Can It Do?
[viewtopic.php?f=3&t=125678]

and ordered the FTDI Chip, Null Modem Cable USB - USB NMC-2.5M from rs-online
[https://uk.rs-online.com/web/p/interfac ... s/0537420/]
More on the FT232RL on their website:
[https://www.ftdichip.com/Products/Cables/USBtoUSB.htm]
while waiting for the real deal
https://mikrotik.com/product/woobm


So when I plug it into my PC I would get this in dmesg:
[Wed Jun 24 15:03:32 2020] usb 3-1.2: new full-speed USB device number 5 using xhci_hcd
[Wed Jun 24 15:03:32 2020] usb 3-1.2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[Wed Jun 24 15:03:32 2020] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Wed Jun 24 15:03:32 2020] usb 3-1.2: Product: USB Null Modem Cable
[Wed Jun 24 15:03:32 2020] usb 3-1.2: Manufacturer: FTDI
[Wed Jun 24 15:03:32 2020] usb 3-1.2: SerialNumber: FTBF8HE3
[Wed Jun 24 15:03:32 2020] ftdi_sio 3-1.2:1.0: FTDI USB Serial Device converter detected
[Wed Jun 24 15:03:32 2020] usb 3-1.2: Detected FT232RL
[Wed Jun 24 15:03:32 2020] usb 3-1.2: FTDI USB Serial Device converter now attached to ttyUSB1
but I am struggling to get the connection to the router going ...

I have tried connect to serial port:
$ sudo tio /dev/ttyUSB1
[tio 15:12:55] tio v1.32
[tio 15:12:55] Press ctrl-t q to quit
[tio 15:12:55] Connected
But nothing happening :(
Same here:
sudo agetty -L 115200 ttyUSB1 linux
or
sudo agetty -L 9600 ttyUSB1 vt102
I have found a interesting post here:
# Woobm with Linux [SOLVED]
[viewtopic.php?f=3&t=134572]
but it refers to Mikrotik Woobm device itself.

What is needed to connect to the router over serial from Linux?
I am running #1 SMP Debian 5.6.14-2 (2020-06-09) x86_64 GNU/Linux
and trying to connect to hEX S | RB760iGS
Last edited by bourneagainsh on Thu Jun 25, 2020 3:20 pm, edited 6 times in total.
 
bourneagainsh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Thu May 21, 2020 7:41 pm

Re: Linux WOOBM - FTDI Chip, Null Modem Cable USB - USB NMC-2.5M

Wed Jun 24, 2020 5:43 pm

I may have found the answer:
#HEX S RB760iGS → console mode...?
[viewtopic.php?f=3&t=150486&p=741648&hil ... SB#p741648]
You can use USB to serial adapter for console, however console will not be spawned on it by default.
So in case where you already have inaccessible device (like after FW misconfiguration) you can't just plug in USB to serial cable and get console, it has to be first configured to run like that.
WOOBM is probably special in some way where ROS automatically spawns new console on it by default (probably using VID/PID or some other ID).
 
User avatar
krafg
Forum Guru
Forum Guru
Posts: 1021
Joined: Sun Jun 28, 2015 7:36 pm

Re: Linux WOOBM - FTDI Chip, Null Modem Cable USB - USB NMC-2.5M

Thu Jun 25, 2020 8:01 am

To connect to console, first, the router must have a console port.

Cables: USB to DB9: Trendnet TU-S9
DB9 to DB9: TrippLite P450-006
DB9 to RJ45: Cisco 72-3383-01

Not use generic cables/adapters, may cause problems.

Regards.
 
bourneagainsh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Thu May 21, 2020 7:41 pm

Re: Linux WOOBM - FTDI Chip, Null Modem Cable USB - USB NMC-2.5M

Thu Jun 25, 2020 2:20 pm

To connect to console, first, the router must have a console port.

Cables: USB to DB9: Trendnet TU-S9
DB9 to DB9: TrippLite P450-006
DB9 to RJ45: Cisco 72-3383-01

Not use generic cables/adapters, may cause problems.

Regards.
Confirmed working over here :(

#Woobm-USB How Much Can It Do?
[viewtopic.php?f=3&t=125678#p626184]


And here:
#USB serial adapters
[https://wiki.mikrotik.com/wiki/Supporte ... l_adapters]


Maybe I am missing something, but over here:
#Manual:Port
[https://wiki.mikrotik.com/wiki/Manual:Port]
It says:
Serial and USB ports can also be used to:
  • connect 3G modems;
  • connect to another device through a serial cable
  • access device connected to serial cable remotely
and my hEX S | RB760iGS has an USB port .....
 
User avatar
krafg
Forum Guru
Forum Guru
Posts: 1021
Joined: Sun Jun 28, 2015 7:36 pm

Re: Linux WOOBM - FTDI Chip, Null Modem Cable USB - USB NMC-2.5M - FT232RL

Thu Jun 25, 2020 6:29 pm

I also have Woobm but it not have completely the same features that regular adapters/cables.

I tested it on a BaseBox and routerboot never appears. In summary is exactly the same as I connect though SSH/Telnet or open terminal on Winbox.

What do you exactly need?

Regards.
 
bourneagainsh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Thu May 21, 2020 7:41 pm

Re: Linux WOOBM - FTDI Chip, Null Modem Cable USB - USB NMC-2.5M - FT232RL

Thu Jun 25, 2020 8:53 pm

I also have Woobm but it not have completely the same features that regular adapters/cables.

I tested it on a BaseBox and routerboot never appears. In summary is exactly the same as I connect though SSH/Telnet or open terminal on Winbox.

What do you exactly need?

Regards.

I see, here it is, reason why it does not work
#HEX S RB760iGS → console mode...?
[viewtopic.php?f=3&t=150486&p=802329#p802537]


RouterOS 6.47 release notes: *) port - removed serial console port on hEX S
#v6.47 [stable] is released!
[viewtopic.php?f=21&t=161887]


I have locked myself out of firewall, messing around firewall rules ....
And I do not have backup either :(
 
r00t
Long time Member
Long time Member
Posts: 674
Joined: Tue Nov 28, 2017 2:14 am

Re: Linux WOOBM - FTDI Chip, Null Modem Cable USB - USB NMC-2.5M - FT232RL

Thu Jun 25, 2020 11:46 pm

"port - removed serial console port on hEX S" this is real shame (Why Mikrotik keeps preventing you from recovering devices using UART connection?!), but it ONLY affects on board UART pads. Not WOOBM or USB converters, they are still supported on all hardware with USB ports.
 
bourneagainsh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Thu May 21, 2020 7:41 pm

Re: Linux WOOBM - FTDI Chip, Null Modem Cable USB - USB NMC-2.5M - FT232RL

Fri Jun 26, 2020 1:29 am

"port - removed serial console port on hEX S" this is real shame (Why Mikrotik keeps preventing you from recovering devices using UART connection?!), but it ONLY affects on board UART pads. Not WOOBM or USB converters, they are still supported on all hardware with USB ports.
I have sent e-mail to support with same question, will report back, when I receive reply.
 
User avatar
krafg
Forum Guru
Forum Guru
Posts: 1021
Joined: Sun Jun 28, 2015 7:36 pm

Re: Linux WOOBM - FTDI Chip, Null Modem Cable USB - USB NMC-2.5M - FT232RL

Fri Jun 26, 2020 2:07 am

I have locked myself out of firewall, messing around firewall rules ....
And I do not have backup either :(
You can't access using Winbox via Mac address?

Regards.

Who is online

Users browsing this forum: No registered users and 15 guests