On Oct 04, martin f krafft <madd...@debian.org> wrote: > 2. instead of requiring the PIN to be specified in this file, > I suggest to say AT+CPIN="$SIMPIN" or so, then to invoke chat > like this: env SIMPIN=1234 chat -E …. Reason: the PIN is > a parameter that should at least not appear on the command > line. This would require fixing #3 first.
> 3. Enable the AT+CPIN line, but ignore errors from it, or make it > conditional on the output of AT+CPIN? if possible. I expect that some modems would break if sent an unexpected PIN, and ignoring errors would not be acceptable. I do not have a modem around, but I would accept a patch to only send the PIN if the answer to "AT+CPIN?" says that it is needed. > These changes should allow the complete reuse of > /etc/chatscripts/gprs for all purposes. This has never been a goal... -- ciao, Marco
signature.asc
Description: Digital signature