'setconsole'에 해당되는 글 1건

  1. 2011.10.21 busybox - setconsole
프로그램 사용/busybox2011. 10. 21. 18:50
설명은 콘솔 출력을 /dev/console에서 다른걸로 돌려주는거라는데
kernel 부팅 인자로 console=ttyS0,115200n8 이런걸 넣어줘서
telnet 포트로 돌려줄려고 하니 안되는건 여전한듯..

# setconsole --help
BusyBox v1.14.2 (2011-01-24 14:35:28 KST) multi-call binary

Usage: setconsole [-r|--reset] [DEVICE]

Redirect system console output to DEVICE (default: /dev/tty)

Options:
        -r      Reset output to /dev/console 

# tty
/dev/pts/0

# setconsole /dev/pts/0
setconsole: TIOCCONS: Device or resource busy 


 

'프로그램 사용 > busybox' 카테고리의 다른 글

busybox su가 안될 경우  (0) 2014.12.05
busybox tftp  (0) 2013.06.18
busybox ash "cannot open /dev/ttyAS1: no such device"  (0) 2010.04.20
busybox ps는 BSD 스타일?  (0) 2010.01.12
ifup / ifdown 을 통한 static <-> dhcp 변환  (0) 2009.12.29
Posted by 구차니