Skip to content

Deku is a linux based tool for 2G/3G USB modems. It manages multiple USB modems to send and receive SMS messages

Notifications You must be signed in to change notification settings

Afkanerd/Afkanerd-DekuDaemon

 
 

Repository files navigation

Deku Daemon


Dependencies

ubuntu

sudo apt install build-essential

manjaro

sudo pacman -S base-devel

  • MySQL server
ubuntu

sudo apt install mysql-server
sudo apt install libmysqld-dev

manjaro

sudo pacman -S mysql\

ubuntu

sudo apt install doxygen

manjaro

sudo pacman -S doxygen

  • ModemManager - comes installed on most Linux systems

For Testing we use the CppUTest; https://cpputest.github.io/manual.html

ubuntu

sudo apt install cpputest

manjaro

sudo pacman -S cpputest

VARIABLES OF CONFIGURATION FILE (.ENV)
# Do no put quotes, do not end with /
- DIR_ISP=""
- DIR_REQUEST_FILE=""
- DIR_SUCCESS=""
- DIR_SCRIPTS=""
- DIR_ERROR=""
- STD_NAME_REQUEST_FILE=""
- STD_NAME_WHITELIST_FILE=""
- MYSQL_SERVER=""
- MYSQL_USER=""
- MYSQL_PASSWORD=""
- MYSQL_DATABASE=""
- ISP_EXCHANGE=ISP_NAME{OTHER_ISP_NAMES,,}:ISP_NAME_2{OTHER_ISP_NAMES,,}
How to build and run
make -C src/
./bins/start --c <path to personal configuration file> --mode TEST(default)|PRODUCTION

Start arguments

--c [configuration file]
--mode PRODUCTION|TEST changes what the console outputs
--show_isp [number]
--run_ussd [code]
--run_ussd_script <path to file>
--exhaust_count [number] warning: do not set less than 3 if using MTN or say, could be very dangerous if automated
--show_isp [number]
--generate_request [number]
--st [number] sleep time for modems, before iterating to check again
--f [filename]
--cleanse
--cleanse-only
--stat-only
--sms-only
--ussd-only --script=key=value e.g --script=modem=0,command=#99#,retry_count=3
--sms
--ls-locked-files-only
--release-locked-files-only
--release-locked-files
--remote-control must be used with --sms switch

Remote-control commands

Default input schema: :command

  • Default Prefix: #dri#:
  • Custom commands: #tt#:

About

Deku is a linux based tool for 2G/3G USB modems. It manages multiple USB modems to send and receive SMS messages

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 81.2%
  • Python 10.7%
  • Shell 4.9%
  • Makefile 3.0%
  • CMake 0.2%