Remote Serial Console HOWTO
Prev | Appendix B. Uploading files from a serial console | Next

# B.1. Disable logging to console

Before attempting to upload or download files it is a good idea to prevent messages from appearing on the console. These messages will corrupt files moved using cat and will cause Xmodem and similar protocols to take much, much longer.

Alter your system's configuration to give klogd the `-c 1` parameter, inhibiting the display of kernel messages directly to the console. Kernel messages will still go to the system logger.

Figure B-1. Supressing kernel messages to the console in Red Hat Linux

    bash# vi /etc/sysconfig/syslog

    KLOGD_OPTIONS="-2 -c 1"

    bash# /etc/init.d/syslog restart

Also modify the system logger's configuration not to send messages to the console. Edit `/etc/syslog.conf`, altering lines sending output to `/dev/console`. Send this output to a file instead.

Prev | Home | Next
Uploading files from a serial console | Up | ASCII upload and cat