aceder a uma consola virtual a partir de outra
24 Nov 2021
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
para parar um trabalho na consola:
CTRL-Z
ao sair da consola o aviso "There are stopped jobs." indica-nos a existência de trabalhos suspensos.
executar o comando "jobs" para visualizar os trabalhos suspensos e "fg" para os chamar ao foreground.
http://www.oit.uci.edu/help/manuals/uci.unix.guide/getting_started/usin…