Re: init: can't exec getty 'none' for port /dev/console: No such file or directory

2005-07-01 Thread Peter Jeremy
On Fri, 2005-Jul-01 08:23:52 +0300, Bashar wrote:
i noticed one of my boxes had the message init: can't exec getty 'none' 
for port /dev/console: No such file or directory into messages and 
repeating forever.

You should have the following line in /etc/ttys:
console noneunknown off secure

The only change you can validly make to this line is to change 'secure'
to 'insecure' but I suspect you've changed 'off' to 'on'.

Try turning the console back off and sending a SIGHUP to init.
-- 
Peter Jeremy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: init: can't exec getty 'none' for port /dev/console: No such file or directory

2005-07-01 Thread Bashar
True its set to on, but i believe this change was requested from the DC 
to enable the remote console for the box.


would turning it off effect the remote console from working?

Peter Jeremy wrote:


On Fri, 2005-Jul-01 08:23:52 +0300, Bashar wrote:
 

i noticed one of my boxes had the message init: can't exec getty 'none' 
for port /dev/console: No such file or directory into messages and 
repeating forever.
   



You should have the following line in /etc/ttys:
console noneunknown off secure

The only change you can validly make to this line is to change 'secure'
to 'insecure' but I suspect you've changed 'off' to 'on'.

Try turning the console back off and sending a SIGHUP to init.
 


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: init: can't exec getty 'none' for port /dev/console: No such file or directory

2005-07-01 Thread Peter Jeremy
Please don't top-post.

On Fri, 2005-Jul-01 20:17:47 +0300, Bashar wrote:
Peter Jeremy wrote:
You should have the following line in /etc/ttys:
console noneunknown off secure

True its set to on, but i believe this change was requested from the DC 
to enable the remote console for the box.

would turning it off effect the remote console from working?

No.  The 'console' entry is just a marker.  By remote console I presume
you mean serial console.  The easiest way to get a serial console is
to put -P into /boot.config and unplug the keyboard.  (For other ways,
see boot(8) and sio(4)).

In order to enable logins on a serial console, you will need to turn on
the getty for ttyd0.

-- 
Peter Jeremy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]