Whole document tree
    

Whole document tree

Re-create saved console settings

8.2. Re-create saved console settings

Log in as root from the serial console and send the console into single user mode. The modem may hang up whilst doing this and you may need to re-connect.

remote.example.edu.au ttyS0 login: root
Password: 
bash# telinit 1Telling INIT to go to single user mode.
INIT: Going single user
INIT: Sending processes the TERM signal
sh# rm -f /etc/ioctl.save
sh# stty sane -parenb cs8 crtscts brkint -istrip -ixoff -ixon

Exiting from single user mode back to the default run level will save the serial console configuration into /etc/ioctl.save.

sh# exitbash# ls -l /etc/ioctl.save
-rw------- 1 root root 60 Jan 1 00:00 /etc/ioctl.save

This file will be used if the machine boots into single user mode for any reason.