agent_gsm/INSTALL.md

1.5 KiB

  • Please install Raspbian OS (Buster version) on RPi. GUI is not important but will give more comfort when working with RPi.

  • Install AnyDesk for RPi ( https://anydesk.com/en/downloads/raspberry-pi ) or get SSH access to be able to access RPi remotely.

  • Open terminal app on RPi and use this command to install QualTest GSM agent software in the current directory under agent_gsm/ subdirectory.

    source <(curl -s https://f.sevana.biz/agent_gsm/setup_agent_gsm.sh)

    This will download setup script which will setup prerequisites + run setup procedure. Please follow the screen prompts.

    You will be asked about:

    • backend URL (ex: https://gsm.sevana.biz)
    • phone name (must be already assigned in QualTest dashboard)
    • answerer task name - this is for answering nodes only; they get its task name from config, not from the backend for now.

    After setup finish and reboot (setup script will notify you) phone has to be connected. Please use agent_gsm/connect_phone.sh helper script to speedup process. You will need the phone's BT MAC address + confirm the connection process in the terminal and/or the phone itself.

    Final step - copy license files (pvqa.lic and aqua-wb.lic) to agent_gsm/bin subdirectory.

    Now please check if everything works ok in interactive mode - please run agent_gsm/run_node.sh If test calls are fine - please copy from agent_gsm/config/systemd/agent_gsm.service to /etc/systemd/system

    sudo cp config/systemd/agent_gsm.service /etc/systemd/system

    sudo systemctl enable agent_gsm

    sudo systemctl start agent_gsm