[GreenKeys] ASR33 to Raspberry Pi?
Hugh Pyle
hughpyle at gmail.com
Tue Jul 14 21:03:06 EDT 2020
Hi John -
Do you want the "login" prompt at the Teletype? This is done using a
"getty" (so-called because it gets the tty, I think). You can run a getty
directly and then it'll prompt to login on the Teletype. Or you can set it
up to automatically attach a getty to the serial port that you're using,
which is how I have mine configured; that way, every time you turn on,
there's a login prompt waiting.
(Additionally you can have the getty auto-login. Then you don't need to
actually type the username and password).
The first thing you'll need to know is the port name that linux has given
the Teletype. You can connect the Deramp RS-232 interface to the Raspberry
Pi using the GPIO pins and a level shifter, which will probably give you a
port named "/dev/ttyAMA0", or via a RS232-to-USB cable which will probably
give a port named "/dev/ttyUSB0" or possibly "/dev/ttyACM0". To list the
port names, use "ls /dev/tty*" and scroll through the long list to see
which one you have. (If you're using a RS232-to-USB cable, make sure it
can handle the 110-baud rate. If I remember correctly, the FTDI ones
generally can't go slower than 300, but the Startech ones with a Prolific
chipset are fine).
To run a getty directly, try this:
sudo /sbin/agetty --nohostname --noclear ttyUSB0 110 tty33
My instructions here show how to setup for auto-login -- they might be a
bit terse - take a look and see whether they make sense.
https://github.com/hughpyle/ASR33/blob/master/rpi/README.md
CuriousMarc talks through his similar setup here:
https://www.youtube.com/watch?v=X904FYolBs0
Hope that's a useful start -
(Update: Andy's message seems to cover the same ground!)
On Tue, Jul 14, 2020 at 4:31 PM John <John at tubetestingpros.com> wrote:
> This actually refers to GrayKeys, but still on-topic:
>
> I'd like to make my 33 be the console for a Raspberry Pi -
>
> I have a Deramp I/O card installed on the 33 and working well - so I'm
> at RS-232 levels.
>
> I can open a terminal window on the RPi.
>
> Looking for a simple set of Unix command(s) to 'redirect' the console to
> the 33 - and later back again.
>
>
> I'm mostly a hardware guy, and analog at that, so my usual experience
> with Unix/Linux is: "painfully - slowly - copy a command
> letter-by-letter, checking for errors and typos, then hit return."
>
> 80% of the time this results in three or four full close-spaced pages of
> error messages and warnings zipping by at high speed - and then the
> system pukes and dies.
>
> I will also confess I don't much "get" GitHub, tho I've watched various
> tutorials and guides - it remains inscrutable. "Not Able to be Scruted".
> I just don't scrute GitHub.
>
> ;}
>
>
> Thanks all!
>
>
> Cheers
>
> John KB6SCO
>
> ______________________________________________________________
> GreenKeys mailing list
> Home: http://mailman.qth.net/mailman/listinfo/greenkeys
> Help: http://mailman.qth.net/mmfaq.htm
> Post: mailto:GreenKeys at mailman.qth.net
>
> >>> Jordan Spencer Cunningham's GreenKeys Search Tool:
> https://teletype.net/gksearch
> >>> 2002-to-present greenkeys archive:
> http://mailman.qth.net/pipermail/greenkeys/
> >>> 1998-to-2001 greenkeys archive:
> http://mailman.qth.net/archive/greenkeys/greenkeys.html
> >>> Randy Guttery's 2001-to-2009 GreenKeys Search Tool:
> http://comcents.com/tty/greenkeyssearch.html
>
> This list hosted by: http://www.qsl.net
> Please help support this email list: http://www.qsl.net/donate.html
> Message delivered to hpyle at cabezal.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qth.net/pipermail/greenkeys/attachments/20200714/0908bc13/attachment.html>
More information about the GreenKeys
mailing list