Community discussions

MikroTik App
 
wisecrack
just joined
Topic Author
Posts: 16
Joined: Wed Oct 24, 2012 10:05 am

Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 12:33 pm

This might be a dumb question, but how do I connect to the serial console on my RB1100AH?

I've configured the serial port on the router with the same settings as my terminal emulator, and I'm using a null modem cable to connect the router to the serial port on the PC.

I am using a USB to serial adaptor, but it works fine when I connect to Cisco devices, so I don't know why I can't get the Mikrotik to work.

Any ideas?
You do not have the required permissions to view the files attached to this post.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12442
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 12:54 pm

Use this settings on both ends:
Baud: 115200
Data: 8
Parity: none
Stop: 1
Flow: none
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 5:54 pm

 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12442
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 7:16 pm

RouterBoard do no support hardware flow control in all models.
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 7:21 pm

I have connected with routerboard on this settings i shown on the website
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12442
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 7:40 pm

I have connected with routerboard on this settings i shown on the website
I was connected with all routerboard with serial port, from RB133 to RB1100AHx2 and RB2011UiAS-2HnD with the settings I have written above.
Not all RB support hardware flow control or xon/xoff.
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 7:47 pm

I say it works with this settings.
Maybe it doesn't matter.
If you do turn on or out in serial console.
I have try with your settings and it working to.
I change that on my webiste
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 8:11 pm

@rextended The website has been redesigned
http://www.wirelessinfo.be/index.php/mi ... es/seriale
Thank you
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 8:11 pm

I hope this helps you
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12442
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Connot connect to serial console on RB1100AH

Tue Mar 04, 2014 8:45 pm

@rextended The website has been redesigned
http://www.wirelessinfo.be/index.php/mi ... es/seriale
Thank you
Thanks to you :shock:
 
wisecrack
just joined
Topic Author
Posts: 16
Joined: Wed Oct 24, 2012 10:05 am

Re: Connot connect to serial console on RB1100AH

Wed Apr 16, 2014 4:04 am

Thanks for the responses guys, i'll give that different serial configuration a go when I get home. :)
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Connot connect to serial console on RB1100AH

Wed Apr 16, 2014 9:52 am

Goodluck
 
wisecrack
just joined
Topic Author
Posts: 16
Joined: Wed Oct 24, 2012 10:05 am

Re: Connot connect to serial console on RB1100AH

Sat Jun 28, 2014 5:51 pm

Ok so I gave up on this for a while, since my last attempt met with failure.

Tonight I thought I would try to figure this out.
I tested the continuity of my serial cable with a multimeter, I found that the pin-out of this cable was pin 1 to 1, 2 to 2, 3 to 3 etc. which is wrong according to the Mikrotik wiki. So I chopped the cable in half and re-soldered the wires together in the following pin-out:

Rtr -> PC
1,6 -> 4
2 -> 3
3 -> 2
4 -> 1, 6
5 -> 5
7 -> 8
8 -> 7

...after which I tested the continuity again just to double check the pin-out.
I also changed the router serial port configuration, and the terminal emulator configuration to match the following:

Baud: 115200
Data: 8
Parity: none
Stop: 1
Flow: none

Unfortunately I still can't connect to the serial console of my RB1100AH.
I can connect a cisco style roll-over cable to my RB2011, and using the terminal emulator configuration above I can access the serial console on that router without any problems. So that rules out a problem with the serial port on my PC, or my terminal emulator configuration.

If I connect the serial cable to my RB1100AH, open a connection using my terminal emulator, and reboot the router using Winbox; the following information appears in the terminal emulator window:
RouterBOOT booter 2.39

RouterBoard 1100AH

CPU frequency: 1066 MHz
Memory size: 2048 MB

Press any key within 2 seconds to enter setup..
loading kernel from nand... OK
setting up elf image... OK
jumping to kernel code
Starting...
Starting services...
But following this, I get no prompt to enter my credentials, whatever keys I mash on the keyboard.
I notice that following this the port serial0 is now used by 'remote-access' instead of 'Serial Console':
[admin@obr1] > /port print detail
Flags: I - inactive 
 0   name="serial0" used-by="remote-access" channels=1 baud-rate=115200 
     data-bits=8 parity=none stop-bits=1 flow-control=none 

 1   name="serial1" used-by="Serial Console" channels=1 baud-rate=115200 
     data-bits=8 parity=none stop-bits=1 flow-control=none 
[admin@obr1] > /system console print detail
Flags: X - disabled, U - used, F - free 
 0   port=serial0 term="vt102" 

 1 F port=serial1 term="vt103" 
[admin@obr1] >
Is there something missing in my configuration?

Thanks for reading.
 
wisecrack
just joined
Topic Author
Posts: 16
Joined: Wed Oct 24, 2012 10:05 am

Re: Connot connect to serial console on RB1100AH

Sat Jun 28, 2014 6:24 pm

Ok I switched off remote access on serial0, rebooted the router, and it all works fine now. :D
 
Computermensch
just joined
Posts: 1
Joined: Sun Nov 02, 2014 11:11 pm

Re: Connot connect to serial console on RB1100AH

Mon Nov 03, 2014 12:37 am

Remember COM ports are not dynamic - but work on boot. Thus to make it work you have to connect the cable, use i.e. Putty to start the serial session - and then (important) reboot the Mikrotik RouterBoard to have the device discover and then interact with the serial session.

BTW
Can just confirm that the baud rate has to be 115200 (i.e. 9600 outputs obscured garbage in the terminal window) and that flowcontrol has to set to none.
Thus:

Speed (baud): 115200
Data bits: 8
Stop bits: 1
Parity: none
Flow control: none


In my case I had a problem with the Mikrotik RB2011UiAS-2HnD where I unfortunately in a "bad moment" disabled the IP firewall filter rule to accept traffic from a known network (thus disabling telnet and the winbox) ... happy for the serial connection :o)

Who is online

Users browsing this forum: GoogleOther [Bot] and 8 guests