Disable UART console (without recompiling the patched firmware by changing Kernel cmdline "console=/dev/ttyS0 or console=/dev/ttyATH0" to "console=null") for any purpose, where requiring UART port.
1. Add the line:
kernel.printk = 0 4 1 7
...
...
2. Comment the last line:
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K shutdown
#::askconsole:/bin/ash --login
3. Install coreutils-stty(via opkg), reset terminal (tty*) to RAW mode(if you need):
stty -F /dev/ttyATH0 4:0:18b2:0:0:0:0:0:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
(or /dev/ttyS0)
4. Reboot your router.
(Last edited by Dioptimizer on 17 Dec 2013, 12:40)