MPortLink is designed to track connected USB modems and create permanent symbolic links to ports
This repository has been archived on 2024-06-12. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Alexander Zhirov 089154cb17 asd 2023-12-26 01:03:30 +03:00
.vscode asd 2023-12-26 01:03:30 +03:00
services The code is rewritten from scratch, based on udev 2023-12-24 00:35:41 +03:00
src asd 2023-12-26 01:03:30 +03:00
.gitignore init mportlink 2023-12-21 00:18:00 +03:00
CHANGELOG.md The code is rewritten from scratch, based on udev 2023-12-24 00:35:41 +03:00
CMakeLists.txt - 2023-12-25 17:06:59 +03:00
LICENSE init mportlink 2023-12-21 00:18:00 +03:00
README.md The code is rewritten from scratch, based on udev 2023-12-24 00:35:41 +03:00
build.sh init mportlink 2023-12-21 00:18:00 +03:00
mportlink - 2023-12-25 00:06:56 +03:00

README.md

MPortLink

license main githab linux

MPortLink (modem port link) is designed to track connected USB modems and create permanent symbolic links to ports.

MPortLink was developed for direct use of several USB modems when connected to Asterisk telephony, the ports of which were randomly determined by the operating system. The utility allows you to create permanent symbolic links to devices, regardless of the order in which the ports of the USB modem device were defined.

Build

Just need to run the script build.sh and mportlink will be built in the build project directory.

Manually

gcc -Werror -Wall -Os src/*.c `pkg-config --libs libudev` -o mportlink

Using

Superuser rights are required to work. Start the daemon and connect your USB modem. In journalctl you will see his work. Links to the ports of the connected modem will be created in the /dev/dongle directory.