{"id":19555660,"url":"https://github.com/chris-l/docker-tcpser-modem-emulator","last_synced_at":"2026-05-15T10:37:29.441Z","repository":{"id":72746685,"uuid":"492446069","full_name":"chris-l/docker-tcpser-modem-emulator","owner":"chris-l","description":"This a container based on Alpine Linux running the TCPSER modem emulator.","archived":false,"fork":false,"pushed_at":"2022-12-17T06:59:42.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T21:22:12.309Z","etag":null,"topics":["alpine","dialup","docker","docker-image","modem","ppp","serialport","tcpser"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/chrll/tcpser-modem-emulator","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chris-l.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-15T09:49:12.000Z","updated_at":"2024-10-03T06:34:51.000Z","dependencies_parsed_at":"2023-06-25T19:48:19.925Z","dependency_job_id":null,"html_url":"https://github.com/chris-l/docker-tcpser-modem-emulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-l%2Fdocker-tcpser-modem-emulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-l%2Fdocker-tcpser-modem-emulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-l%2Fdocker-tcpser-modem-emulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-l%2Fdocker-tcpser-modem-emulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chris-l","download_url":"https://codeload.github.com/chris-l/docker-tcpser-modem-emulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240814837,"owners_count":19861955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","dialup","docker","docker-image","modem","ppp","serialport","tcpser"],"created_at":"2024-11-11T04:35:11.718Z","updated_at":"2026-05-15T10:37:29.092Z","avatar_url":"https://github.com/chris-l.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"This a container based on Alpine Linux running the TCPSER modem emulator.\n\n[TCPSER is a modem emulator](https://github.com/FozzTexx/tcpser), it emulates a Hayes compatible modem. It allows older systems to connect to services such as BBSes using a null-modem cable.\nThe container also includes a preconfigured PPP to simulate a dialup ISP provider and connect to the internet.\n\nIt uses Alpine with TCPSER, PPP and Dnsmasq.\n\n[It is based on the PiModem project by PodSix,](http://podsix.org/articles/pimodem/) which uses a Raspberry Pi Zero W.\n\n## Features\n\n* Uses the TCPSER fork by FozzTexx\n* Includes PPP preconfigured to simulate a dialup ISP provider\n* The PPP service accepts any username and password\n* Uses Dnsmasq to share the host's DNS resolver\n\n## Requirements\n\n* A retro computer with a serial port\n* A modern computer running Docker with a serial port or [an USB serial adapter](https://en.wikipedia.org/wiki/File:FTDI_USB_SERIAL.jpg)\n* A [null-modem cable](https://en.wikipedia.org/wiki/Null_modem)\n\n## How to build\n\n```shell\ngit clone https://github.com/chris-l/docker-tcpser-modem-emulator.git\ncd docker-tcpser-modem-emulator\n\ndocker build -t tcpser-modem-emulator .\n```\n\n## Environment variables\n\n* `DEV`: The serial device. Default: `/dev/ttyS0`\n* `BAUD`: The baud rate to use. Default: `38400`\n\nFor the fake dialup internet provider, the following additional variables are available:\n\n* `IP_SERVER`: The IP assigned to the server. Default: `10.0.1.1`\n* `IP_CLIENT`: The IP assigned to the client. Default: `10.0.1.2`\n* `PPP_PHONE`: The phone number to use. Default: `5559000`\n* `PROXY`: Optional. Redirects all requests to port 80 to a proxy specified in the format IP:PORT, such as `172.17.0.1:8000`. Unset by default.\n\n## Volumes\n\nThe container also supports the following volumes:\n\n* `/dev/\u003cyour serial device\u003e`: The serial device to be used. This is typically `/dev/ttyUSB0` for USB adapters and `/dev/ttyS0` for the first serial device (equivalent to \"com1\" on Windows)\n* `/phonebook.txt`: A file containing lines in the format `\u003cphone number\u003e=\u003cip/domain\u003e:\u003cport\u003e`. Example: `1701=bbs.fozztexx.com:23`\n\n## Usage\n\n**The argument `--privileged` is required to allow the container to access the serial device.**\n\nIn this example, its assuming the serial device is `/dev/ttyUSB0`, 115200 baud, a phonebook.txt file in the current directory and using `--rm` to remove the container after its closed.\n\n```shell\ndocker run -it --rm --privileged -e BAUD=115200 -e DEV=/dev/ttyUSB0 -v /dev/ttyUSB0:/dev/ttyUSB0 -v $(pwd)/phonebook.txt:/phonebook.txt chrll/tcpser-modem-emulator\n```\n\nOn the client, make sure to select the same baud as the container.\n\nFor the fake dialup provider, use the `PPP_PHONE` number. Any combination of username and password will work. For using a proxy, ideally use the client's browser settings to configure it. That way it can handle other request than those to port 80. If that is not possible, you can use the `PROXY` env var to redirect all port 80 requests through it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-l%2Fdocker-tcpser-modem-emulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris-l%2Fdocker-tcpser-modem-emulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-l%2Fdocker-tcpser-modem-emulator/lists"}