<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Diagnose OTAP problems</title>
	<atom:link href="http://florent.clairambault.fr/diagnose-otap-problems/feed" rel="self" type="application/rss+xml" />
	<link>http://florent.clairambault.fr/diagnose-otap-problems?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=diagnose-otap-problems</link>
	<description></description>
	<lastBuildDate>Wed, 28 Dec 2011 17:34:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
	<item>
		<title>By: Florent Clairambault</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-7797</link>
		<dc:creator>Florent Clairambault</dc:creator>
		<pubDate>Sun, 25 Dec 2011 16:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-7797</guid>
		<description>Yes, you&#039;re right. If you have access to one chip that shows the OTAP password and the other parameters (like the server name) are left unconfigured, you could update the program of all the chips.

In the real world, I don&#039;t think that should be an issue. Because you still have to guess all the numbers, the correct APN settings and hope that nobody finds out what you did. Because I think it&#039;s clearly considered as hacking a system.

One way of securing your chip could be to define an OTAP SMS password depending on a secret key and the IMEI. In PHP code this would look like this &quot;$otapSmsPass = substr( md5( $key.&#039;-&#039;.$imei), 0, 8)&quot;.

But the real solution, is to create deploy a certificate on the chip and sign all the produced code with it. This is the best way to create a really secure product but it takes a little bit of time.

I think the real risk around OTAP is to get the program that runs the chip. Because reproducing the hardware is quite easy but running a successful software can be quite tricky, if you can steal it, you can save a lot of time. If the program is correctly built, you might just have few days of reverse-engineering and refactoring to do. As the TC65 programs usually do mostly AT Command and API calls, it&#039;s quite easy to do.</description>
		<content:encoded><![CDATA[<p>Yes, you&#8217;re right. If you have access to one chip that shows the OTAP password and the other parameters (like the server name) are left unconfigured, you could update the program of all the chips.</p>
<p>In the real world, I don&#8217;t think that should be an issue. Because you still have to guess all the numbers, the correct APN settings and hope that nobody finds out what you did. Because I think it&#8217;s clearly considered as hacking a system.</p>
<p>One way of securing your chip could be to define an OTAP SMS password depending on a secret key and the IMEI. In PHP code this would look like this &#8220;$otapSmsPass = substr( md5( $key.&#8217;-&#8217;.$imei), 0, 8)&#8221;.</p>
<p>But the real solution, is to create deploy a certificate on the chip and sign all the produced code with it. This is the best way to create a really secure product but it takes a little bit of time.</p>
<p>I think the real risk around OTAP is to get the program that runs the chip. Because reproducing the hardware is quite easy but running a successful software can be quite tricky, if you can steal it, you can save a lot of time. If the program is correctly built, you might just have few days of reverse-engineering and refactoring to do. As the TC65 programs usually do mostly AT Command and API calls, it&#8217;s quite easy to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-7793</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Fri, 23 Dec 2011 07:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-7793</guid>
		<description>Is it possible to read the OTAP password from the TC65 with AT^SJOTAP command? If so, any ideas how to improve security so that people who have the chip in hand cannot get the OTAP password from it?</description>
		<content:encoded><![CDATA[<p>Is it possible to read the OTAP password from the TC65 with AT^SJOTAP command? If so, any ideas how to improve security so that people who have the chip in hand cannot get the OTAP password from it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kiran Kumar D</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-6526</link>
		<dc:creator>Kiran Kumar D</dc:creator>
		<pubDate>Mon, 08 Aug 2011 05:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-6526</guid>
		<description>Yes it should be a:/otap, But am not finding any files in a:/otap folder.</description>
		<content:encoded><![CDATA[<p>Yes it should be a:/otap, But am not finding any files in a:/otap folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florent Clairambault</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-6525</link>
		<dc:creator>Florent Clairambault</dc:creator>
		<pubDate>Sat, 06 Aug 2011 22:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-6525</guid>
		<description>According to your jad file, it should be downloaded in a:/otap.

I&#039;m not interested in offering some personnal support. I answer questions on my blog or in the &lt;a href=&quot;https://groups.google.com/forum/m/#!forum/javacint&quot; rel=&quot;nofollow&quot;&gt;javacint group&lt;/a&gt; (best place to ask questions) or work with clients.

</description>
		<content:encoded><![CDATA[<p>According to your jad file, it should be downloaded in a:/otap.</p>
<p>I&#8217;m not interested in offering some personnal support. I answer questions on my blog or in the <a href="https://groups.google.com/forum/m/#!forum/javacint" rel="nofollow">javacint group</a> (best place to ask questions) or work with clients.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kiran Kumar D</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-6524</link>
		<dc:creator>Kiran Kumar D</dc:creator>
		<pubDate>Sat, 06 Aug 2011 12:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-6524</guid>
		<description>[OTAP] no sms PID check: 0
[OTAP] Try to establish a GPRS connection ...
[OTAP] GPRS connection established.
[OTAP] Try to get http://121.242.113.225/TC65/TestAt.jar ...
[OTAP] Connected.
[OTAP] Transfer finished.
[OTAP] JAM status: 900 Success.
[OTAP] Reboot now.

Still am unable to find the Jar and JAD files on A:/ (i.e) On Module.
 what will be the problem

KIran</description>
		<content:encoded><![CDATA[<p>[OTAP] no sms PID check: 0<br />
[OTAP] Try to establish a GPRS connection &#8230;<br />
[OTAP] GPRS connection established.<br />
[OTAP] Try to get <a href="http://121.242.113.225/TC65/TestAt.jar" rel="nofollow">http://121.242.113.225/TC65/TestAt.jar</a> &#8230;<br />
[OTAP] Connected.<br />
[OTAP] Transfer finished.<br />
[OTAP] JAM status: 900 Success.<br />
[OTAP] Reboot now.</p>
<p>Still am unable to find the Jar and JAD files on A:/ (i.e) On Module.<br />
 what will be the problem</p>
<p>KIran</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kiran Kumar D</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-6523</link>
		<dc:creator>Kiran Kumar D</dc:creator>
		<pubDate>Sat, 06 Aug 2011 08:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-6523</guid>
		<description>HI Florent Clairambault,
Thanks. but how can i change and where can i change this, am using Eclipse IDE

can i know your skype id/gmail/Yahoo id to chat?

Kiran</description>
		<content:encoded><![CDATA[<p>HI Florent Clairambault,<br />
Thanks. but how can i change and where can i change this, am using Eclipse IDE</p>
<p>can i know your skype id/gmail/Yahoo id to chat?</p>
<p>Kiran</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florent Clairambault</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-6522</link>
		<dc:creator>Florent Clairambault</dc:creator>
		<pubDate>Sat, 06 Aug 2011 07:16:30 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-6522</guid>
		<description>In your JAR file, Midlet URL line is:
MIDlet-Jar-URL: TestAt.jar

It should be:
http://121.242.113.225/TC65/TestAt.jar</description>
		<content:encoded><![CDATA[<p>In your JAR file, Midlet URL line is:<br />
MIDlet-Jar-URL: TestAt.jar</p>
<p>It should be:<br />
<a href="http://121.242.113.225/TC65/TestAt.jar" rel="nofollow">http://121.242.113.225/TC65/TestAt.jar</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kiran Kumar D</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-6521</link>
		<dc:creator>Kiran Kumar D</dc:creator>
		<pubDate>Sat, 06 Aug 2011 07:02:32 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-6521</guid>
		<description>t^scfg=Trace/Syslog/OTAP,1                           
SYSLOG ENABLED              

[OTAP] Short message: OTAP_IMPNG                                
PWD:kiran                                         
BEARER:GPRS                                                    
APNORNUM:AIRTELGPRS.COM                                                                           
JADUR                                                                         L:HTTP://121.242.113.225/TC65/TestAt.jar                                        
                                        APPDIR:a:/otap                                                      
                                                      START:INSTALL                                                                   

[OTAP] SM ID found                  
[OTAP] FILEURL = HTTP://121.242.1                                
[OTAP] APPDIR = a:/otap                       
[OTAP] BEARER = GPRS                    
[OTAP] APNORNUM = AIRTELGPRS.COM                                
[OTAP] START = install                      
[OTAP] Parameters set per AT command:                                     
[OTAP] JAD File URL: http://121.242.113.225/TC65/TestAt.jad                                                           
[OTAP] App Dir: a:                  
[OTAP] Bearer: GPRS                   
[OTAP] Apn Or Num: airtelgprs.com                                 
[OTAP] Net User:
[OTAP] Net Pwd:
[OTAP] SM Pwd: kiran
[OTAP] no sms PID check: 0
[OTAP] Parameters for current procedure:
[OTAP] JAD File URL: http://121.242.113.225/TC65/TestAt.jad
[OTAP] App Dir a:
[OTAP] Http User:
[OTAP] Http Pwd:
[OTAP] Bearer: GPRS
[OTAP] Apn Or Num: airtelgprs.com
[OTAP] Net User:
[OTAP] Net Pwd:
[OTAP] Dns: 0.0.0.0
[OTAP] Notify URL:
[OTAP] no sms PID check: 0
[OTAP] Try to establish a GPRS connection ...
[OTAP] GPRS connection established.
[OTAP] Try to get http://121.242.113.225/TC65/TestAt.jad ...
[OTAP] Connected.
[OTAP] Transfer finished.
[OTAP] Try to get TestAt.jar ...
[OTAP] Reboot now.
[OTAP] ERROR: HTTP configuration!

What this mean. where is he problem. ERROR:HTTP Configuration???

Kiran</description>
		<content:encoded><![CDATA[<p>t^scfg=Trace/Syslog/OTAP,1<br />
SYSLOG ENABLED              </p>
<p>[OTAP] Short message: OTAP_IMPNG<br />
PWD:kiran<br />
BEARER:GPRS<br />
APNORNUM:AIRTELGPRS.COM<br />
JADUR                                                                         L:HTTP://121.242.113.225/TC65/TestAt.jar<br />
                                        APPDIR:a:/otap<br />
                                                      START:INSTALL                                                                   </p>
<p>[OTAP] SM ID found<br />
[OTAP] FILEURL = HTTP://121.242.1<br />
[OTAP] APPDIR = a:/otap<br />
[OTAP] BEARER = GPRS<br />
[OTAP] APNORNUM = AIRTELGPRS.COM<br />
[OTAP] START = install<br />
[OTAP] Parameters set per AT command:<br />
[OTAP] JAD File URL: <a href="http://121.242.113.225/TC65/TestAt.jad" rel="nofollow">http://121.242.113.225/TC65/TestAt.jad</a><br />
[OTAP] App Dir: a:<br />
[OTAP] Bearer: GPRS<br />
[OTAP] Apn Or Num: airtelgprs.com<br />
[OTAP] Net User:<br />
[OTAP] Net Pwd:<br />
[OTAP] SM Pwd: kiran<br />
[OTAP] no sms PID check: 0<br />
[OTAP] Parameters for current procedure:<br />
[OTAP] JAD File URL: <a href="http://121.242.113.225/TC65/TestAt.jad" rel="nofollow">http://121.242.113.225/TC65/TestAt.jad</a><br />
[OTAP] App Dir a:<br />
[OTAP] Http User:<br />
[OTAP] Http Pwd:<br />
[OTAP] Bearer: GPRS<br />
[OTAP] Apn Or Num: airtelgprs.com<br />
[OTAP] Net User:<br />
[OTAP] Net Pwd:<br />
[OTAP] Dns: 0.0.0.0<br />
[OTAP] Notify URL:<br />
[OTAP] no sms PID check: 0<br />
[OTAP] Try to establish a GPRS connection &#8230;<br />
[OTAP] GPRS connection established.<br />
[OTAP] Try to get <a href="http://121.242.113.225/TC65/TestAt.jad" rel="nofollow">http://121.242.113.225/TC65/TestAt.jad</a> &#8230;<br />
[OTAP] Connected.<br />
[OTAP] Transfer finished.<br />
[OTAP] Try to get TestAt.jar &#8230;<br />
[OTAP] Reboot now.<br />
[OTAP] ERROR: HTTP configuration!</p>
<p>What this mean. where is he problem. ERROR:HTTP Configuration???</p>
<p>Kiran</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jj</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-4668</link>
		<dc:creator>jj</dc:creator>
		<pubDate>Fri, 04 Feb 2011 07:57:11 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-4668</guid>
		<description>We don&#039;t setup any password in the module

This is the strange!</description>
		<content:encoded><![CDATA[<p>We don&#8217;t setup any password in the module</p>
<p>This is the strange!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florent Clairambault</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems/comment-page-1#comment-4667</link>
		<dc:creator>Florent Clairambault</dc:creator>
		<pubDate>Fri, 04 Feb 2011 07:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659#comment-4667</guid>
		<description>Well, passwords do not match. It could be that you set one on the chip and did not specify it in your SMS.</description>
		<content:encoded><![CDATA[<p>Well, passwords do not match. It could be that you set one on the chip and did not specify it in your SMS.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/22 queries in 0.013 seconds using disk: basic
Object Caching 450/457 objects using disk: basic

Served from: florent.clairambault.fr @ 2012-02-08 12:43:35 -->
