Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2023 10:55:50 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        John F Carr <jfc@mit.edu>, "ticso@cicely.de" <ticso@cicely.de>, Marcin Cieslak <saper@saper.info>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: USB-serial adapter suggestions needed
Message-ID:  <ZYxzNqNENpowIOrg@www.zefox.net>
In-Reply-To: <6DD2FDE4-77DB-499A-AED8-F179A9DAA0EF@yahoo.com>
References:  <16864054-4os0-pq3p-7qp0-7299666908os@fncre.vasb> <ZYhSYNxHcmR2I/YP@www.zefox.net> <ZYhjzPLUBT74EVau@cicely7.cicely.de> <ZYiI7KuPwabExucl@www.zefox.net> <55q37289-ss30-nq9o-7r31-086n999p394s@fncre.vasb> <ZYonM2b2X008mpaw@cicely7.cicely.de> <ZYuHW34T1rxwqdz6@www.zefox.net> <C8C30A69-05D5-45FE-B95D-A31BD13B841F@yahoo.com> <23100FB9-BB4A-48FF-A715-84EF7F6F59A6@mit.edu> <6DD2FDE4-77DB-499A-AED8-F179A9DAA0EF@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Here's another example of a spontaneous disconnect, followed by
brining the ssh session back up and re-starting tip. The USB end
of the link is a 14-release Pi3 on the local network, so it does
not see ssh door-knocking. The serial console display is on a host
which is on the public Net and so does see frequent ssh attacks

login: 
login: Login timed out after 300 seconds
Dec 26 17:56:56 www login[8694]: 1 LOGIN FAILURE ON ttyu1

FreeBSD/arm64 (www.zefox.org) (ttyu1)

login: 

FreeBSD/arm64 (www.zefox.org) (ttyu1)

login: 

FreeBSD/arm64 (www.zefox.org) (ttyu1)

login: client_loop: send disconnect: Broken pipe
bob@raspberrypi:~ $ ssh 192.168.1.10
Password for bob@pelorus:
Last login: Thu Dec 28 23:01:43 2023
FreeBSD 14.0-RELEASE-p4 (GENERIC) #0 releng/14.0-n265400-4edf3b80733e: Wed Dec 27 20:21:26 PST 2023

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List:        https://www.FreeBSD.org/lists/questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

To change this login announcement, see motd(5).
You can prevent the removal of a ZFS snapshot by using the hold subcommand.
For example, to prevent the snapshot called milestone from deletion, run the
following command:

# zfs hold milestone_hold mypool/projects@my_milestone

The "zfs holds" command will list all current snapshots that are protected
this way (-r for a recursive list):

# zfs holds -r mypool

The TIMESTAMP column in the output of the above command is from when the
hold was created, not the snapshot it holds. The "zfs destroy" command will
echo a "dataset is busy" message on the console when it encounters a hold.
Use "zfs release" to release the hold on the snapshot:

# zfs release milestone_hold mypool/projects@my_milestone

		-- Benedict Reuschling <bcr@FreeBSD.org>
bob@pelorus:~ % su
Password:
# tip ucom
Stale lock on cuaU0 PID=1312... overriding.
connected
Dec 26 2pts exce [enter typed, this looks like a log entry from the public host]
Password:        [but how did it get reflected back to that host as input?]
Login incorrect
login: 

It isn't surprising to see leftover data flushing into the USB end host
when tip opens the serial connection. It is surprising that the host at
the serial end of the line sees some of that data as input, at least to me.

Maybe I simply misunderstand ...... Does getty not flush input before asking
for a login and password? Is echo happening between tip sessions? 

Thanks for reading.

bob prohaska





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