• QWK Networking

    From Lupine Furmen@21:4/102 to All on Sun Nov 10 08:17:58 2019
    Trying to setup GameNet on my Legends of Yesteryear. Thought I had everything done, but when I try to connect to swap packets, it errors out. I've tried
    both Passive and Non-Passive connections.

    HELP Please!!!
    ---

    -Dallas Vinson

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Before the Web (21:4/102)
  • From Lupine Furmen@21:4/102 to All on Sat Nov 16 13:11:26 2019
    Hey guys, I'm having trouble getting the QWK networking operational. I'm running the latest Mystic package, but this is what happens when I try to
    poll my hub:

    Nov 16 13:06:26 QWKPOLL Startup (v1.12 A43 Windows/64 Compiled 2019/03/03 01:36 Nov 16 13:06:26 Exchanging Mail for MusicalNet
    Nov 16 13:06:26 Exported @SS3QWK.rep -> 1 msgs
    Nov 16 13:06:26 Connecting via FTP to digitaldistortionbbs.com
    Nov 16 13:06:26 R:220-Digital Distortion (digitaldistortionbbs.com)
    Nov 16 13:06:26 Connected
    Nov 16 13:06:26 S:USER ss3qwk
    Nov 16 13:06:26 R:331 User name okay, need password.
    Nov 16 13:06:26 S:PASS <not shown>
    Nov 16 13:06:26 R:230-SS3QWK logged in.
    Nov 16 13:06:26 S:TYPE I
    Nov 16 13:06:27 R:200 All files sent in BINARY mode.
    Nov 16 13:06:27 S:MODE S
    Nov 16 13:06:27 R:200 STREAM mode.
    Nov 16 13:06:27 Logged in as ss3qwk
    Nov 16 13:06:27 Sending reply packet: SS3QWK.rep
    Nov 16 13:06:27 S:PORT 50,126,100,233,215,166
    Nov 16 13:06:27 R:200 PORT Command successful.
    Nov 16 13:06:27 S:STOR SS3QWK.rep
    Nov 16 13:06:27 R:553 Invalid directory.
    Nov 16 13:06:37 Unable to open data connection
    Nov 16 13:06:37 Downloading QWK packet
    Nov 16 13:06:37 S:PORT 50,126,100,233,245,39
    Nov 16 13:06:37 R:200 PORT Command successful.
    Nov 16 13:06:37 S:RETR SS3QWK.qwk
    Nov 16 13:06:37 R:550 File not found: SS3QWK.qwk
    Nov 16 13:06:47 Unable to open data connection
    Nov 16 13:06:47 Send of REP failed; reseting export pointers

    Any help would be greatly appreciated.
    ---

    -Dallas Vinson

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Before the Web (21:4/102)
  • From SirRonmit@21:2/120 to Lupine Furmen on Sat Nov 16 16:16:45 2019
    From what I see off the top of my head is that your local (inbound) directory is not properly setup within your settings:

    Nov 16 13:06:27 S:STOR SS3QWK.rep
    Nov 16 13:06:27 R:553 Invalid directory.

    I'm not familiar with the following, unless it is the response for the above error.

    Nov 16 13:06:37 Unable to open data connection

    Tim N
    admin@f4fbbs.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Files 4 Fun BBS (21:2/120)
  • From Al@21:4/106 to Lupine Furmen on Sat Nov 16 20:06:24 2019
    Hey guys, I'm having trouble getting the QWK networking operational.
    I'm running the latest Mystic package, but this is what happens when I
    try to poll my hub:

    I'm not sure what the problem is but you could try switching the "Use
    Passive" setting to no (if it's currently yes), or yes if it's currently
    no.

    Ttyl :-),
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From Analog@21:2/123 to Lupine Furmen on Tue Dec 3 18:39:43 2019
    I'm getting the same error:
    Nov 16 13:06:37 Unable to open data connection
    Nov 16 13:06:37 Downloading QWK packet
    Typically, passive mode works without firewall issues or router port
    forwarding as PASV FTP will tell the server to open up its ports and the
    client connects on its own.

    Funny thing is, if I ftp to my QWK server and issue literally the same
    commands as the QWPOLL.LOG shows, I can download the QWK packet everytime.
    Not sure if there is a bug in the Mystic QWKPOLL or not.

    Lupine, if you get this working, or anyone has it working, please pass the information along. I could use it as well.

    Cheers,
    Analog

    If you're using Mystic on BASH, here is my workaround script:
    ******** BEGIN SCRIPT ********
    #!/bin/bash
    HOST=<SOME HOST>
    USER=XXXXXXXXX
    PASSWORD=*******
    QWKFILE=vert.qwk
    REPFILE=vert.rep
    BASEDIR=/home/mystic/dove
    QWKDIR=$BASEDIR/vert_in
    REPDIR=$BASEDIR/rep

    # If we don't have a rep packet already waiting, then force export first
    if [ ! -f "$REPDIR/$REPFILE" ]; then
    ./qwkpoll all export $REPDIR
    fi

    # Issue command
    ftp -inpv $HOST <<EOF
    user $USER $PASSWORD
    put $REPDIR/$REPFILE $REPFILE
    get $QWKFILE $QWKDIR/$QWKFILE
    bye
    EOF

    # If our QWK file was downloaded, then import
    if [ -f "$QWKDIR/$QWKFILE" ]; then
    ./qwkpoll all import $QWKDIR
    rm $QWKDIR/$QWKFILE
    fi

    # If our REP file still exists, delete it
    if [ -f "$REPDIR/$REPFILE" ]; then
    rm $REPDIR/$REPFILE
    fi
    ******** END SCRIPT *********

    Cheers,
    Analog

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: deadbeatz.org (21:2/123)
  • From Analog@21:2/123 to All on Thu Dec 5 14:39:16 2019
    If you're using Mystic on BASH, here is my workaround script:

    For completeness, here is the BATCH file version of the same script for Windows. Obviously, this is for Dovenet, but you can edit as needed.

    usage: ftp.bat USERNAME PASSWORD
    In mystic, pass in the username and password as the arguments in the event editor

    Profit!
    ******BEGIN SCRIPT******
    @ECHO off
    REM If we don't have two arguments passed in, exit
    IF [%2] EQU [] (
    ECHO Usage: %0 USERNAME PASSWORD
    GOTO EOF
    )
    SET HOST=vert.synchro.net
    SET USER=%1
    SET PASSWORD=%2
    SET QWKFILE="vert.qwk"
    SET REPFILE="vert.rep"
    SET BASEDIR=c:\mystic\dove
    SET QWKDIR=%BASEDIR%\vert_in
    SET REPDIR=%BASEDIR%\rep
    REM This is created on-the-fly and will be deleted so any name is fine
    SET FTPFILE=vert_synchro_net.ftp
    REM Must be run from c:\mystic or location of mystic.dat

    IF NOT EXIST %REPDIR%\%REPFILE% (
    qwkpoll all export %REPDIR%
    )

    REM Create the ftp config on the fly so we don't have to maintain files
    ( ECHO
    open %HOST%
    ECHO %USER%
    ECHO %PASSWORD%
    ECHO binary
    ECHO put %REPDIR%\%REPFILE% %REPFILE%
    ECHO get %QWKFILE% %QWKDIR%\%QWKFILE%
    ECHO bye
    %FTPFILE%

    IF EXIST %FTPFILE% (
    ECHO Connecting via FTP to %HOST%
    ftp -i -s:%FTPFILE%
    ) ELSE (
    ECHO No FTP config file found
    EXIT
    )

    IF EXIST %QWKDIR%\%QWKFILE% (
    ECHO %QWKFILE% downloaded, importing...
    Qwkpoll all import %QWKDIR%
    ECHO Deleting %QWKFILE% after import complete
    DEL vert.qwk
    ) ELSE (
    ECHO No new messages found
    )

    IF EXIST %REPDIR%\%REPFILE% (
    ECHO Deleting %REPFILE% after upload complete
    DEL %REPDIR%\%REPFILE%
    )

    :EOF
    ******END OF SCRIPT******

    -Analog

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: deadbeatz.org (21:2/123)
  • From Mike Dippel@21:2/125 to All on Thu Feb 16 17:05:55 2023
    I decided to carry the MusicNet network. Got everything set up, then logged in to download the QWK packet.

    It errored out saying 'Unable to find QWK packet'.

    I have the path set for localqwk and I even created a file named digdist.qwk in that folder.

    What am I missing?

    Mike Dippel

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: Mystic Hobbies BBS, mystic-hobbies.com (21:2/125)