[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    RE: [uClinux-dev] Connecting GPRS using PPP
From:       "Steven Veigas" <sveigas () velankani ! com>
Date:       2007-04-27 6:28:31
Message-ID: 009901c78893$99815af0$362e000a () blr ! velankani ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I have not worked on GPRS modem, but as per basic modem knowledge, 
 
first u need to confirm that connection is established or not,
and than script, its better once run commands manually
and OK, CONNECT all those are not AT commands for the modem, those are the
responses from the modem,
so ur script should not contain OK, CONNECT etc,
 
try commands by sending to the modem
-------------------------
AT command
Command : AT [CR]    
Response : OK
-------------------------
Reset command
Command : ATZ[CR]    
Response : OK
-------------------------
Setting parameters
AT+CGDCONT=1,"IP","claro.com.br" [CR]    
Response : OK
------------------------- 
Dial  command
ATDT*99***1#
Response : CONNECT
-------------------------
After all these successfull commands, run pppd applications, And check
whether ttyS1 is connected to modem, 
pppd ttyS1 115200 noauth defaultroute noipdefault local connect "/bin/chat
-f /var/tmp/chat_script"
 
-Steven
 
 -----Original Message-----
From: Roger Feltrin Escanhola [mailto:rescanhola@v2telecom.com.br] 
Sent: Thursday, April 26, 2007 2:30 AM
To: uclinux-dev@uclinux.org
Subject: [uClinux-dev] Connecting GPRS using PPP


 
Hi,
 
I am trying to establish a GPRS connection using PPP in uClinux. I'm using a
Freescale M5208EVB (Coldfire) and my modem is a Siemens TC65 terminal. I
searched in internet and I found a good document teaching how to do this
(this is the link to the document
http://mailman.uclinux.org/pipermail/uclinux-dev/2004-August/027637.html) it
helped me to take the first steps but I am having problems to connect GPRS.
I used the com1 of my evaluation board connected to my desktop and the com2
connected to the modem. So I made a new kernel image with 'tip' to use in
uClinux as a terminal to send commands to the modem and it worked fine (I
could send AT commands to the modem and I received the answers). My problem
appears when I try the following command:
 
 pppd ttyS1 115200 noauth defaultroute noipdefault local connect "/bin/chat
-f /var/tmp/chat_script"
the chat_script file has the following commands
"" ATZ OK AT+CGDCONT=1,"IP","claro.com.br" OK ATD*99***1# CONNECT
This command seems has no effect on modem. So I tried to test the 'chat' to
see if it was working properly. I tried to commands:
 
/>exec /bin/chat -v '' AT OK ATDT*99***1# CONNECT ''
AT
 
This first command just writes AT on screen and after timeout (about 30
sec.) the shell prompt returns and it has no affect on modem. So I tried:
 
/> exec /bin/chat -v '' AT^SMSO ''
ATMSO
Sash command shell (version 1.1.1)
 
The answer to this command is the second and the third line. This command
should turn the modem off, but it doesn't happen (AT^SMSO works if I send
the command from 'tip'), so I believe the problem is the chat program.
 
Does anybody has any suggestion? Am I using wrong command? Is there another
way to connect ppp without using chat?
 
Thanks
Roger
 
 
 
 

[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<META content="Microsoft Word 10" name=Originator><LINK 
href="cid:filelist.xml@01C78763.8A26A910" rel=File-List><!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<STYLE>@page Section1 {size: 612.0pt 792.0pt; margin: 70.85pt 3.0cm 70.85pt 3.0cm; \
mso-header-margin: 35.4pt; mso-footer-margin: 35.4pt; mso-paper-source: 0; } \
P.MsoNormal {  FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; \
mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times \
New Roman" }
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; \
mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times \
New Roman" }
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; \
mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times \
New Roman" }
A:link {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
P {
	FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New \
Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; \
mso-margin-top-alt: auto; mso-margin-bottom-alt: auto }
SPAN.EstiloDeEmail17 {
	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose; \
mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; \
mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: \
Arial }
SPAN.SpellE {
	mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
	mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
	page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
	{mso-style-name:"Tabela normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=PT-BR style="tab-interval: 35.4pt" vLink=purple link=blue>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=720282805-27042007><FONT 
face=Arial color=#800080>I have not worked on GPRS modem, but as per basic modem 
knowledge, </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=720282805-27042007><FONT 
face=Arial color=#800080></FONT></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=720282805-27042007><FONT 
face=Arial color=#800080>first u need to confirm that connection is established 
or not,</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>and than script, its better&nbsp;once run commands 
manually</SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>and OK, CONNECT all those are not AT commands for the 
modem, those are the responses from the modem,</SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>so ur script should not contain OK, CONNECT 
etc,</SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>try commands by sending to the 
modem</SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>-------------------------</SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>AT command</SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>Command : AT [CR]&nbsp;&nbsp;&nbsp; 
</SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007></SPAN></FONT></FONT><FONT><FONT face=Arial 
color=#800080 size=2><SPAN class=720282805-27042007>Response : 
OK</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>
<DIV><FONT size=+0><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>-------------------------</SPAN></FONT></FONT></DIV>Reset 
command</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>
<DIV><FONT size=+0><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>Command : ATZ[CR]&nbsp;&nbsp;&nbsp; 
</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007></SPAN></FONT></FONT><FONT size=+0><FONT face=Arial 
color=#800080 size=2><SPAN class=720282805-27042007>Response : 
OK</SPAN></FONT></FONT></DIV></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>
<DIV><FONT face=Tahoma><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>
<DIV></SPAN></FONT></FONT><FONT face=Tahoma><FONT face=Arial color=#800080 
size=2><SPAN class=720282805-27042007><FONT size=+0><FONT face=Arial 
color=#800080 size=2><SPAN class=720282805-27042007><FONT size=+0><FONT 
face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007>-------------------------</SPAN></FONT></FONT></DIV></DIV></SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></FONT></FONT></DIV>
 <DIV><FONT><SPAN class=720282805-27042007>Setting parameters</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=720282805-27042007>AT+CGDCONT=1,"IP","claro.com.br" 
[CR]&nbsp;&nbsp;&nbsp; </SPAN></FONT></DIV>
<DIV><FONT><SPAN class=720282805-27042007>
<DIV><FONT size=+0><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007></SPAN></FONT></FONT><FONT size=+0><FONT face=Arial 
color=#800080 size=2><SPAN class=720282805-27042007>Response : 
OK</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN class=720282805-27042007><SPAN 
class=720282805-27042007><FONT face=Tahoma><FONT size=2><SPAN 
class=720282805-27042007><FONT size=+0><FONT face=Arial size=2><SPAN 
class=720282805-27042007>-------------------------</SPAN></FONT></FONT>
<DIV><FONT face=Arial>Dial&nbsp;<SPAN 
class=720282805-27042007>&nbsp;command</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN 
class=720282805-27042007></SPAN></FONT></SPAN></FONT></FONT><FONT 
face=Tahoma><FONT face=Arial size=2><SPAN class=720282805-27042007><FONT 
size=+0><FONT face=Arial size=2><SPAN 
class=720282805-27042007>ATDT*99***1#</SPAN></FONT></FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial size=2><SPAN 
class=720282805-27042007><FONT size=+0><FONT face=Arial size=2><SPAN 
class=720282805-27042007></SPAN></FONT></FONT><FONT size=+0><FONT face=Arial 
size=2><SPAN class=720282805-27042007></SPAN></FONT></FONT><FONT size=+0><FONT 
face=Arial color=#800080 size=2><SPAN class=720282805-27042007>Response : 
CONNECT</SPAN></FONT></FONT></DIV>
<DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN class=720282805-27042007><SPAN 
class=720282805-27042007><FONT face=Tahoma><FONT face=Arial size=2><SPAN 
class=720282805-27042007><FONT size=+0><FONT face=Arial color=#800080 
size=2><SPAN 
class=720282805-27042007>-------------------------</SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></SPAN></FONT></FONT></DIV>
 <DIV><FONT size=+0><FONT face=Arial size=2><SPAN class=720282805-27042007><SPAN 
class=720282805-27042007><FONT face=Tahoma><FONT face=Arial size=2><SPAN 
class=720282805-27042007><FONT size=+0><FONT face=Arial color=#800080 
size=2><SPAN class=720282805-27042007>After all these successfull commands, run 
pppd applications, And check whether ttyS1 is connected to modem, 
</SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN class=720282805-27042007><SPAN 
class=720282805-27042007><FONT face=Tahoma><FONT face=Arial size=2><SPAN 
class=720282805-27042007><FONT size=+0><FONT face=Arial color=#800080 
size=2><SPAN 
class=720282805-27042007></SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></SPAN></FONT></FONT><FONT \
 size=+0><FONT face=Arial size=2><SPAN class=720282805-27042007><SPAN 
class=720282805-27042007><FONT face=Tahoma><FONT face=Arial size=2><SPAN 
class=720282805-27042007><FONT size=+0><FONT face=Arial size=2><SPAN 
class=720282805-27042007><SPAN class=SpellE><SPAN class=GramE>pppd</SPAN></SPAN> 
ttyS1 115200 <SPAN class=SpellE>noauth</SPAN> <SPAN 
class=SpellE>defaultroute</SPAN> <SPAN class=SpellE>noipdefault</SPAN> local 
connect "/bin/chat -f /<SPAN 
class=SpellE>var/tmp/chat_script</SPAN>"</SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></SPAN></FONT></FONT></DIV>
 <DIV><FONT size=+0><FONT face=Arial size=2><SPAN class=720282805-27042007><SPAN 
class=720282805-27042007><FONT face=Tahoma><FONT face=Arial size=2><SPAN 
class=720282805-27042007><FONT size=+0><FONT face=Arial color=#800080 
size=2><SPAN 
class=720282805-27042007></SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></SPAN></FONT></FONT>&nbsp;</DIV>
 <DIV><FONT size=+0><FONT face=Arial size=2><SPAN class=720282805-27042007><SPAN 
class=720282805-27042007><FONT face=Tahoma><FONT face=Arial size=2><SPAN 
class=720282805-27042007><FONT size=+0><FONT face=Arial color=#800080 
size=2><SPAN 
class=720282805-27042007><o:p>-Steven</o:p></SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></SPAN></FONT></FONT></DIV>
 <DIV><FONT size=+0><FONT face=Arial size=2><SPAN class=720282805-27042007><SPAN 
class=720282805-27042007><FONT face=Tahoma><FONT face=Arial size=2><SPAN 
class=720282805-27042007><FONT size=+0><FONT face=Arial color=#800080 
size=2><SPAN 
class=720282805-27042007></SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></SPAN></FONT></FONT><FONT \
 size=+0><FONT face=Arial color=#800080 size=2><SPAN 
class=720282805-27042007></SPAN></FONT></FONT></SPAN></FONT><FONT face=Arial 
color=#800080 size=2><SPAN 
class=720282805-27042007></SPAN></FONT>&nbsp;</DIV></DIV></DIV></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN 
class=720282805-27042007>&nbsp;</SPAN>-----Original Message-----<BR><B>From:</B> 
Roger Feltrin Escanhola [mailto:rescanhola@v2telecom.com.br] <BR><B>Sent:</B> 
Thursday, April 26, 2007 2:30 AM<BR><B>To:</B> 
uclinux-dev@uclinux.org<BR><B>Subject:</B> [uClinux-dev] Connecting GPRS using 
PPP<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800080 2px solid; \
MARGIN-RIGHT: 0px">  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: EN-US">Hi,<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: EN-US">I \
am trying to establish a   GPRS connection using PPP in <SPAN \
class=SpellE>uClinux</SPAN>. I&#8217;m using a   <SPAN class=SpellE>Freescale</SPAN> \
M5208EVB (<SPAN   class=SpellE>Coldfire</SPAN>) and my modem is a Siemens TC65 \
terminal. I   searched in internet and I found a good document teaching how to do \
this (this   is the link to the document <A 
  href="http://mailman.uclinux.org/pipermail/uclinux-dev/2004-August/027637.html">http://mailman.uclinux.org/pipermail/uclinux-dev/2004-August/027637.html</A>) \
  it helped me to take the first steps but I am having problems to connect 
  GPRS.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: EN-US">I used the com1 of my 
  evaluation board connected to my desktop and the com2 connected to the modem. 
  So I made a new kernel image with &#8216;tip&#8217; to use in <SPAN 
  class=SpellE>uClinux</SPAN> as a terminal to send commands to the modem and it 
  worked fine (I could send AT commands to the modem and I received the 
  answers). My problem appears when I try the following 
  command:<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><SPAN   style="mso-spacerun: yes">&nbsp;</SPAN><SPAN class=SpellE><SPAN 
  class=GramE>pppd</SPAN></SPAN> ttyS1 115200 <SPAN class=SpellE>noauth</SPAN> 
  <SPAN class=SpellE>defaultroute</SPAN> <SPAN class=SpellE>noipdefault</SPAN> 
  local connect "/bin/chat -f /<SPAN 
  class=SpellE>var/tmp/chat_script</SPAN>"<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><SPAN class=GramE><FONT face="Times New Roman" size=3><SPAN 
  lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: EN-US">the</SPAN></FONT></SPAN><SPAN 
  lang=EN-US style="mso-ansi-language: EN-US"> <SPAN 
  class=SpellE>chat_script</SPAN> file has the following 
  commands<o:p></o:p></SPAN></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: EN-US">"" ATZ OK 
  AT+CGDCONT=1,"IP","claro.com.br" OK ATD*99***1# 
  CONNECT<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: EN-US">This command seems has no 
  effect on modem. So I tried to test the &#8216;chat&#8217; to see if it was working \
  properly. I tried to commands:<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">/&gt;exec /bin/chat -v '' AT   OK ATDT*99***1# CONNECT \
''<o:p></o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" \
size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">AT<o:p></o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">This first command just   writes AT on screen and after timeout (about 30 \
sec.) the shell prompt returns   and it has no affect on modem. So I \
tried:<o:p></o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" \
size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">/&gt; exec /bin/chat -v ''   AT^SMSO ''<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">ATMSO<o:p></o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">Sash command shell (version   1.1.1)<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">The answer to this command   is the second and the third line. This command \
should turn the modem off, but   it doesn&#8217;t happen (AT^SMSO works if I send the \
command from &#8216;tip&#8217;), so I   believe the problem is the chat \
program.<o:p></o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">Does anybody <SPAN   class=GramE>has</SPAN> any suggestion? Am I using wrong \
command? Is there   another way to connect <SPAN class=SpellE>ppp</SPAN> without \
using   chat?<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US 
  style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">Thanks<o:p></o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US">Roger<o:p></o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New \
Roman" size=3><SPAN lang=EN-US   style="FONT-SIZE: 12pt; mso-ansi-language: \
EN-US"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic