mirror of
https://github.com/D-Modem/login.git
synced 2026-11-28 20:38:06 -08:00
D-Modem/gui no longer has the SwiftUI and GTK apps. The Win32 app is the only desktop GUI, on Windows, macOS and Linux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRUx6MjNXmAFKULZu3U Signed-off-by: Neo-Desktop <321592+Neo-Desktop@users.noreply.github.com>
92 lines
4.7 KiB
Markdown
92 lines
4.7 KiB
Markdown
<img src=".github/banner.png" alt="D-Modem/login: User login and management for dial-up callers" width="100%">
|
|
|
|
# dmodem-login
|
|
|
|
dmodem-login is a login and a menu for dial-up callers. When the modems
|
|
connect, the caller sees dmodem-login first.
|
|
|
|
dmodem-login asks for a user name and a password. Then it shows the message
|
|
of the day and a menu of the tasks that the caller can do. These tasks
|
|
include a bulletin board, PPP dial-up networking, a shell or any other
|
|
program. dmodem-login runs behind `app_dmodem`, the Asterisk module of
|
|
[D-Modem](https://github.com/D-Modem/D-Modem). It can run as one process
|
|
for each call or as one server for all calls.
|
|
|
|
```
|
|
Welcome to D-Modem.
|
|
|
|
Connected at 33600 bit/s (V.34, LAPM/V.42bis).
|
|
|
|
login: alice
|
|
Password: ******
|
|
|
|
Hello alice, on 2026-10-10 at 21:05:09.
|
|
|
|
The line is down for maintenance on Sunday.
|
|
|
|
Main menu
|
|
|
|
[B] Bulletin board
|
|
[P] PPP (dial-up networking)
|
|
[S] Shell
|
|
[G] Goodbye (hang up)
|
|
|
|
Selection: ppp
|
|
```
|
|
|
|
- Logins from a users file, LDAP, SQL (MySQL/MariaDB, PostgreSQL, SQLite) or system accounts through PAM.
|
|
- An LDAP provider: other programs (the BBS, a wiki, mail) can use the same users and passwords through LDAP ([docs/ldap-provider.md](docs/ldap-provider.md)).
|
|
- Detection of PPP dialers (AutoPPP and PAP), with a pppd plugin.
|
|
- Support for the classic AOL client when it dials in. dmodem-login emulates AOLnet, SprintNet and Tymnet. Then it connects the line to the AOL host of a BBS.
|
|
- Menus with access by user and by group, guest access and self sign-up (the new account goes in each login backend: users file, SQL, LDAP, system).
|
|
- A full-screen menu on ANSI and VT terminals, and a line menu on other terminals. The full-screen menu looks like a blue desktop from the 1990s. The cursor keys move the bar. For slow lines, dmodem-login sends only the changes to the screen.
|
|
- `dmodem-login -setup`: full screens with pull-down menus and the help text from the sample, to change the configuration. The sysop can use them at the console or on a call.
|
|
- Each item starts with the credentials of the caller and the details of the call: dialed number, caller ID, connect rate, modulation, error correction and time.
|
|
- Drop files for doors, a list of the last callers, and the transfer of a caller to a different menu.
|
|
- A FreePBX configuration that is ready to use ([freepbx/](freepbx/README.md)).
|
|
|
|
dmodem-login was modemmenu before. For an old installation, refer to
|
|
[docs/rename.md](docs/rename.md).
|
|
|
|
## Quick start
|
|
|
|
You must have Go 1.22 or later. Do these steps:
|
|
|
|
```
|
|
make # with PAM when libpam's headers are there
|
|
make install # /usr/local/bin/dmodem-login, the samples and the systemd units
|
|
dmodem-login -config /etc/asterisk/dmodem-login.conf -check # check the configuration
|
|
dmodem-login -config /etc/asterisk/dmodem-login.conf -setup # or change it on a full screen
|
|
```
|
|
|
|
Then configure an `app_dmodem` profile to use dmodem-login ([docs/running.md](docs/running.md)).
|
|
|
|
## Documentation
|
|
|
|
The documentation is also a website, [d-modem.github.io/login](https://d-modem.github.io/login/). Some reference pages on the website come from the code.
|
|
|
|
[docs/](docs/README.md) has information about these topics: the build,
|
|
operation, configuration, authentication, PPP, security and the tests.
|
|
[samples/dmodem-login.conf.sample](samples/dmodem-login.conf.sample) has all the options.
|
|
|
|
## The D-Modem suite
|
|
|
|
| Repository | What it is |
|
|
| --- | --- |
|
|
| [D-Modem](https://github.com/D-Modem/D-Modem) | The open V.92 softmodem: dmodemd, libdmodem and the Asterisk, FreeSWITCH and ARI modules |
|
|
| [app](https://github.com/D-Modem/app) | The D-Modem app for Android and iOS: a dial-up modem on a SIP call |
|
|
| [gui](https://github.com/D-Modem/gui) | D-Modem on the desktop: one Win32 app for Windows, macOS and Linux |
|
|
| [hardware](https://github.com/D-Modem/hardware) | pico-serial: RP2040 serial adapters and phone-line USB sticks |
|
|
| [login](https://github.com/D-Modem/login) | dmodem-login: the login, menu and LDAP provider for dial-up callers |
|
|
| [bbs](https://github.com/D-Modem/bbs) | A bulletin board for telnet, SSH, TN3270 and modem callers |
|
|
| [brand](https://github.com/D-Modem/brand) | Logos, colours, type and the naming guide |
|
|
|
|
## Licence
|
|
|
|
AGPL-3.0-only ([LICENSE](LICENSE)), or a commercial licence from the D-Modem Authors ([COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md)). Contributions come with a contributor agreement ([CONTRIBUTING.md](CONTRIBUTING.md)).
|
|
|
|
If you change dmodem-login and offer it to callers, section 13 of the AGPL
|
|
tells you to offer them its source code. To do this, give the location
|
|
of the source code in a menu item, in the banner or in the message of
|
|
the day.
|