• newslink

    From Grease@1:103/705 to All on Tue Nov 12 18:46:49 2024
    I basically copied the wiki to see if I can get this to work. Not successful at all. As you can see, I can connect but it won't get the messagebase. Here is my log of the transaction.
    Thank you for your help!

    NEWSLINK Running native timed event: NEWSLINK
    NEWSLINK Synchronet NewsLink 1.114 session started
    NEWSLINK server: news.eternal-september.org
    NEWSLINK Connecting to news.eternal-september.org port 563 ...
    NEWSLINK Connected
    NEWSLINK Negotiating TLS
    NEWSLINK Authenticating...
    NEWSLINK Authenticated
    NEWSLINK Scanning 0 message bases...
    NEWSLINK !JavaScript /home/sbbs/sbbs/exec/newslink.js line 390: Error: Unrecognized msgbase code: USENET_ALLSYSOP
    NEWSLINK Timed event: NEWSLINK returned -1

    Grease (Will)

    ...The older you get, the more important is is not to act your age.

    ---
    þ Synchronet þ Dark Matter BBS. darkmatt.synchro.net. Kurten, Texas.
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Grease on Tue Nov 12 21:47:11 2024
    Re: newslink
    By: Grease to All on Tue Nov 12 2024 06:46 pm

    I basically copied the wiki to see if I can get this to work. Not successful at all. As you can see, I can connect but it won't get the messagebase. Here is my log of the transaction.
    Thank you for your help!

    NEWSLINK Running native timed event: NEWSLINK
    NEWSLINK Synchronet NewsLink 1.114 session started
    NEWSLINK server: news.eternal-september.org
    NEWSLINK Connecting to news.eternal-september.org port 563 ...
    NEWSLINK Connected
    NEWSLINK Negotiating TLS
    NEWSLINK Authenticating...
    NEWSLINK Authenticated
    NEWSLINK Scanning 0 message bases...
    NEWSLINK !JavaScript /home/sbbs/sbbs/exec/newslink.js line 390: Error: Unrecognized msgbase code: USENET_ALLSYSOP
    NEWSLINK Timed event: NEWSLINK returned -1

    Do you have a message area configured in SCFG->Message Areas with an internal code of USENET_ALLSYSOP? If not, then you need to create that first. Step 3 at https://wiki.synchro.net/module:newslink
    --
    digital man (rob)

    Steven Wright quote #15:
    Depression is merely anger without enthusiasm.
    Norco, CA WX: 59.6øF, 28.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.21-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to Grease on Wed Nov 13 07:25:28 2024
    Grease wrote to All <=-

    I basically copied the wiki to see if I can get this to work. Not successful at all. As you can see, I can connect but it won't get the messagebase. Here is my log of the transaction. Thank you for your
    help!

    NEWSLINK Running native timed event: NEWSLINK
    NEWSLINK Synchronet NewsLink 1.114 session started
    NEWSLINK server: news.eternal-september.org
    NEWSLINK Connecting to news.eternal-september.org port 563 ...
    NEWSLINK Connected
    NEWSLINK Negotiating TLS
    NEWSLINK Authenticating...
    NEWSLINK Authenticated
    NEWSLINK Scanning 0 message bases...
    NEWSLINK !JavaScript /home/sbbs/sbbs/exec/newslink.js line 390: Error: Unrecognized msgbase code: USENET_ALLSYSOP NEWSLINK Timed event:
    NEWSLINK returned -1

    From looking at the next-to-last line above, my guess is that you
    haven't defined what newsgroups you want, with the 'AREA' keyword in
    your ../ctrl/newslink.cfg file; and/or you haven't defined that message
    area name in SCFG.



    ... Nothing is so smiple that it can't get screwed up.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Grease@1:103/705 to Digital Man on Wed Nov 13 09:27:27 2024
    Re: newslink
    By: Digital Man to Grease on Tue Nov 12 2024 09:47 pm

    Do you have a message area configured in SCFG->Message Areas with an internal code of USENET_ALLSYSOP? If not, then you need to create that first. Step 3 at https://wiki.synchro.net/module:newslink

    Yes.
    Long Name: alt.bbs.allsysop
    Short Name: alt.bbs.allsysop
    Internal Code: USENET_ALLSYSOP
    Newsgroup Name: alt.bbs.allsysop

    Just like step 3 in wiki.synchro.net/module:newslink

    My newslink.cfg has:

    AREA USENET_ALLSYSOP alt.bbs.allsysop nb /home/sbbs/sbbs/data/dirs/sysop

    Grease (Will)
    HobbyNet: 954:200/56
    HealthNet: 999:1/6
    tqwNet: 1337:3/208

    ...One has the right to be wrong in a democracy.

    ---
    þ Synchronet þ Dark Matter BBS. darkmatt.synchro.net. Kurten, Texas.
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Grease@1:103/705 to Gamgee on Wed Nov 13 09:31:20 2024
    Re: Re: newslink
    By: Gamgee to Grease on Wed Nov 13 2024 07:25 am

    From looking at the next-to-last line above, my guess is that you
    haven't defined what newsgroups you want, with the 'AREA' keyword in your ../ctrl/newslink.cfg file; and/or you haven't defined that message area name in SCFG.

    I have. I only have the one as I am testing. but this is the AREA line:

    AREA USENET_ALLSYSOP alt.bbs.allsysop nb /home/sbbs/sbbs/data/dirs/sysop

    I basicall cut and pasted what was in the wiki. The only thing different,
    was I took out the "i" in the newslink.cfg example.

    Grease (Will)
    HobbyNet: 954:200/56
    HealthNet: 999:1/6
    tqwNet: 1337:3/208

    ...The true statesman is the one who is willing to take risks.

    ---
    þ Synchronet þ Dark Matter BBS. darkmatt.synchro.net. Kurten, Texas.
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Grease on Wed Nov 13 22:44:08 2024
    Re: newslink
    By: Grease to Digital Man on Wed Nov 13 2024 09:27 am

    Re: newslink
    By: Digital Man to Grease on Tue Nov 12 2024 09:47 pm

    Do you have a message area configured in SCFG->Message Areas with an internal code of USENET_ALLSYSOP? If not, then you need to create that first. Step 3 at https://wiki.synchro.net/module:newslink

    Yes.
    Long Name: alt.bbs.allsysop
    Short Name: alt.bbs.allsysop
    Internal Code: USENET_ALLSYSOP
    Newsgroup Name: alt.bbs.allsysop

    Just like step 3 in wiki.synchro.net/module:newslink

    My newslink.cfg has:

    AREA USENET_ALLSYSOP alt.bbs.allsysop nb /home/sbbs/sbbs/data/dirs/sysop

    Are you sure that's the internal code? If the sub-board is in a library with an "internal code prefix", that prefix is automatically added, so I want to make sure you don't actually have a internal code such as USENET_USENET_ALLSYSOP or some other madness.

    One way to check/confirm this is with the 'exportcfg.js' script, e.g.:

    jsexec exportcfg msg-subs -grp=USENET
    ...
    3 4 127 4 USENET usenet_allsysop
    ...

    as an example.
    --
    digital man (rob)

    Rush quote #65:
    He's got to make his own mistakes and learn to mend the mess he makes
    Norco, CA WX: 60.3øF, 33.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.22-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Grease@1:103/705 to Digital Man on Fri Nov 15 09:30:52 2024
    Re: newslink
    By: Digital Man to Grease on Wed Nov 13 2024 10:44 pm

    One way to check/confirm this is with the 'exportcfg.js' script, e.g.: jsexec exportcfg msg-subs -grp=USENET
    ...
    3 4 127 4 USENET usenet_allsysop ...

    as an example.
    0 5 100 5 USENET usenet_allsysop alt.bbs.allsysop alt.bbs.allsysop ALLSYSOP ALT.BBS.ALLSYSOP alt.bbs.allsysop REST NOT G /sbbs/data/subs/ 954:200/56 Dark Matter BBS. darkmatt.synchro.net. Kurten, TXSynchronet | Dark Matter BBS | darkmatt.synchro.net | Kurten, TX.69107715 100 0 0 1000 180 196612 0 true true true true false 0
    /home/sbbs/sbbs/repo/exec/exportcfg.js executed in 0.01 seconds

    I copied and pasted from the CLI after I ran the above. The only thing I see, is in newslink.cfg usenet_allsysop is in allcap. The rest looks like what I have setup in SCFG.
    The other thing I see is a network address of 954:200/56, which is for
    Hobbynet which shows as my main Fido type network.

    Grease (Will)
    HobbyNet: 954:200/56
    HealthNet: 999:1/6
    tqwNet: 1337:3/208

    ...You don't get once-in-a-lifetime offers like this every day.

    ---
    þ Synchronet þ Synchronet | Dark Matter BBS | darkmatt.synchro.net | Kurten, TX.
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to Grease on Fri Nov 15 15:39:34 2024
    Grease wrote to Digital Man <=-

    One way to check/confirm this is with the 'exportcfg.js' script, e.g.: jsexec exportcfg msg-subs -grp=USENET
    ...
    3 4 127 4 USENET usenet_allsysop ...
    as an example.

    0 5 100 5 USENET usenet_allsysop alt.bbs.allsysop alt.bbs.allsysop ALLSYSOP ALT.BBS.ALLSYSOP alt.bbs.allsysop REST NOT G /sbbs/data/subs/ 954:200/56 Dark Matter BBS. darkmatt.synchro.net. Kurten, TXSynchronet
    | Dark Matter BBS | darkmatt.synchro.net | Kurten, TX.69107715 100 0 0 1000 180
    196612 0 true true true true false 0 /home/sbbs/sbbs/repo/exec/exportcfg.js executed in 0.01 seconds

    I copied and pasted from the CLI after I ran the above. The only thing
    I see, is in newslink.cfg usenet_allsysop is in allcap. The rest looks like what I have setup in SCFG.
    The other thing I see is a network address of 954:200/56, which is for Hobbynet which shows as my main Fido type network.

    You should not have any FTN address visible in there. In the Network
    Options for those USENET sub-boards, you need to have the "Internet (UUCP/NNTP)" choice set to YES, and the "FidoNet Echomail" set to NO.



    ... So easy, a child could do it. Child sold separately.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Grease on Fri Nov 15 14:36:09 2024
    Re: newslink
    By: Grease to Digital Man on Fri Nov 15 2024 09:30 am

    Re: newslink
    By: Digital Man to Grease on Wed Nov 13 2024 10:44 pm

    One way to check/confirm this is with the 'exportcfg.js' script, e.g.: jsexec exportcfg msg-subs -grp=USENET
    ...
    3 4 127 4 USENET usenet_allsysop ...

    as an example.
    0 5 100 5 USENET usenet_allsysop alt.bbs.allsysop alt.bbs.allsysop ALLSYSOP ALT.BBS.ALLSYSOP alt.bbs.allsysop REST NOT G /sbbs/data/subs/ 954:200/56 Dark Matter BBS. darkmatt.synchro.net. Kurten, TXSynchronet | Dark Matter BBS | darkmatt.synchro.net | Kurten, TX.69107715 100 0 0 1000 180 196612 0 true true true true false 0
    /home/sbbs/sbbs/repo/exec/exportcfg.js executed in 0.01 seconds

    I copied and pasted from the CLI after I ran the above. The only thing I see, is in newslink.cfg usenet_allsysop is in allcap. The rest looks like what I have setup in SCFG.

    That looks fine. The capitalization of the internal code shouldn't matter. I tested this myself:

    $ jsexec newslink

    JSexec v3.20a-Linux master/87b22bda8 Debug - Execute Synchronet JavaScript Module
    Compiled Nov 15 2024 12:21 with GCC 12.2.0

    Loading configuration files from /sbbs/ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 16777216 bytes

    Reading script from /sbbs/exec/newslink.js
    /sbbs/exec/newslink.js compiled in 0.00 seconds
    Synchronet NewsLink 1.2 session started
    server: news.astraweb.com
    Connecting to news.astraweb.com port 119 ...
    Connected
    Authenticating...
    Authenticated
    Scanning message bases...
    sub: usenet_allsysop, newsgroup: alt.bbs.allsysop
    usenet_allsysop.ini export ptr: 1501
    usenet_allsysop.ini import ptr: 2711
    alt.bbs.allsysop import ptr: 2711, first_msg: 2, last_msg: 2711
    Synchronet NewsLink 1.2 session complete (0 exported, 0 imported) /sbbs/exec/newslink.js executed in 0.76 seconds

    and then in ALL-CAPS:

    ...
    Reading script from /sbbs/exec/newslink.js
    /sbbs/exec/newslink.js compiled in 0.00 seconds
    Synchronet NewsLink 1.2 session started
    server: news.astraweb.com
    Connecting to news.astraweb.com port 119 ...
    Connected
    Authenticating...
    Authenticated
    Scanning message bases...
    sub: USENET_ALLSYSOP, newsgroup: alt.bbs.allsysop
    USENET_ALLSYSOP.ini export ptr: 1501
    USENET_ALLSYSOP.ini import ptr: 2711
    alt.bbs.allsysop import ptr: 2711, first_msg: 2, last_msg: 2711
    Synchronet NewsLink 1.2 session complete (0 exported, 0 imported) /sbbs/exec/newslink.js executed in 1.03 seconds

    The other thing I see is a network address of 954:200/56, which is for Hobbynet which shows as my main Fido type network.

    The FTN address doesn't matter since it's not used for a non-FTN sub-board.
    --
    digital man (rob)

    This Is Spinal Tap quote #19:
    Oh then, maybe it's not green. Anyway this is what I sleep in sometimes.
    Norco, CA WX: 60.0øF, 50.0% humidity, 3 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.22-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Gamgee on Fri Nov 15 14:36:29 2024
    Re: Re: newslink
    By: Gamgee to Grease on Fri Nov 15 2024 03:39 pm

    You should not have any FTN address visible in there. In the Network Options for those USENET sub-boards, you need to have the "Internet (UUCP/NNTP)" choice set to YES, and the "FidoNet Echomail" set to NO.

    That's normal and not a problem. Safe to ignore it.
    --
    digital man (rob)

    Steven Wright quote #15:
    Depression is merely anger without enthusiasm.
    Norco, CA WX: 60.0øF, 50.0% humidity, 3 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.22-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to Digital Man on Fri Nov 15 20:45:12 2024
    Digital Man wrote to Gamgee <=-

    Re: Re: newslink
    By: Gamgee to Grease on Fri Nov 15 2024 03:39 pm

    You should not have any FTN address visible in there. In the Network Options for those USENET sub-boards, you need to have the "Internet (UUCP/NNTP)" choice set to YES, and the "FidoNet Echomail" set to NO.

    That's normal and not a problem. Safe to ignore it.

    Okay, I'm assuming you mean it's normal to see an FTN address in there,
    but doesn't a Usenet newsgroup still have to have the two selections I mentioned above set that way?



    ... Gone crazy, be back later, please leave message.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Gamgee on Fri Nov 15 22:49:23 2024
    Re: Re: newslink
    By: Gamgee to Digital Man on Fri Nov 15 2024 08:45 pm

    Digital Man wrote to Gamgee <=-

    Re: Re: newslink
    By: Gamgee to Grease on Fri Nov 15 2024 03:39 pm

    You should not have any FTN address visible in there. In the Network Options for those USENET sub-boards, you need to have the "Internet (UUCP/NNTP)" choice set to YES, and the "FidoNet Echomail" set to NO.

    That's normal and not a problem. Safe to ignore it.

    Okay, I'm assuming you mean it's normal to see an FTN address in there,
    but doesn't a Usenet newsgroup still have to have the two selections I mentioned above set that way?

    Yes, and he did.
    --
    digital man (rob)

    Breaking Bad quote #33:
    This guy [Gale], it's like scarface had sex with Mr. Rogers. - Hank Schrader Norco, CA WX: 48.1øF, 74.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.22-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Grease@1:103/705 to Gamgee on Sat Nov 16 08:19:20 2024
    Re: Re: newslink
    By: Gamgee to Grease on Fri Nov 15 2024 03:39 pm

    You should not have any FTN address visible in there. In the Network Options for those USENET sub-boards, you need to have the "Internet (UUCP/NNTP)" choice set to YES, and the "FidoNet Echomail" set to NO.

    It is. BUT... I cannot delete the FTN from the box. It gives me three
    choices (my FTN links) and no blank space. Weird.

    Grease (Will)
    HobbyNet: 954:200/56
    HealthNet: 999:1/6
    tqwNet: 1337:3/208

    ...In England there are sixty different religions and only one sauce.

    ---
    þ Synchronet þ Synchronet | Dark Matter BBS | darkmatt.synchro.net | Kurten, TX.
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Grease@1:103/705 to Digital Man on Sat Nov 16 08:21:50 2024
    Re: newslink
    By: Digital Man to Grease on Fri Nov 15 2024 02:36 pm

    That looks fine. The capitalization of the internal code shouldn't matter. I tested this myself:
    $ jsexec newslink

    Okay. So I must have something someplace else not right. I'll keep looking.

    Grease (Will)
    HobbyNet: 954:200/56
    HealthNet: 999:1/6
    tqwNet: 1337:3/208

    ...DOS never says EXCELLENT command or filename...

    ---
    þ Synchronet þ Synchronet | Dark Matter BBS | darkmatt.synchro.net | Kurten, TX.
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Grease on Sat Nov 16 10:29:14 2024
    Re: newslink
    By: Grease to Digital Man on Sat Nov 16 2024 08:21 am

    Re: newslink
    By: Digital Man to Grease on Fri Nov 15 2024 02:36 pm

    That looks fine. The capitalization of the internal code shouldn't matter. I tested this myself:
    $ jsexec newslink

    Okay. So I must have something someplace else not right. I'll keep looking.

    Did you try running it via jsexec as I've shown?
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #61:
    PETSCII = PET Standard Code of Information Interchange (a.k.a. CBM ASCII) Norco, CA WX: 58.4øF, 46.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.22-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Grease@1:103/705 to Digital Man on Sun Nov 17 16:04:04 2024
    Re: newslink
    By: Digital Man to Grease on Sat Nov 16 2024 10:29 am

    Did you try running it via jsexec as I've shown?
    Did you try running it via jsexec as I've shown?
    Did you try running it via jsexec as I've shown?
    Did you try running it via jsexec as I've shown?
    Did you try running it via jsexec as I've shown?
    Did you try running it via jsexec as I've shown?
    Did you try running it via jsexec as I've shown?
    This is what I got:

    JSexec v3.20a-Linux master/1b6d5846a - Execute Synchronet JavaScript Module Compiled Nov 15 2024 10:12 with GCC 11.4.0

    Loading configuration files from /sbbs/ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 167772160 bytes

    Reading script from /sbbs/exec/newslink.js
    /sbbs/exec/newslink.js compiled in 0.00 seconds
    Synchronet NewsLink 1.2 session started
    server: news.eternal-september.org
    Connecting to news.eternal-september.org port 563 ...
    Connected
    Negotiating TLS
    Authenticating...
    Authenticated
    Scanning message bases...
    sub: USENET_ALLSYSOP, newsgroup: alt.bbs.allsysop
    USENET_ALLSYSOP.ini export ptr: 0
    USENET_ALLSYSOP.ini import ptr: -9223372036854775808
    alt.bbs.allsysop import ptr: -9223372036854775808, first_msg: 756, last_msg: 758
    Synchronet NewsLink 1.2 session complete (0 exported, 0 imported) /sbbs/exec/newslink.js executed in 4.16 seconds

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    So I guess it working?

    Grease (Will)
    HobbyNet: 954:200/56
    HealthNet: 999:1/6
    tqwNet: 1337:3/208

    ...Give me an example of pro and con. Progress and Congress.

    ---
    þ Synchronet þ Synchronet | Dark Matter BBS | darkmatt.synchro.net | Kurten, TX.
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Grease on Sun Nov 17 19:49:49 2024
    Re: newslink
    By: Grease to Digital Man on Sun Nov 17 2024 04:04 pm

    Did you try running it via jsexec as I've shown?

    This is what I got:

    sub: USENET_ALLSYSOP, newsgroup: alt.bbs.allsysop
    USENET_ALLSYSOP.ini export ptr: 0
    USENET_ALLSYSOP.ini import ptr: -9223372036854775808
    alt.bbs.allsysop import ptr: -9223372036854775808, first_msg: 756, last_msg: 758

    So I guess it working?

    Yes. At least jsexec is recognizing that sub-code. So I'm guessing you haven't recycled your terminal server (where the event thread runs) since adding that sub in SCFG, so it hasn't reloaded the msgs.ini file to "know" about. Normally, servers automatically reload when saving changes in SCFG, so you should look into that, if that's the problem.

    The other possibility is that you have multiple ctrl directories with different msgs.ini files in one. The msgs.ini file that jsexec loaded obviously has the USENET_ALLSYSOP sub-board in it, while the one loaded by sbbs (if different) does not.

    And then there's that import ptr. That's not normal. Take a look at the data/subs/usenet_allsysop.ini file (should be lowercase). Is there an import_ptr defined in there? I'm not sure what would cause that crazy value - I'd normally expect it to start at (default to) 0.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #70:
    SEXPOTS = Synchronet External Plain Old Telephone System (POTS) service
    Norco, CA WX: 56.1øF, 35.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.22-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)