NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: redirect console to com0



I'm not clear exactly what you mean here.   I'm still not getting
redirection once the NetBSD boot sequence gets past the boot.cfg menu
(the line of numebrs that is the first sign that a kernel is booting
shows, but is generally truncate), but something changed because whils
I was originally using the shared LAN port for bot remote management
and normal usage, I had to connect to the dedicated LAN port because
the user name and password for the ssh session to the management
console no longer worked.

The point of this operation is to be able to do remote fsck in
single-user mode.   For that I need network access to the console in
single-user mode.

--
Steve Blinkhorn <steve%prd.co.uk@localhost>

You wrote:
> 
> On Thu, Apr 26, 2018 at 03:15:55PM +0200, Martin Husemann wrote:
> > On Thu, Apr 26, 2018 at 03:12:39PM +0200, Manuel Bouyer wrote:
> > > You have to tell NetBSD to use the serial port as console.
> > > You can do this with
> > > consdev com0
> > > at boot prompt or in the /boot.cfg file
> > 
> > You also want to enable the console entry in /etc/ttys and disable all ttyE*
> > entries.
> 
> Do not forget to set BIOS redirection to "BIOS only" or "off after 
> POST" mode. This should be used to prevent redirection when OS starts,
> because OS use native serial console.
> 
> -- 
> Sincerely yours,
> Dima Veselov
> Physics R&D Establishment of Saint-Petersburg University
> 



Home | Main Index | Thread Index | Old Index