TIP: Click on subject to list as thread! ANSI
echo: bbbs.english
to: TONY COMANDINI
from: JANIS KRACHT
date: 2016-12-16 12:59:00
subject: HUB conf

>Well sorry Guys, but I have another question now. How I can simulate a poll to
> my HUB?

I'm not sure what you are asking here... "simulate"?  If you mean, how do I
crash mail to someone here's what I do for the Linux version - are you also
using Linux?

You need to make the node's flavor you are calling Crash in external.bbb in the
[nodes] section with a C as below:

===cut here=== external.bbb ===
[nodes]
; node      spass   apass   ppass   tpass gr  st pa route
; --------- ------- ------- ------- ----- --- -- -- -------------------

1:15/1       pswd  pswrd  pswrd  paswrd  XF  C  2
===cut here===

In bcfg4 (node number) you need to set this:
  OK poll flags: (BND|IP|ITX|IBN)

In Local: Modem ->Dial you can set the kind of calls you will make:


|########################
    Predial              Postdial   Nodelist regexp match
|########################
|  1: ATR                  |          ,IBN
|########################
|  2: ATD                  |          ,IP
|########################
|  3: ATD                  |          ,ITN
|########################

In bcfg4 (node number)-> Local->Events I have an event that runs
Sunday->Saturday that "is a 'must', with [X]Send crashmail to all systems

Now the tcpip node that dials out needs a script under linux.. Here's one I use
for one of my dialout nodes:
===cut here===
#!/bin/sh
cd /home/bbbs
BBBSLANG en_US.utf8
while :
do
   cd /home/bbbs
  ./bbbs 2 2 TCPIP
#
  RC=$?
  echo BBBS RC: $RC

  if [ $RC = 137 ]; then
    exit
  fi

#  set this errorlevel in Global: FidoNet: Sessions: Mail errorlevel
#  if [ $RC = 11 ];
#    then nohup /home/bbbs/mailin.sh  &
#  fi
#  Above commented out since I run mailin.sh in a cron job now.
#  set this errorlevel in Global: FidoNet: Sessions: User mail errl.
#  if [ $RC = 12 ];
#  then nohup /home/bbbs/mailout.sh &
#  fi

  if [ $RC = 0 ]; then
    exit
  fi

  reset

done
===cut here===

Take care,
Janis

--- BBBS/Li6 v4.10 Toy-3
* Origin: Prism bbs (1:261/38)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.