Hi all!
Tryin' to configure luci command module to send at commands to usb modem (start connection, ussd commands, etc.)
I've got no problem using picocom, but it doesn't work in luci.
For example entering: echo -e -n "at!scact=1\r" >/dev/ttyUSB2 && cat /dev/ttyUSB2
in commands section gives me:
Assuming that it works properly when you're executing this command on the command line via ssh, you could create a text file with that same text inside. Name it something easy and save it in an appropriate place. Add execute permissions and you have a script. Use the luci-app-command just to execute the script.