From owner-freebsd-hackers@freebsd.org Wed Jan 31 16:03:34 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D177ED3824 for ; Wed, 31 Jan 2018 16:03:34 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2AABF6B1D4 for ; Wed, 31 Jan 2018 16:03:33 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 3d30477b-06a0-11e8-b951-f99fef315fd9 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.ore.mailhop.org (Halon) with ESMTPSA id 3d30477b-06a0-11e8-b951-f99fef315fd9; Wed, 31 Jan 2018 16:03:13 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w0VG3KlC001467; Wed, 31 Jan 2018 09:03:21 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1517414600.1517.57.camel@freebsd.org> Subject: Re: Trouble running sudo or (less ) after After making serial settings From: Ian Lepore To: ali reza zareian , freebsd-hackers@freebsd.org Date: Wed, 31 Jan 2018 09:03:20 -0700 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 16:03:34 -0000 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 > ---------------------------------------------- > echo $TERM => vt100 > ---------------------------------------------- > kern.vty=vt > ---------------------------------------------- > ssty -a => > speed 115200 baud; 0 rows; 0 columns; > lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl >         -echoprt -altwerase -noflsh -tostop -flusho -pendin > -nokerninfo >         -extproc > iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk >         brkint -inpck -ignpar -parmrk > oflags: opost onlcr -ocrnl tab3 -onocr -onlret > cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts > -dsrflow >         -dtrflow -mdmbuf > cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; >         eol2 = ; erase = ^?; erase2 = ^H; intr = ^C; kill = > ^U; >         lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; >         status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; > --------------------------------------------------- > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd > .org"