• Qemu, Failed to connect socket

    From Alpha@21:4/158.2 to All on Mon Aug 17 12:47:52 2020
    I'm following this guide to setting up Qemu with doors (enigma 1/2):

    https://www.sunrisedoors.com/linuxsetup.php

    Everything works as expected, right up until where the arguments are passed to my lord.sh file and qemu attempts to connect to the temporary server port on localhost and map that to a serial device -- e.g. the last line! I get this error:

    qemu-system-i386: -chardev socket,port=1234,nowait,host=localhost,id=s0: Failed to connect socket: Connection refused

    Any qemu gurus out there??

    My lord.sh file:

    #!/bin/bash

    NODE=$1
    DROPFILE=D:\\$2
    SRVPORT=$3

    mkdir -p /home/robbie/enigma-bbs/dos/go/node$NODE

    cat > /home/robbie/enigma-bbs/dos/go/node$NODE/GO.BAT <<EOF
    C:
    CD \UTILS
    BNU.COM
    CD \DOORS\LORD
    COPY /Y $DROPFILE
    CALL START.BAT $NODE
    FDAPM POWEROFF
    EOF

    unix2dos /home/robbie/enigma-bbs/dos/go/node$NODE/GO.BAT

    qemu-system-i386 -localtime /home/robbie/enigma-bbs/dos/images/freedos_c.img -chardev socket,port=$SRVPORT,nowait,host=localhost,id=s0 -device isa-serial,chardev=s0 -hdb fat:/home/robbie/enigma-bbs/dropfiles/node$NODE -hdc fat:/home/robbie/enigma-bbs/dos/go/node$NODE -nographic

    --
    Alpha
    Card & Claw BBS
    The Drunken Gamer BBS
    --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.18.3)
    * Origin: The Drunken Gamer (21:4/158.2)
  • From ryan@21:1/168 to Alpha on Tue Aug 18 00:48:36 2020
    I'm following this guide to setting up Qemu with doors (enigma 1/2):

    This isn't what you're asking, but maybe dosemu2 is a better alternative if you're using 64 bit linux. It's much faster :)

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From Alpha@21:4/158 to ryan on Wed Aug 19 07:31:19 2020
    I'm running an old 32 bit machine, but I think it's at the end of its ropes! Even Ubuntu has stopped supporting it with latest releases. Probably time to
    go virtual and check out dosbox2...


    |14Þ |07Alpha
    |14ÜÝ |13Card & Claw BBS
    |06Þ |05cardandclaw.com:8888

    --- Mystic BBS v1.12 A46 2020/04/26 (Linux/64)
    * Origin: Card & Claw BBS (21:4/158)
  • From Alpha@21:4/158 to ryan on Wed Aug 19 17:08:26 2020
    I'm following this guide to setting up Qemu with doors (enigma 1/2):

    This isn't what you're asking, but maybe dosemu2 is a better alternative if you're using 64 bit linux. It's much faster :)

    It's become a sort of a personal obsession to get "the perfect setup" with doors (LOL) and I feel like I'm **SOOO** close:

    Enigma 1/2 & Mystic instances (each with their own custom theme) running on an ancient Linux notebook--same FTN message areas on both, but with some
    different custom scripts for each to give them flavor.

    Then, a centralized door system that both can connect/rlogin seamlessly to (on a cloud linux VM):

    - Local games for Linux native, an Win32 w/Bivrost and Enigma
    - Gamesrv for all the DOS doors (thanks to YOU, Ryan, for making it work on ubuntu 18.04!)
    - Synchronet instance for all those fun synchronet game versions
    - BBSLink, Door Party
    - MBBSEmu for Major BBS gamin'

    Phew. I just need to add Dosemu2 in there for TW2002!


    |14Þ |07Alpha
    |14ÜÝ |13Card & Claw BBS
    |06Þ |05cardandclaw.com:8888

    --- Mystic BBS v1.12 A46 2020/08/11 (Linux/64)
    * Origin: Card & Claw BBS (21:4/158)
  • From ryan@21:1/168 to Alpha on Thu Aug 20 00:53:36 2020
    Enigma 1/2 & Mystic instances (each with their own custom theme) running on an ancient Linux notebook--same FTN message areas on both, but with some different custom scripts for each to give them flavor.

    Seems straightforward, although I'm curious about the FTN setup. I'm about to embark on something similar :)

    Then, a centralized door system that both can connect/rlogin seamlessly
    to (on a cloud linux VM):

    - Local games for Linux native, an Win32 w/Bivrost and Enigma
    - Gamesrv for all the DOS doors (thanks to YOU, Ryan, for making it work on ubuntu 18.04!)
    - Synchronet instance for all those fun synchronet game versions
    - BBSLink, Door Party
    - MBBSEmu for Major BBS gamin'

    I think you can probably manage all "this" stuff with a single VM, although MBBSEmu isn't quite where it needs to be for telnet/rlogin to work reliably. They (the dev team, if there can be such a thing on what is now an opensource project) is focused more on module feature parity and function than they are
    on the socket programming and stuff. But I'm super excited about MBBSEmu :)

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From Hayes Zyxel@21:4/113 to Alpha on Mon Oct 5 09:54:10 2020
    I really wanted to get Enigma 1/2 running but got stuck time and time again trying to get doors running with it. What took days of progress in Enimga
    took minutes in Mystic. I was using Netrunner as my door test as well as
    some new code I wrote on the door32.sys spect. Any secrets to share about getting Enigma to work?

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Baud BBS (21:4/113)
  • From Alpha@21:4/158 to Hayes Zyxel on Mon Oct 5 23:59:44 2020
    I really wanted to get Enigma 1/2 running but got stuck time and time again trying to get doors running with it. What took days of progress in Enimga took minutes in Mystic. I was using Netrunner as my door test as well as some new code I wrote on the door32.sys spect. Any secrets to share about getting Enigma to work?

    I was never able to get DOS doors running w/Dosemu on Enigma... Spent a lot
    of time trying (had some back and forth on github with NS around the
    issue--but I just couldn't crack it).

    Qemu ended up working reasonably well, using the github docs, but I found it a beast to setup initially, very slow to load, and I could only get it working
    on a linux 64 VM (QEMU wouldn't install on my pi4). Plus the caveat from the docs: "Multiple instances of a particular door/OS image should not be run at once!" All that sort of made it a deal-breaker...

    With Enigma, I ended up leveraging external game servers, even set up my own game server using Synchronet (which was pretty easy and seamless, BTW, and
    door installation was a snap).

    Mystic does a lot of things right, including handling doors...

    LMK if you find a solution w/Enigma? It's such a great piece of software.

    --- Mystic BBS v1.12 A47 2020/09/12 (Linux/64)
    * Origin: The Drunken Gamer BBS (21:4/158)
  • From Hayes Zyxel@21:4/113 to Alpha on Mon Oct 5 23:34:52 2020
    Yeah, I pretty much gave up on it for the moment. Even for doing my more "modern" door, I didn't want to build it in a way that it couldn't be
    leveraged under other platforms which ruled out Enigma. I hope one day that
    it operates the doors a bit better but I suspect that will be as dosemu
    evolves further.

    For now it is Mystic and it hasn't been a bad choice. The support community
    is good and it does everything I need for hosting the game I am building.

    --HZ

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Baud BBS (21:4/113)