📜 ⬆️ ⬇️

Fido + BBS on Ubuntu 11.04 Server

Synchronet BBS logo
In the distant past, when the Internet among ordinary students and schoolchildren was either a rare phenomenon or a flat rate (read - after two nights) - and sometimes for two (read - after five in the morning), you could connect to a bottle of “Stepan Razin” Fido. And for two - so in general to the CM boss, that is, around the clock.
Fido, a network created by the anarchic genius of Tom Jennings and expanded to our country in the early 90s, has become the main way to communicate for many domestic geeks. It is worth noting that many informational innovations developed or even originated in the fidonete: statuses (“now playing” from Winamp in origine), forums (ekhi), file exchange (faehs), blogs (lokalki), shops (even with delivery), online games (on bbskah), bashorg (HUMOR.FILTERED) and so forth. And it did not need to store a bunch of passwords, filter spam mountains, and the work eh did not depend on the “fires” on the hosting, because it was decentralized to a certain extent. And, interestingly, everything - from young to old - to each other on “you”.
Nevertheless, the time when every sysop knew which PBX it had - decade-step or coordinate, and when CPS ( CPS ) over 3000 was considered cool, has already passed ... Now it is not necessary to look for extra “hissing” twists in the whole apartment , run incomprehensible fossil drivers, and impose a moratorium on lifting the handset after midnight. Fido can also be organized by IP on your home server.
What for? ... Just for fun.

Under the cut: put Fidogate + binkd + Synchro BBS on Ubuntu 11.04 Server (amd64).

Introduction


Organize Fido and BBS will be on Ubuntu, because this distribution is still very much spread. Although now FIDOSlax is gaining more and more popularity with integrated support for Fido, but our goal is to set up Fidonet on a regular home server, displacing some torrents.
Beginners to set up Fido should start by searching for their uplink (boss), and getting from them an address of the form 2: x / yz. Another way is to think up a fictional address of the same type, adjust everything, and then find the uplink and change it.

Feedogate


So, first put the INN newsserver:
')
# sudo apt-get install inn2

And set it up. There is nothing particularly tricky in setting up.
Then fidogate itself, which we take from Yauheni Kaliuta with iconv already turned on, which is important for the UTF-8 locale. Hereinafter, we will assume that what you need to compile the source has been installed (we are talking about build-essential), and you also know when to use sudo. By the way, we will not spoil the integrity of the distribution in any way.

 # dget -x http://kaliuta.org/debian/unstable/source/fidogate_5.2.4ds~svn20081122-1.dsc # dpkg-source -x fidogate_5.2.4ds~svn20081122-1.dsc # cd fidogate-5.2.4ds~svn20081122/ 

INN developers took the lead with the 2.5.x branch, and fidogate knows nothing about it. Here is a small fix.

# cp configure configure.bak; sed '/innconf/s/3\\|4/3\\|4\\|5/g' configure.bak >configure

And finally, compile and install.

# dpkg-buildpackage -rfakeroot
# sudo dpkg -i ../fidogate_5.2.4ds~svn20081122-1_amd64.deb


Configure Postfix


Add transport to / etc / postfix / transport, and do not forget to run

# sudo postmap transport

If you are using ISPConfig 3 , then nothing too complicated: add the transport to “Email Routing”, type - Custom, domain - .z2.fidonet.org, uncheck “No MX Lookup”, and repeat these steps for all six five zones .

Install binkd


Set by a completely banal command:

# sudo apt-get install binkd

We edit /etc/binkd/binkd.cfg and /etc/binkd/binkd.inc .

I advise you to choose inbound directories that are different from those of a fidogey one, and manually copy incoming packets one by one into inbound directory until you debug the system. Yes, and I also advise outbound while aiming at different directories so that the test messages do not leave the uplink, and on ip this happens in two accounts. When everything is fine, you can make the same inbound (outbound) in binkd and fidogate. By the way, it is useful to study the documentation of how fidogate gates fidos mail.

Now we try to write a letter (netmail) with the help of our favorite email client:

# mail Vasya.Pupkin@p45.f123.n5020.z2.fidonet.org

The letter should fall into /var/spool/fidogate/outpkt/mail/ and later on the krone ( /etc/cron.d/fidogate ) will go to the outbound directory on the appropriate uplink.

Bbs


As a telnet BBS install Synchronet BBS.

# sudo apt-get install libncurses5-dev g++ cvs dosemu dosemu-freedos

The developers write that the 64-bit system is new to them. True enough years have passed since then, and the code is updated almost daily. However, under Ubuntu 11.04, the 64-bit BBS works very stable for me. However, during compilation you will have to roll back to version 1.8.1 of the mozjs library.

# sudo apt-get install libnspr4 libnspr4-0d libnspr4-dev
# sudo mkdir /srv/sbbs; cd /srv/sbbs
# wget mirror.ovh.net/ubuntu//pool/universe/x/xulrunner/libmozjs-dev_1.8.1.18+nobinonly.b308.cvs20090331t155113-0ubuntu0.8.04.1_all.deb
# wget mirror.ovh.net/ubuntu//pool/universe/x/xulrunner/libmozjs0d_1.8.1.18+nobinonly.b308.cvs20090331t155113-0ubuntu0.8.04.1_amd64.deb


Libraries can be taken from any other mirror: libmozjs0d and libmozjs-dev .

# sudo dpkg -i libmozjs0d_1.8.1.18+nobinonly.b308.cvs20090331t155113-0ubuntu0.8.04.1_amd64.deb
# sudo dpkg -i libmozjs-dev_1.8.1.18+nobinonly.b308.cvs20090331t155113-0ubuntu0.8.04.1_all.deb
# sudo make install RELEASE=1 JSLIB=mozjs USE_DOSEMU=1


Add user

# sudo useradd -U -d /srv/sbbs sbbs
# sudo chown -R sbbs.sbbs /srv/sbbs


Customize to taste, set the password sysop.

# sudo su sbbs -c 'export SBBSCTRL=/srv/sbbs/ctrl; /srv/sbbs/exec/scfg'

And finally, run.

# sudo su sbbs -c '/srv/sbbs/exec/sbbs'

Now we can go telnet to our BBS. To enjoy the all-enchanting beauty of ANSI graphics, use “proven” terminals: gnome-terminal, konsole, or syncterm .
By the way, in the gnomovskom terminal to correctly display the graphics do not forget to include the CP866 encoding.

Next we connect the fido echoconferencing to the BBS according to the instructions . Connect the file to the echoconference, install the gkermit so that users can upload and download files:

# sudo apt-get install gkermit

We use the guide for installation in init.d

Thanks!
That's all! By the way, Synchronet BBS is not just telnet BBS: by default, both web and ftp servers work in it. But this is not the Fido-path ...

Source: https://habr.com/ru/post/128096/


All Articles