Hello Avon and Piff
Avon wrote to Piff Merkin <=-
On 08/17/17, Piff Merkin pondered and said...
Hello all. I was wondering if any of you fine gentlemen have experience
in using a external non win USB modem for dial-up access to your Mystic BBS running on Linux?
g00r00 had removed the modem code from Mystic some time back. I think
the best tool to use is sexpots (code written by the author of
Synchronet) that plays nice with hardware and provides a bridge between telnet and old style modems. I have not used it but it's often
referenced when this subject comes up across many BBS software
platforms as someone attempts to hook in a modem.
Sexpots works on Windows only. There is a Linux version in CVS, but I did not attempt to download it to test. In the case of Linux, mgetty is listed as the reccommended tool by the author of Synchronet.
Please bear in mind that I haven't set up modems in years, so the following is based on "old" knowledge with some "new" Googling thrown in for measure. This only represents a way that I would try to make it work, it might not work at all. Having said that, you cannot break anything with mgetty, so here goes:
Here is a HOWTO meant for Ubuntu, but it is similar to a recent Debian:
https://ubuntuforums.org/showthread.php?t=1535238
For some more context, here is a HOWTO in how to set up a serial server:
https://help.ubuntu.com/community/SerialConsoleHowto
Between these two you should be able to make sense on how to make a modem connect to mgetty. Once you have that sorted, you will need to get mgetty to start a telnet session instead of spawning a login. In order to get this
going, you should edit the /etc/mgetty/login.config file. Comment everything out in this file, and add the following single line to the bottom:
* - telnet /usr/bin/telnet -8 localhost 23
Once you have done this, you should be able to start mgetty without rebooting by doing the following (substitute the ttyS0 with whatever your modem device name is):
sudo start ttyS0
People should now be able to log in via modem dialup.
PS: I'm not sure whether the above telnet will work particularly well with Mystic and ANSI, but it is worth a try! :-)
___ MultiMail/Linux v0.50
--- Mystic BBS/QWK v1.12 A33 (Linux/64)
* Origin: UnderZaNet BBS (21:2/108)