Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Prerequisits

Install Debian 7(Wheezy) or Debian 8(Jessie) i386 architecture:

...

Info

...

Details

...

https://www.debian.org/releases/

...

jessie/debian-installer/

...


Update Package Manager Sources and add contrib. See below:

...

vi /etc/apt/sources.list

...


Code Block
deb http://

...

ftp.us.debian.org/debian/

...

Install SSHD

apt-get install openssh-server

Install telnetd

apt-get install telnetd

Install vncserver if needed for remote admin.

DOSEmu

Installation

sudo su

apt-get update

apt-get install dosemu

Setup OS and Utilities

Setup Folders

Code Block
mkdir /dos

for DRIVE in e f g h i j k; do
  mkdir -p /dos/drive_$DRIVE
  ln -s /dos/drive_$DRIVE /etc/dosemu/drives/$DRIVE
done
mkdir /dos/drive_h/UTILS

Install utilities

Run the following script

Code Block
#!/bin/bash

set -e
set -x

rm -rf /tmp/setup
mkdir /tmp/setup
rm -rf /dos/drive_h/STARTUP
mkdir /dos/drive_h/STARTUP
rm -rf /dos/drive_h/UTILS
mkdir /dos/drive_h/UTILS

echo 0 > /dos/numnodes
echo 1 > /dos/startconsole

echo '$_com1 = "virtual"' >> /etc/dosemu/dosemu.conf
echo '$_timemode = "linux"' >> /etc/dosemu/dosemu.conf

## Do the downloads
cd /tmp/setup
wget https jessie main contrib
deb-src http://ftp.sunet.se/mirror/archive/ftp.sunet.se/pub/simtelnet/msdos/fossil/adf_150.zip
wget https://bbs.bapho.net/bbs/i-drive/generic/pkz204g.exe
wget http://cd.textfiles.com/pier/pier08/046/list91k.zip
wgetus.debian.org/debian/ jessie main contrib

deb http://wwwsecurity.filegatedebian.net/comm/dszexe.zip

# Unpack PKZIP
mkdir /tmp/setup/t
cd /tmp/setup/t
unzip ../pkz204g.exe
mv -v PKZIP.EXE PKUNZIP.EXE PKUNZJR.COM /dos/drive_h/UTILS/
cd /tmp/setup
rm -r /tmp/setup/t

# Unpack LIST
mkdir /tmp/setup/t
cd /tmp/setup/t
unzip ../list91k.zip
mv -v LIST.COM /dos/drive_h/UTILS/
cd /tmp/setup
rm -r /tmp/setup/t

# Unpack DSZ
mkdir /tmp/setup/t
cd /tmp/setup/t
unzip ../dszexe.zip
mv -v DSZ.EXE /dos/drive_h/UTILS/
cd /tmp/setup
rm -r /tmp/setup/t

# Unpack ADF (FOSSIL)
cd /dos/drive_h
rm -rf adf
mkdir adf
cd adf
unzip /tmp/setup/adf_150.zip
rm /tmp/setup/adf_150.zip

Add startnode script

vi /usr/local/bin/startnode

Code Block
#!/bin/bash

set -e

MAXNODE=${BBSNODES:-`cat /dos/numnodes`}
FOUNDNODE=""

for NODE in `seq 1 $MAXNODE`; do
  if ! check-dosemu-session node$NODE &> /dev/null; then
    FOUNDNODE="$NODE"
    break
  fi
done

if [ -z "$FOUNDNODE" ]; then
  echo "All nodes are busy now; please try again later."
  exit 1
fi

SESSNAME=node$FOUNDNODE
STARTUP=/dos/drive_h/STARTUP/NODE$FOUNDNODE.BAT

# Hook to let node prep happen
if [ -e /dos/nodeprephook.sh ]; then
  . /dos/nodeprephook.sh
fi

printf "Welcome to node $FOUNDNODE.  Please stand by while we connect you...\r\n"
exec startdossession $SESSNAME "H:\\STARTUP\\NODE$FOUNDNODE"

chmod +x /usr/local/bin/startnode

Add dosconsole script

vi /usr/local/bin/dosconsole

Code Block
#!/bin/bash

export DISPLAY=:1
SESSNAME="console"

set -e
set -x

if [ "`cat /dos/startconsole`" = 0 ]; then
  echo "$0 startup disabled by /dos/startconsole; not starting."
  sleep 900d
  exit 0
fi


#waitfordaemon vncserver true
#waitfordaemon tcpsercon true

exec socat TCP4:localhost:7000 EXEC:"startdossession console",pty

Update inetd.conf

vi /etc/inetd.conf

Code Block
23  stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/telnetd -a off -h --exec-login=/usr/local/bin/startnode

Renegade BBS

Installation

We will be installing everything under /dos. Renegade will be installed under /dos/drive_g.

Extract

sudo su

cd /dos/drive_g

wget http://renegadebbs.info/files/unofficial.rgbbsfullv120a.zip

unzip unofficial.rgbbsfullv120a.zip

rm unofficial.rgbbsfullv120a.zip

Add additional NODE DAT files

cd rg/DATA

for ASDF in 2 3 4 5 6 7 8 9; do

cp NODE1.DAT NODE$ASDF.DAT

done

Patch the paths

cd /dos/drive_g

find . -type f -exec sed -i 's,C:\\RG,G:\\RG,g' {} \;

Set number of nodes

echo 2 > /dos/numnodes

Configuration

org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main


Install SSHD if not installed via the installer

apt-get install openssh-server


Enable root login at GUI


vi /etc/gdm3/daemon.conf

Add AllowRoot=true under the security section

Code Block
...
[security]
AllowRoot=true
...


vi /etc/pam.d/gdm3

Comment out the following line:

Code Block
...
#auth   required        pam_succeed_if.so user != root quiet_success
...


Logout and log in using root



Install Subversion

apt-get install subversion


Checkout BBS package

svn co https://svn.jmehan.com:8443/svn/PROJECTS/bbs


Install BBS

cd bbs

install.sh


Run

startbbs

stopbbs

Renegade BBS

With the BBS Running, VNC into the instance at IP:1

Configuration

Configure the BBS for 6 nodes

echo 6 > /dos/numnodes


From an xterm issue the following command:

dosconsole


From the DosEmu terminal perform the following steps:Using dosemu

g:

cd g:\rg

renegade -n1 local


Select S - System Config

...

From the local window, select U

Update the SYSOP user.

Tradewars 2002

Installation

Install under /dos/drive_g/rg/doors:

cd /dos/drive_g/rg/doors

mkdir tw2002

cd tw2002

wget https://www.slbbs.com/files/doorgame/2002v309.zip

unzip 2002v309.zip


Update the drop file location for all of the nodes


Repeat the following steps for all 6+ nodes from a dosconsole:

g:

cd g:\rg

renegade -n<nodeNumber> -l

Image Added

Select S - System Config, then B - Modem/Node Configuration

Image Added

Update "B - Drop File Location" with the folder

G:\RG\TEMP<nodeNumber>



Tradewars 2002

Installation

Start by buying a license if you still can. 

...


Start DOSEmu

dosemu


Install from DOSEMU

g:

cd g:\rg\doors\tw2002

install.bat

If you need to redo the BIG BANG, you will find a file called bigbang.exe in the tradewars folder.

...

Select O - BBS node editor

Update B - Path to Drop File and C - BBS Drop file type for all of the nodes you are configuring.

Fill in Path to Drop File, Drop file type.

For Node1:

Drop Pathg:\rg\temp1
BBS Drop File TypeDOOR


Configure Renegade

In Renegade, perform the following steps:

...

Select M and 1

Configure like above. The values for %N won't be use unless you have multinode setup in TradeWars. 


Update the tw2002.bat file

...

Code Block
@echo off
g:
cd g:\rd\doors\tw2002
call tw2002.exe TWNODE=1%1
rem pause

Since by default, you only have a license for 1 node of Tradewars. If you are having issues, uncomment the pause to see the error.

References

Renegade

Trade Wars 2002