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 1 …Telling 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.
This file will be used if the machine boots into single user mode for any reason.