AT^SYSINFO and a C++ terminal program

You MUST terminate an AT command line with \r and nothing else (unless you have modified ATS3, but you should not)1. To quote the V.250 specification: 5.2.1 Command line general format A command line is made up of three elements: the prefix, the body, and the termination character. The command line prefix consists of the … Read more

How to fix ‘sudo: no tty present and no askpass program specified’ error?

Granting the user to use that command without prompting for password should resolve the problem. First open a shell console and type: sudo visudo Then edit that file to add to the very end: username ALL = NOPASSWD: /fullpath/to/command, /fullpath/to/othercommand eg john ALL = NOPASSWD: /sbin/poweroff, /sbin/start, /sbin/stop will allow user john to sudo poweroff, … Read more