Rich Freeman via plug on 23 Dec 2024 15:26:02 -0800


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

Re: [PLUG] Login via Serial Connection


On Mon, Dec 23, 2024 at 4:10 PM Casey Bralla via plug
<plug@lists.phillylinux.org> wrote:
>
> Thanks Brent, but Gentoo doesn't use systemd.

I'm pretty sure that Gentoo lets you choose your favorite service manager.  :)

>
> I entered this line in /etc/inittab, which I thought would spawn the process
>
> U1:2345:respawn:/sbin/agetty -L 300 8N1 ttyUSB0 vt100
>
> It creates the proper device (/dev/ttyUSB0), but never sends a login prompt to the client.

agetty doesn't create devices as far as I'm aware.  That's being done
by sys-apps/systemd-utils[udev] in your case (unless you've done
something to replace the default for "non-systemd" Gentoo systems).

I don't think that 8N1 is a valid parameter for agetty unless you're
using some alternative implementation of it.  I suspect that agetty is
trying to look for /dev/8N1 as a result.  Give this a try:
/sbin/agetty -L ttyUSB0 300 vt100

If you're using some alternative implementation of agetty let us know.
I just referred to man agetty on my relatively standard Gentoo
install.

Good luck!

-- 
Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug