Thank You for Your time and answer, Jasper:
> In your example you miss a space before the ">",
> and your /tmp/qq should look like
>
> "" atd*#06#
> OK ""
That's what I have now:
/usr/sbin/chat -E -s -V -f /tmp/q /dev/ttyUSB0
atd*#06#
NO CARRIER
Failed
In /tmp/q I have:
"" atd*#06#
OK ""
S
chat -E -s -V -f $modem_chat_script <$modem_device >$modem_device
So, that's what I did:
$ /usr/sbin/chat -E -s -V -f /tmp/qq /dev/ttyUSB0
Failed
in /tmp/qq I have:
atd*#06#
Using the script in my previous mail you should be able to do
modem_cmd atd*#06#
In your example you miss a space
Thank You for Your time and answer, Jasper:
> chat -E -s -V -f $modem_chat_script <$modem_device >$modem_device
Excuse me for my previous messages - I did not see this Your message.
So, that's what I did:
$ /usr/sbin/chat -E -s -V -f /tmp/qq /dev/ttyUSB0
Failed
in /tmp/qq I have:
atd*#06#
Do
Thank You for Your time and answer, Jasper:
> Yes.
>
> I could send atd*#06# and got a long number as answer.
That;s just great! Would show a command on command line or whatever how
it can be used all? Say, I have a device called /dev/ttyUSB0 and the
chat cammand, what is the command line then?
or it is possible w/ chat to find out device IMEI?
Yes.
I could send atd*#06# and got a long number as answer.
I wrote a script to give single commands, using chat in it.
I will try to rewrite it later today, so that it is more generally useful.
Attempt to talk to modem using the chat comm
or it is possible w/ chat to find out device IMEI?
Yes.
I could send atd*#06# and got a long number as answer.
I wrote a script to give single commands, using chat in it.
I will try to rewrite it later today, so that it is more generally useful.
--
To UNSUBSCRIBE, email to debian-user-requ..
Thank You for Your time and answer, Jasper:
> You can script communication with a modem using 'chat', that is a
> tool that is part of the ppp - package.
Do You suggest to look for error w/ chat script in case of wrong
device-ISP pair, or it is possible w/ chat to find out device IMEI?
--
To U
But AFAIK I can retrieve it
only inside of minicom - that makes impossible to use in a connection
script.
You can script communication with a modem using 'chat', that is a tool
that is part of the ppp - package.
HTH, --Jasper.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.o
On 10/05/2010 11:33 AM, Sthu Deus wrote:
Thank You for Your time and answer, Michelle:
In your connection script, you can check, on which USB-Port it
is connected, then get the /dev/ttyUSBn or /dev/ttyACMn and youare
done.
But how I can identify which one of the modems is connected on w
Thank You for Your time and answer, Michelle:
> In your connection script, you can check, on which USB-Port it
> is connected, then get the /dev/ttyUSBn or /dev/ttyACMn and youare
> done.
But how I can identify which one of the modems is connected on which
port?
--
To UNSUBSCRIBE, email
Hello Sthu Deus,
Am 2010-10-05 04:17:52, hacktest Du folgendes herunter:
> Good day.
>
> I have 2 similar GSM-modems - both are connected at once having diver
> ISP SIM in each.
Same here, but with 8 USB HSPA GSM-Modems...
> At connection time how I can easily discern between
> them?
>
> At my
Good day.
I have 2 similar GSM-modems - both are connected at once having diver
ISP SIM in each. At connection time how I can easily discern between
them?
At my opinion it discerns only by its IMEI. But AFAIK I can retrieve it
only inside of minicom - that makes impossible to use in a connection
12 matches
Mail list logo