GRSec and the AJAX Console
9 Replies
Probably the kernel either re-labeled console device again, or he doesn't have hvc0 in the inittab or some kind of grsec-specific access file.
Draven, was your previous kernel the "stable" 2.6.18.x or one of the "recent" 2.6.32?
And check out your inittab, or whatever equivalent is used by ubuntu nowadays, to make sure you spawn a getty on hvc0.
@rsk:
Erm, that's exactly what doesn't work, obs.
Ajax console and lish aren't quite the same, lish involves ssh and is a darn sight better…ajax is sometimes just plain crappy just wanted to make sure it wasn't an issue with the ajax bit.
Follow only the "Configuring the console login process" part for your version, replacing all instances of "ttyS0" with "hvc0". Ignore the rest of article.
If still doesn't work after 'start hvc0' / 'telinit q' as appropriate and not even after reboot, try again with tty1 instead of hvc0. But you should have entries for that one already.
Currently using
> exec /sbin/getty -L 115200 hvc00 vt102
Actually, it is an emulated serial console. But you may want to try cranking down from 115200 to 38400 - may actually work better. Also, did you really put in 'hvc00' not 'hvc0'? And if so, why?
What else… my getty for hvc0 doesn't have terminal type specified… you may try deleting vt102, and/or using vt100 instead.
PS. No guarantees for any of these making things better… lish always was kinda laggy to me. It's meant to be an emergency access panel, so it's tolerable, IMO.
Good luck!