How to terminate console on serial port (UART)

https://wiki.openwrt.org/doc/recipes/terminate.console.on.serial

First method (NO need re-build the Kernel):

1. Edit sysctl.conf file on your device:

/etc/sysctl.conf

Add the new line at the begining of this file:

kernel.printk = 0 4 1 7

2. Edit inittab file on your device:

/etc/inittab

up to revision r28294
Find line in this file:

ttyS0::askfirst:/bin/ash --login
ttyATH0::askfirst:/bin/ash --login

Subscrever consola