No serial console
I did an installation of pfSense rc2 on my computer and have some trouble getting the serial console working.
In System/Advanced functions I turned the "Enable Serial Console" option on. When rebooting, I get the whole boot process on my serial console until it reaches the line
After this, there is a total silence on the serial console, I can't get a login menu.
I think it has something to do with the following lines in /etc/ttys:
... # Serial terminals # The 'dialup' keyword identifies dialin lines to login, fingerd etc. ttyd0 "/usr/libexec/getty std.9600" dialup off secure ttyd1 "/usr/libexec/getty std.9600" dialup off secure ttyd2 "/usr/libexec/getty std.9600" dialup off secure ttyd3 "/usr/libexec/getty std.9600" dialup off secure ...
Musten't there be at least ttyd0 turned on instead of off?
Disabling and enabling the serial console in WebGUI changes nothing to this.
Can anyone help me out?
Your assumption is correct. The first version of the embedded snapshot included an incorrect /etc/ttys. That was removed shortly after.
To fix your problem edit /etc/ttys so it looks similar to this
... # If console is marked "insecure", then init will ask for the root password # when going to single-user mode. console "/usr/libexec/getty Pc" cons25 on secure # #ttyv0 "/usr/libexec/getty Pc" cons25 on secure # Virtual terminals ttyv1 "/usr/libexec/getty Pc" cons25 off secure ...
After, you can either run "init q" from a shell to re-read /etc/ttys or reboot.
I can reproduce this here as well. We're working on getting it fixed for RC3.
Thanks for the report.
Thank you, after changing my /etc/ttys as mentioned above, I can work on the serial console.
The only problem I have is that CTRL-C is not working; I see a ^C in my terminal window and the process is not stopped. Any idea about this?