Don’t use gl modem binary it’s buggy . Use full fledged tool like minicom . You can find details of installing it and using it at this post: