• make mystic bbs answer to a modem

    From Alessandro Trebbi@2:331/313 to All on Sat Jun 27 09:49:16 2020
    Hi

    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)
    --- FUDforum on https://fidonet.3bsoft.com
    * Origin: Nightmare BBS (2:331/313)
  • From Al@1:153/757.3 to Alessandro Trebbi on Sat Jun 27 01:39:31 2020
    Alessandro Trebbi wrote to All:

    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 haven't had a physical modem for 20 or so years but when I did I used
    mgetty on linux. Do you see anything like that for your OS?

    Ttyl :-),
    Al

    ... At a store: In God we trust; all others pay cash.

    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.3)
  • From Alessandro Trebbi@2:331/313 to Al on Sat Jun 27 12:57:50 2020
    Quota: Al (1:153/757.3) ha scritto in data Sab, 27 Giugno 2020 03:39 ----------------------------------------------------
    I haven't had a physical modem for 20 or so years but when I did I used mgetty on linux. Do you see anything like that for your OS?
    ----------------------------------------------------

    no mgetty :(

    I'm looking for a agetty for macOS , and understand how to bypass security checks of Catalina

    maybe this: https://github.com/karelzak/util-linux/blob/master/term-utils/agetty.c
    but i'm getting errors on compile

    /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
    Making all in po
    make[2]: Nothing to be done for `all'.
    CCLD libblkid.la
    ld: warning: -undefined dynamic_lookup is incompatible with dyld share cache ld: -undefined dynamic_lookup cannot be used to find '_libintl_gettext' in dylib in dyld shared cache for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libblkid.la] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    --- FUDforum on https://fidonet.3bsoft.com
    * Origin: Nightmare BBS (2:331/313)
  • From Michael Pierce@1:340/201 to Alessandro Trebbi on Sat Jun 27 07:07:23 2020
    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)
  • From g00r00@1:129/215 to Alessandro Trebbi on Mon Jun 29 12:03:39 2020
    I have a macOS host machine , where I start a docker machine with Mystic BBS

    I think mgetty has a MacOS version right? Any of those getty options can be used I am just not sure what MacOS has available these days.

    As far as direct modem I/O I cannot develop and support those things unless I have two phone lines to test, two modems that work in Windows, Linux, MacOS, etc. That is the main reason why its not there anymore when it used to be supported in the past.

    --- Mystic BBS v1.12 A46 2020/06/11 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (1:129/215)