I have a macOS host machine , where I start a docker machine with
Mystic BBS
In the macOS host machine, I have a modem
Is there a way to make Mystic BBS open a modem session, answering to
phone ?
I have found a script that uses agetty and opens a telnet session when modem connects, but there's no agetty in macOS (only getty, agetty
should be an extension of getty)
I have tried this command line:
/usr/libexec/getty -m -a root --wait-cr --init-string
'ATE0Q1&D2&C1S0=1 15' --login-program /usr/bin/telnet --login-options 'localhost 14025' tty.usbmodem123456781 115200
but does not work
(modem does not answer at all, so i suppose that init string was not
sent)
I run linux & raspberry os but this is where I would start
do you have a null modem cable available?? or modem on another pc??
can you launch a modem program on each machine and on the mystic machine, type ATS0=1 (answer after 1 ring) then on the other ATO (if memory serves)
https://en.wikipedia.org/wiki/Hayes_command_set
that will tell you the modems can communicate :-)
I am using a null-modem cable to communicate with an "OLD" 150mkz fujitsu laptop
my getty line looks like this - but getty should also work
sudo agetty -i -L -h -t 60 ttyS0 9600 vt102 --host fujitsu
what this does, is -t timeout if no connection in 60 seconds --host is fake host name for things like who etc. -l no issue (no system messages at startup) -L local-line mode always - turns off carrier detect (in my case)
this gives me a login prompt on the laptop and from there I telnet out.
Michael
... DalekDOS v(overflow): (I)Obey (V)ision impaired (E)xterminate
--- GoldED+/LNX 1.1.5-b20180707
* Origin: Mike's Mansion - Portland, OR - mansion.dynv6.net:2323 (1:340/201)