Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2018 09:07:24 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        ali reza zareian <zareian.a.r@gmail.com>, freebsd-hackers@freebsd.org
Subject:   Re: Trouble running sudo or (less ) after After making serial settings
Message-ID:  <1517414844.1517.59.camel@freebsd.org>
In-Reply-To: <1517414600.1517.57.camel@freebsd.org>
References:  <CAOpWh0Z4yHR0L2b_pwu0VuznfhGxHxAw9t7%2BpEdQni9x=-c2jQ@mail.gmail.com> <1517414600.1517.57.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2018-01-31 at 09:03 -0700, Ian Lepore wrote:
> On Wed, 2018-01-31 at 15:51 +0330, ali reza zareian wrote:
> > 
> >  hello
> > After making serial settings and boot using serial via putty, it is
> > not
> > possible to run sudo command.when i run this command without any
> > parameters
> > it should be print help but it is waiting for a key of the
> > keyboard.
> > if i send ctrl+c then output strings are printed.
> > 
> > Code:
> > 
> > settings :
> > boot.config =>-S115200 -D
> > ----------------------------------------------
> > /etc/ttys =>ttyu0   "/usr/libexec/getty std.115200"
> > vt100   onifconsole secure
> Try changing std.115200 to 3wire.115200 to disable flow-control.  I
> have no idea whether that's the problem, but it's a quick easy thing
> to
> try.
> 
> -- Ian

Hrm, on second thought... you mention the trouble is with running sudo
and less... both things that want to do some terminal-control (blank
password, scrolling, etc).  Make sure putty is configured to emulate a
vt100 properly.  Maybe try some other kind of terminal emulation.

-- Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1517414844.1517.59.camel>