<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>epicblog &#187; Mobile</title> <atom:link href="http://www.rickwargo.com/category/mobile/feed/" rel="self" type="application/rss+xml" /><link>http://www.rickwargo.com</link> <description>Acquiring information, one day at a time.</description> <lastBuildDate>Fri, 14 Oct 2011 01:23:12 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Make a Call through a Bluetooth Connection</title><link>http://www.rickwargo.com/2008/02/19/make-a-call-through-a-bluetooth-connection/</link> <comments>http://www.rickwargo.com/2008/02/19/make-a-call-through-a-bluetooth-connection/#comments</comments> <pubDate>Tue, 19 Feb 2008 14:02:13 +0000</pubDate> <dc:creator>Rick Wargo</dc:creator> <category><![CDATA[iPhone]]></category> <category><![CDATA[Mobile]]></category> <category><![CDATA[OSI]]></category> <guid
isPermaLink="false">http://www.rickwargo.com/2008/02/19/make-a-call-through-a-bluetooth-connection/</guid> <description><![CDATA[Unfortunately, I am tiring of my iPhone; mostly due to the slow network speed. Now that the iTouch has all the cool apps as the iPhone (Goole Maps being the most useful for me) I&#8217;d like to give up the phone capabilities but still want to make phone calls through Google Maps. It would be [...]]]></description> <content:encoded><![CDATA[<p>Unfortunately, I am tiring of my iPhone; mostly due to the slow network speed. Now that the iTouch has all the cool apps as the iPhone (Goole Maps being the most useful for me) I&#8217;d like to give up the phone capabilities but still want to make phone calls through Google Maps. It would be great to have an iTouch application (or any platform in general) that could place a call through a bluetooth-connected cell phone. This would give me most of the same functionality of the iPhone without the headaches of the AT&#038;T network.</p> ]]></content:encoded> <wfw:commentRss>http://www.rickwargo.com/2008/02/19/make-a-call-through-a-bluetooth-connection/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>ActiveSync error 80072f0d &#8211; Invalid security certificate</title><link>http://www.rickwargo.com/2006/09/12/activesync-error-80072f0d-invalid-security-certificate/</link> <comments>http://www.rickwargo.com/2006/09/12/activesync-error-80072f0d-invalid-security-certificate/#comments</comments> <pubDate>Tue, 12 Sep 2006 17:25:24 +0000</pubDate> <dc:creator>Rick Wargo</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[WILT]]></category> <guid
isPermaLink="false">http://www.rickwargo.com/2006/09/12/activesync-error-80072f0d-invalid-security-certificate/</guid> <description><![CDATA[I had to replace my XV6700 and of course, it was a new version of WM5 and I did not want to use my backup from Sprite Backup to restore so I had to install from scratch. Unfortunately, I forgot to save my certificates and had issues syncing with ActiveSync. My configuration is an Exchange [...]]]></description> <content:encoded><![CDATA[<p>I had to replace my XV6700 and of course, it was a new version of WM5 and I did not want to use my backup from Sprite Backup to restore so I had to install from scratch. Unfortunately, I forgot to save my certificates and had issues syncing with ActiveSync.</p><p>My configuration is an Exchange 2003 server behind a Linux firewall and an Apache 2.2 front end to Exchange. I&#8217;m connecting using https on my XV6700 but when trying to sync with the server, I kept encountering &#8220;The security certificate on the server is invalid. Contact your Exchange Server administrator or ISP to install a valid certificate on the server. Support Code: 80072f0d&#8221;.</p><p>I know <em>my </em>certificate was valid because I generated it myself! It turns out <em>that </em>was the problem &#8211; I was not a trusted root authority. Sigh. But that is easily remedied!</p><p>To resolve this problem all I needed to do was install my self-created CA signing certificate on the Pocket PC / XV6700. Since I created it on my Linux server, I had to convert it into a form the WM5 understands, in this case a DER encoded binary X.509 certificate. This could be done by importing it into Internet Explorer and then exporting in that format or in a simpler one-step process from the command line:</p><p><code>openssl x509 -in ca.crt -out ca.cer -outform DER</code></p><p>Now, just copy the ca.cer file to the PPC and open it in File Explorer. It will ask you if I want to install the certificate issued by . Clicking yes will import the certificate (that can be view in the Certificates control panel under the Root tab).</p><p>Once installed, ActiveSync no longer complains about the certificate and merrily performs it job.</p><p>Whew. Easy solution but it certainly took a while to recall!</p> ]]></content:encoded> <wfw:commentRss>http://www.rickwargo.com/2006/09/12/activesync-error-80072f0d-invalid-security-certificate/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>SMS, YouTube and Zero Cost Advertising</title><link>http://www.rickwargo.com/2006/09/01/smsyoutube-and-zero-cost-advertising/</link> <comments>http://www.rickwargo.com/2006/09/01/smsyoutube-and-zero-cost-advertising/#comments</comments> <pubDate>Fri, 01 Sep 2006 15:17:18 +0000</pubDate> <dc:creator>Rick Wargo</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[OSI]]></category> <guid
isPermaLink="false">http://www.rickwargo.com/2006/09/01/smsyoutube-and-zero-cost-advertising/</guid> <description><![CDATA[I&#8217;m not a marketing person, but while watching this video on YouTube about a girl toting her addiction to Starbucks really made me think about an interesting marketing medium. Why not utilize a coupon system over SMS in addition to product placement or promotion to sell products on Internet distributed videos? There are some very [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;m not a marketing person, but while watching <a
target="_blank" title="Starbucks Addict" href="http://www.youtube.com/watch?v=jym46IA75Qs">this video</a> on <a
target="_blank" title="YouTube" href="http://www.youtube.com/index">YouTube</a> about a girl toting her addiction to Starbucks really made me think about an interesting marketing medium.</p><p>Why not utilize a coupon system over SMS in addition to product placement or promotion to sell products on Internet distributed videos? There are some very bright and creative people out there creating free content for video. Why not entice them to advertise a product and make some money at the same time?</p><p>Here&#8217;s how it works, using this Starbucks Addict video as an example. Ann (the video&#8217;s author) publishes some incredibly witty and clever video that somehow draws thousands or hundreds of thousands of people to watch it. Part of the video advertises Starbucks and there is a coupon offer associated with the video for 10% (or whatever) off.</p><p>So far, pretty simple; now to mix in SMS. I saw an article about using your phone as your wallet recently and I put these two ideas together.</p><p>Extending the example: to entice both parties to deliver, a single-use coupon code is created that uniquely identifies the offer. A hash is generated that identifies the author of the video, transaction number and expiration date. Of course, the author needs to get a registration key from Starbucks that authorizes the coupon. If the viewer decides they want the coupon, it can be SMS&#8217;ed to their phone and stored there. When time comes to use it, the viewer enters the Starbucks and text messages the coupon code to the store which automatically registers the coupon code and credits the video author&#8217;s account and also issues the discount for the item. The credit could be a flat fee or a percentange of the item. Everybody wins. The author gets credit for their creative talents, the viewer gets a discount and the product company gets some free advertising. And as a freebie, this method also allows for establishing some excellent metrics by tracking the coupon codes.</p><p>This can all be done with existing technology and it would be quite simple to do.</p> ]]></content:encoded> <wfw:commentRss>http://www.rickwargo.com/2006/09/01/smsyoutube-and-zero-cost-advertising/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>OWA &amp; ActiveSync Woes</title><link>http://www.rickwargo.com/2006/08/04/owa-activesync-woes/</link> <comments>http://www.rickwargo.com/2006/08/04/owa-activesync-woes/#comments</comments> <pubDate>Fri, 04 Aug 2006 14:08:35 +0000</pubDate> <dc:creator>Rick Wargo</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[WILT]]></category> <guid
isPermaLink="false">http://www.rickwargo.com/2006/08/04/owa-activesync-woes/</guid> <description><![CDATA[Since switching to Fedora Core 5, and more precisely, Apache 2.2, I&#8217;ve been getting intermittent issues when trying to sync my WM5 device and also using OWA. For me, the solution was not to reinstall Outlook or to upgrade to ActiveSync 4.2; the problem is with the proxy server that front-ends the Exchange/IIS server. I&#8217;ve [...]]]></description> <content:encoded><![CDATA[<p>Since switching to Fedora Core 5, and more precisely, Apache 2.2, I&#8217;ve been getting intermittent issues when trying to sync my WM5 device and also using OWA. For me, the solution was not to reinstall Outlook or to upgrade to ActiveSync 4.2; the problem is with the proxy server that front-ends the Exchange/IIS server. I&#8217;ve blogged about this issue <a
target="_blank" title="Exchange, ActiveSync and my new Verizon XV6700" href="http://www.rickwargo.com/2006/03/20/exchange-activesync-and-my-new-verizon-xv6700/">before</a> and even though the ActiveSync error codes are the same, the causes are different.</p><p>My environment is still the same as the previous posting with the exception of an Apache 2.2 front-end instead of the VPN tunnel. Here&#8217;s a link to <a
title="HOWTO: OWA 2K/2K3 Front-end SSL Proxy with Apache 2.0" target="_blank" href="http://3cx.org/item/46">setting up the Apache server</a>. (NOTE: I&#8217;m not experiencing the same problems with a percent in the subject so I have not applied the workaround.)</p><p>The problem surfaced as errors during ActiveSync-ing. I would see an error code of 85010014. I discovered the real problems were with Apache returning 502 errors. The error logs were filled with lines of the following form:<br
/> <code><br
/> [Wed Aug 02 14:58:38 2006] [error] [client 192.168.86.111] proxy: error reading status line from remote server<br
/> [Wed Aug 02 14:58:38 2006] [error] [client 192.168.86.111] proxy: Error reading from remote server returned by /Microsoft-Server-ActiveSync<br
/> </code></p><p><code
/></p><p>I believe the error has to do with timeouts from HTTP KeepAlives and mod_proxy reading from a closed pipe/handle. I have adjusted the timeouts on both ends and still received the same errors. I even disabled HTTP KeepAlives on the IIS error: that resulted in a whole new problem: error code 85010016. As soon as I re-enabled the HTTP KeepAlives on the IIS error, the 85010016 error went away (no need to restart the IIS server). I've also tried the <a
target="_blank" title="[Bug 37770] - proxy: error reading status line" href="http://www.gossamer-threads.com/lists/apache/bugs/314332"><em>SetEnv proxy-nokeepalive 1</em> workaround</a> and that did not solve my problem.</p><p>I realized I had a configuration problem when checking netstat results and looking at the packets from Ethereal (now <a
target="_blank" title="Wireshark" href="http://www.wireshark.org/">Wireshark</a>). Turns out I had an SSL connection to the apache server but a plain old HTTP (port 80) connection to the IIS server! By adjusting my ProxyPass parameters in httpd.conf to point to https, my 85010014 error has gone away and I no longer see the error messages in my httpd logs.</p><p>For reference, my entry in httpd.conf:<br
/> <code><VirtualHost
*:443><br
/> ServerName owa.backend.server<br
/> ServerAdmin hostmaster@backend.server</p><p>ErrorLog logs/owa_error_log<br
/> CustomLog logs/owa_access_log combined<br
/> LogLevel warn</p><p>SSLEngine on<br
/> SSLProxyEngine on<br
/> SSLProtocol +all<br
/> SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP<br
/> SSLProxyProtocol SSLv3</p><p>SSLCertificateFile /etc/httpd/conf/server.crt<br
/> SSLCertificateKeyFile /etc/httpd/conf/server.key</p><p>RequestHeader set Front-End-Https "On"<br
/> #ProxyPreserveHost On</p><p>ProxyPass / https://owa.backend.server/<br
/> ProxyPassReverse / https://owa.backend.server/<br
/> ProxyPass /rpc https://owa.backend.server/rpc/<br
/> ProxyPassReverse /rpc https://owa.backend.server/rpc/<br
/> ProxyPass /exchange https://owa.backend.server/exchange/<br
/> ProxyPassReverse /exchange https://owa.backend.server/exchange/<br
/> ProxyPass /exchweb https://owa.backend.server/exchweb/<br
/> ProxyPassReverse /exchweb https://owa.backend.server/exchweb/<br
/> ProxyPass /public https://owa.backend.server/public/<br
/> ProxyPassReverse /public https://owa.backend.server/public/<br
/> ProxyPass /iisadmpwd https://owa.backend.server/iisadmpwd/<br
/> ProxyPassReverse /iisadmpwd https://owa.backend.server/iisadmpwd/<br
/> ProxyPass /exchange-oma https://owa.backend.server/exchange-oma/<br
/> ProxyPassReverse /exchange-oma https://owa.backend.server/exchange-oma/<br
/> ProxyPass /Microsoft-Server-ActiveSync https://owa.backend.server/Microsoft-Server-ActiveSync/<br
/> ProxyPassReverse /Microsoft-Server-ActiveSync https://owa.backend.server/Microsoft-Server-ActiveSync/</p><p>CacheDisable *</p><p><Directory
/var/www/><br
/> Order allow,deny<br
/> allow from all<br
/> RedirectMatch ^/$ /exchange<br
/> </Directory><br
/> </VirtualHost><br
/> </code></p> ]]></content:encoded> <wfw:commentRss>http://www.rickwargo.com/2006/08/04/owa-activesync-woes/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Exchange, ActiveSync and my new Verizon XV6700</title><link>http://www.rickwargo.com/2006/03/20/exchange-activesync-and-my-new-verizon-xv6700/</link> <comments>http://www.rickwargo.com/2006/03/20/exchange-activesync-and-my-new-verizon-xv6700/#comments</comments> <pubDate>Tue, 21 Mar 2006 01:26:06 +0000</pubDate> <dc:creator>Rick Wargo</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[WILT]]></category> <guid
isPermaLink="false">http://www.rickwargo.com/2006/03/20/exchange-activesync-and-my-new-verizon-xv6700/</guid> <description><![CDATA[Ugh. After two solid days of trying to sync my phone with Exchange, I finally was successful. Most of the time, I continued to get the dreaded 0&#215;85010014 error message from ActiveSync &#8211; meaning a server error had occured. I have found a lot of sites that gave a lot of information about resolving this [...]]]></description> <content:encoded><![CDATA[<p>Ugh. After two solid days of trying to sync my phone with Exchange, I finally was successful. Most of the time, I continued to get the dreaded 0&#215;85010014 error message from ActiveSync &#8211; meaning a server error had occured. I have found a lot of sites that gave a lot of information about resolving this issue, but most of them were threads trying to solve the problem. Here is what I learned about getting this to work.</p><p>Players:</p><ul><li>Small Business Server 2003 SP1</li><li>Exchange Server 2003 SP2 (single instance, no front-end/back-end combination)</li><li>ActiveSync 4.1</li><li>Verizon XV6700, Windows Mobile 5.0</li></ul><p>Error messages:</p><ul><li>On ActiveSync &#038; XV6700: 0&#215;85010014</li></ul><p>Quicks of my configuration:</p><ul><li>Multiple e-mail addresses: rick@domain1.com, rick@domain2.com, rickw@domain3.com &#8230;</li><li>My Default e-mail address policy does not match my domain name, but does match my default e-mail address.</li><li>Exchange server is hidden behind Linux firewall and front-ended with sendmail.</li><li>Using a VPN connection to communicate directly to the exchange server from remote.</li><li>I&#8217;m not using ISA or other firewall software on the Exchange box.</li><li>The exchange box is the same box as the domain controller.</li><li>This is a single instance Exchange server; there is no front-end/back-end.</li></ul><p>Things I&#8217;ve read but don&#8217;t need to do or worry about:</p><ul><li>Since this is a server-side problem, I don&#8217;t think it&#8217;s necessary to uninstall/reinstall Outlook and/or ActiveSync.</li><li>I didn&#8217;t need to add the MasSync\Parameters SMTPProxy string key to the registry since my default email address policy matches my default email address (<a
title="You receive an HTTP_500 error message when you synchronize your mobile device with Microsoft Exchange Server 2003" target="_blank" href="http://support.microsoft.com/kb/886346">Refer to Microsoft Knowledge Base Article 886346</a>).</li><li>Hard-reset of the handheld wasn&#8217;t necessary and can&#8217;t imagine it would be, unless of course&#8230;</li></ul><p>Helpful (and probably necessary):</p><ul><li>Delete the mobile device from both ActiveSync on the PC and ActiveSync on WM5 and then re-add it on the PC.</li><li>Configure IIS to support both Kerberos and NTLM authentication. Refer to <a
title="How to configure IIS to support both Kerberos and NTLM authentication" target="_blank" href="http://support.microsoft.com/kb/215383/">Microsoft Knowledge Base Article 215383</a> for details.</li><li>Installed the root certificate on the handheld, although not necessary if not using SSL. Refer to <a
title="The Quintessential Guide to Exchange and Windows Mobile Connectivity" target="_blank" href="http://www.howardforums.com/archive/topic/662710-1.html">this thread on HowardForums</a> (search for &#8220;not trusting your home-brew cert&#8221;) for details.</li><li>Don&#8217;t worry about certificates is not using SSL.</li><li>Make sure both /Exchange and /Exchange-OMA have the following authentication methods are enabled: Integrated Windows authentication, Basic authentication.</li><li></li><li>Create the /Exchange-OMA Virtual Directory. If it already exists, delete it and recreate it according to the instructions provided by Method 2 in the <a
title="Exchange ActiveSync and Outlook Mobile Access errors occur when SSL or forms-based authentication is required for Exchange Server 2003 - Method 2" target="_blank" href="http://support.microsoft.com/kb/817379/en-us#XSLTH3124121124120121120120">Microsoft Knowledge Base Article 817379</a>. This is the step that ultimately made this work for me.</li></ul><p>Issues:</p><ul><li>Getting it to sync over VPN is a bit tricky. To make sure that the VPN is connected on WM5, but the server name in ActiveSync matches the certificate (if using SSL), an exception needs to be added on the Connections control applet (Settings&#8211;>Connections&#8211;>Connections&#8211;>Advanced) to tell WM5 to initiate the VPN connection for hosts ending with your domain, for example: *.yourdomain.com. This allows it to sync using SSL, both OTA (over the air) and through the USB connection.</li></ul><p>Extremely useful:</p><ul><li>This Microsoft download: <a
title="Troubleshooting Microsoft Exchange 2003 ActiveSync" target="_blank" onmousedown="return rwt(this,'res','4','&#038;sig2=6MDpHTQ1jMSzWZsu_23djA')" href="http://download.microsoft.com/download/1/a/5/1a572c42-10b5-469d-9acb-cedd2e634985/Appendices-Deploying_Microsoft_Mobile_Messaging.doc">Troubleshooting Microsoft Exchange 2003 ActiveSync</a>. This MS Word document contains a lot of helpful steps to troubleshoot the ActiveSync installation.</li></ul><p>Notes:</p><ul><li>I often saw an error in my Application Event viewer (on the exchange server) for Source: Server ActiveSync, Event ID: 3031 about the mailbox server does not allow &#8220;Negotiate&#8221; authentication to its [/exchange-oma] virtual directory. This led me to configure IIS to support both Kerberos and NTLM authentication (as described above), although after doing so, I continued to see the error message. It finally went away when I recreated the /Exchange-OMA directory.</li></ul><p>Next, I&#8217;ll configure it to work with an apache front end to eliminate the need for a VPN tunnel.</p> ]]></content:encoded> <wfw:commentRss>http://www.rickwargo.com/2006/03/20/exchange-activesync-and-my-new-verizon-xv6700/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Linux on XV6600 &#8211; Connecting over usbnet &#8211; tricky</title><link>http://www.rickwargo.com/2006/03/04/linux-on-xv6600-connecting-over-usbnet-tricky/</link> <comments>http://www.rickwargo.com/2006/03/04/linux-on-xv6600-connecting-over-usbnet-tricky/#comments</comments> <pubDate>Sat, 04 Mar 2006 23:09:29 +0000</pubDate> <dc:creator>Rick Wargo</dc:creator> <category><![CDATA[Mobile]]></category> <guid
isPermaLink="false">http://www.rickwargo.com/2006/03/04/linux-on-xv6600-connecting-over-usbnet-tricky/</guid> <description><![CDATA[After booting, everything seems to be working well&#8230;well almost. On my Verizon XV6600, the image is offset to the right (and maybe top) about 8 pixels, leaving a thick white line own the left hand side. I have yet to overcome that (help anyone?) The other difficulty is in connecting via ssh using usbnet. The [...]]]></description> <content:encoded><![CDATA[<p><span
class="postbody">After booting, everything seems to be working well&#8230;well almost.</span></p><p>On my Verizon XV6600, the image is offset to the right (and maybe top) about 8 pixels, leaving a thick white line own the left hand side. I have yet to overcome that (help anyone?)</p><p>The other difficulty is in connecting via ssh using usbnet. The biggest tricks are to set a route to the device and, if using a firewall, make certain the appropriate rules are there to that the firewall does not get in the way. The other trick is getting the PDA to see the usb0 network.</p><p>Before connecting the device, do a <span
style="font-weight: bold">tail -f /var/log/messages</span> on the linux box to see if the PDA connects. When plugging in the USB cable to the linux box from the PDA, you should see something similar to the following in the messages log:</p><p>usb 2-2.1: new full speed USB device using uhci_hcd and address 40</p><p>(I actually see a few of these with error messages in between (device descriptor read/64, error -71).</p><p>If you don&#8217;t see anything when connecting, try one of the following:</p><ul>- Restart the boot procedure with the USB cable plugged in.<br
/> - Unload the drivers, plug in the cable and then reload the drivers.</ul><p>The following will unload the drivers; you must be in a root shell on the PDA.</p><table
width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><span
class="genmed" /></td></tr><tr><td
class="quote"><span
style="color: green">root@blueangel:-~# <span
style="font-weight: bold">rmmod g_ether</span><br
/> root@blueangel:-~# <span
style="font-weight: bold">rmmod pxa2xx_udc</span><span
style="font-style: italic">then plug in the usb cable</span></p><p>root@blueangel:-~# <span
style="font-weight: bold">modprobe g_ether</span></p><p></span></td></tr></table><p><span
class="postbody"><br
/> When I do the rmmod/modprobe, I see the following in my messages log:<br
/> </span></p><table
width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><span
class="genmed" /></td></tr><tr><td
class="code">Feb 23 20:38:07 chocolate kernel: usb0: unregister &#8216;cdc_subset&#8217; usb-0000:00:1f.4-2.1, Linux Device<br
/> Feb 23 20:38:55 chocolate kernel: usb 2-2.1: new full speed USB device using uhci_hcd and address 56<br
/> Feb 23 20:38:55 chocolate kernel: usb0: register &#8216;cdc_subset&#8217; at usb-0000:00:1f.4-2.1, Linux Device, a6:7e:1b:da:a3:ae</td></tr></table><p><span
class="postbody"><br
/> Also, <span
style="font-weight: bold">lsusb</span> on my linux box yields:<br
/> </span></p><table
width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><span
class="genmed" /></td></tr><tr><td
class="code">Bus 002 Device 056: ID 049f:505a Compaq Computer Corp. SA-11&#215;0 based Linux Device, or Itsy (experimental)</td></tr></table><p><span
class="postbody"><br
/> If the usb0 device disappears from the PDA, restart the network with the following command:<br
/> </span></p><table
width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><span
class="genmed"><strong><br
/> </strong></span></td></tr><tr><td
class="code">root@blueangel:-~# /etc/init.d/networking restart</td></tr></table><p><span
class="postbody"><br
/> Now that the usbnet connection is there, I need to set up the network.<br
/> Again, the transcript I used to connect with ssh:<br
/> </span></p><table
width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><span
class="genmed"><strong><br
/> </strong></span></td></tr><tr><td
class="quote"><span
style="color: green"> [root@chocolate ~]# <span
style="font-weight: bold">ifconfig usb0 192.168.0.205  broadcast 192.168.0.205 netmask 255.255.255.255</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">ifconfig usb0</span><br
/> usb0      Link encap:Ethernet  HWaddr A6:7E:1B:DA:A3:AE<br
/> inet addr:192.168.0.205  Bcast:192.168.0.205  Mask:255.255.255.255<br
/> UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br
/> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br
/> TX packets:1 errors:0 dropped:0 overruns:0 carrier:0<br
/> collisions:0 txqueuelen:1000<br
/> RX bytes:0 (0.0 b)  TX bytes:42 (42.0 b)<br
/> [root@chocolate ~]# <span
style="font-weight: bold">route add 192.168.0.206 gw 192.168.0.205</span><br
/> [root@chocolate ~]# netstat -r<br
/> Kernel IP routing table<br
/> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface<br
/> 192.168.0.206   192.168.0.205   255.255.255.255 UGH       0 0          0 usb0<br
/> 192.168.1.0     *               255.255.255.0   U         0 0          0 eth0<br
/> [root@chocolate ~]# ssh -X 192.168.0.206<br
/> The authenticity of host &#8217;192.168.0.206 (192.168.0.206)&#8217; can&#8217;t be established.<br
/> RSA key fingerprint is ??:??:??:??:??:??:??:??:??:??:??:??:??:??:??:??.<br
/> Are you sure you want to continue connecting (yes/no)? yes<br
/> Warning: Permanently added &#8217;192.168.0.206&#8242; (RSA) to the list of known hosts.<br
/> <a
href="mailto:root@192.168.0.206">root@192.168.0.206</a>&#8216;s password: <span
style="font-weight: bold">rootme</span> <span
style="font-style: italic">this is not displayed</span><br
/> xauth:  creating new authority file /home/root/.Xauthority<br
/> root@blueangel:~#<br
/> </span></td></tr></table><p><span
class="postbody"> Unfortunately, this doesn&#8217;t always work the first time through. You may have to disconnect the USB cable and reconnect. Afterwards, you&#8217;ll need to do the &#8216;netstat -r&#8217; command again. Then you may actually be able to do the ssh!</span></p><p>Finally, if you have a firewall installed, before you can ssh (or anything else), you&#8217;ll have to insert some rules. The ones I used are:</p><table
width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><span
class="genmed" /></td></tr><tr><td
class="code">[root@chocolate ~]# iptables -I INPUT 1 -s 192.168.0.206/32 -d 192.168.0.205/16 -j ACCEPT<br
/> [root@chocolate ~]# iptables -I OUTPUT 1 -s 192.168.0.205/16 -d 192.168.0.206/32 -j ACCEPT<br
/> # the following two allow the <span
onmouseover="encyclopedia(event,'71853')" onmouseout="cancel_encyclopedia()" class="tt_inline">Blueangel</span> to connect to the outside world (assuming the box is set up as a NAT router)<br
/> [root@chocolate ~]# iptables -I FORWARD 1 -d 192.168.0.206/32 -s 0/0 -j ACCEPT<br
/> [root@chocolate ~]# iptables -I FORWARD 1 -s 192.168.0.206/32 -d 0/0 -j ACCEPT</td></tr></table><p><span
class="postbody"><br
/> Not only does all this assume the IP address 192.168.0.205 on the Linux box and 192.168.0.206 on the PDA, it <span
style="font-style: italic">requires</span> it. The distribution on the PDA downloaded from the link earlier (contained in gpe-ba.tar.bz) sets up the PDA with the 192.168.0.205 address.</span></p><p>Try the following from the ssh connection (assuming you used the -X flag):<br
/> root@blueangel:~# gpe-info</p><p>You&#8217;ll see the following&#8230;</p><p><img
border="0" src="http://images.epicminds.com/blueangel/gpeinfo.jpg" /></p><p>Good luck and enjoy!</p> ]]></content:encoded> <wfw:commentRss>http://www.rickwargo.com/2006/03/04/linux-on-xv6600-connecting-over-usbnet-tricky/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Linux on XV6600 &#8211; Copying filesystem to SD Card</title><link>http://www.rickwargo.com/2006/03/04/linux-on-xv6600-copying-filesystem-to-sd-card/</link> <comments>http://www.rickwargo.com/2006/03/04/linux-on-xv6600-copying-filesystem-to-sd-card/#comments</comments> <pubDate>Sat, 04 Mar 2006 23:01:42 +0000</pubDate> <dc:creator>Rick Wargo</dc:creator> <category><![CDATA[Mobile]]></category> <guid
isPermaLink="false">http://www.rickwargo.com/2006/03/04/linux-on-xv6600-copying-filesystem-to-sd-card/</guid> <description><![CDATA[Here&#8217;s more on installing, to make it a bit easier: First, download the files: haret.exe zImage-2.6.12 initrd-2.6.12-hh2.gz startup.txt autorun.exe gpe-ba.tar.bz Next, install according to the commands below. The autorun goes in the 2577 directory, most of the others go in the linux directory and the big gzipped gpe-ba gets untarred on the second partition. &#160; [...]]]></description> <content:encoded><![CDATA[<p><span
class="postbody">Here&#8217;s more on installing, to make it a bit easier:</span></p><p>First, download the files:</p><ul><a
target="_blank" class="postlink" href="http://handhelds.org/moin/moin.cgi/BlueAngel?action=AttachFile&#038;do=get&#038;target=haret.exe">haret.exe</a><br
/> <a
target="_blank" class="postlink" href="http://gnulinux.biz/files/blueangel/sd/linux/zImage-2.6.12">zImage-2.6.12</a><br
/> <a
target="_blank" class="postlink" href="http://gnulinux.biz/files/blueangel/sd/linux/initrd-2.6.12-hh2.gz">initrd-2.6.12-hh2.gz</a><br
/> <a
target="_blank" class="postlink" href="http://gnulinux.biz/files/blueangel/sd/linux/startup.txt">startup.txt</a><br
/> <a
target="_blank" class="postlink" href="http://handhelds.org/moin/moin.cgi/BlueAngel?action=AttachFile&#038;do=get&#038;target=autorun.exe">autorun.exe</a><br
/> <a
target="_blank" class="postlink" href="http://gnulinux.biz/files/blueangel/sd/linux/gpe-ba.tar.bz">gpe-ba.tar.bz</a></ul><p>Next, install according to the commands below. The autorun goes in the 2577 directory, most of the others go in the linux directory and the big gzipped gpe-ba gets untarred on the second partition.</p><table
width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td>&nbsp;</td></tr><tr><td
class="quote"><span
style="color: green">[root@chocolate ~]# <span
style="font-weight: bold">mount /dev/sdc1 /mnt</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">mkdir /mnt/2577</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">mkdir /mnt/linux</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">cp autorun.exe /mnt/2577</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">cp haret.exe initrd-2.6.12-hh2.gz startup.txt zImage-2.6.12 /mnt/linux</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">sync</span> <span
style="font-style: italic"># this may take a while &#8211; be patient</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">umount /mnt</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">mount /dev/sdc2 /mnt</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">cd /mnt</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">tar xf ~/gpe-ba.tar.bz</span> <span
style="font-style: italic"># this takes a while as it populates the filesystem, you may use xvf instead of xf to see the files as they are untarred</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">ls</span><br
/> bin  boot  dev  etc  home  lib  lost+found  media  mnt  oldroot  proc  sbin  sys  tmp  usr  var<br
/> [root@chocolate mnt]# <span
style="font-weight: bold">cd</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">sync</span> <span
style="font-style: italic"># this may take a while &#8211; be patient</span><br
/> [root@chocolate ~]# <span
style="font-weight: bold">umount /mnt</span><br
/> </span></td></tr></table><p><span
class="postbody" /></p><p>That should be it. Plug it in to your <span
onmouseover="encyclopedia(event,'71853')" onmouseout="cancel_encyclopedia()" class="tt_inline">Blueangel</span> device and it should automatically load and boot into Linux. But <span
style="font-weight: bold">make certain that you have backed up the contents of your PDA first!</span> Running Linux on it completely wipes out the PDA. You&#8217;ll need to install from scratch after resetting.</p><p>And, I don&#8217;t believe this distribution allows the phone to be charged while using it, so be warned! You <span
style="font-weight: bold">will</span> have to reinstall. I&#8217;d recommend a full charge before doing this.</p> ]]></content:encoded> <wfw:commentRss>http://www.rickwargo.com/2006/03/04/linux-on-xv6600-copying-filesystem-to-sd-card/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux on XV6600 &#8211; Formatting SD Card</title><link>http://www.rickwargo.com/2006/03/04/linux-on-xv6600-formatting-sd-card/</link> <comments>http://www.rickwargo.com/2006/03/04/linux-on-xv6600-formatting-sd-card/#comments</comments> <pubDate>Sat, 04 Mar 2006 22:56:56 +0000</pubDate> <dc:creator>Rick Wargo</dc:creator> <category><![CDATA[Mobile]]></category> <guid
isPermaLink="false">http://www.rickwargo.com/2006/03/04/linux-on-xv6600-formatting-sd-card/</guid> <description><![CDATA[Earlier, I gave a quick overview of putting Linux on my XV6600. This and the following posts will describe in more detail how to put Linux on an XV6600 (U Verizon version). Assuming that your linux box can see the card, the tool to format the card is fdisk. For me, my linux box saw [...]]]></description> <content:encoded><![CDATA[<p>Earlier, I gave a quick overview of putting Linux on my XV6600. This and the following posts will describe in more detail how to put Linux on an XV6600 (U Verizon version).</p><p><span
class="postbody"> Assuming that your linux box can see the card, the tool to format the card is fdisk.<br
/> For me, my linux box saw the card as /dev/sdc. You&#8217;ll need to figure out which device to use. You can find out by looking at /var/log/messages.</span></p><p>First, you need to delete any existing partitions. Then you&#8217;ll need to create two new partitions, the first one being 30MB and FAT16, the second the remainder of the card and a Linux partition (I recommend at least a 64MB SD card). After you create the partitions, and write it out to the card, you create the file systems and the you are good to go.</p><p>Here is a transcript of me doing this to a 128MB SD Card &#8211; the card is plugged into a USB-HUB Combo Card Reader. I&#8217;ve <span
style="font-weight: bold">bolded</span> my input. <span
style="font-style: italic">Comments are italicized</span> and should not be entered. Note the following is done as root &#8211; be very careful!</p><p><span
style="font-style: italic"> to exit tail -f command></span></p><table
width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td
class="quote"><span
style="color: green">[root@chocolate ~]# <span
style="font-weight: bold">tail -f /var/log/messages</span><br
/> Feb 23 18:22:43 chocolate kernel: SCSI device sdc: 246016 512-byte hdwr sectors (126 MB)<br
/> Feb 23 18:22:43 chocolate kernel: sdc: Write Protect is off<br
/> Feb 23 18:22:43 chocolate kernel: sdc: assuming drive cache: write through<br
/> Feb 23 18:22:43 chocolate kernel: SCSI device sdc: 246016 512-byte hdwr sectors (126 MB)<br
/> Feb 23 18:22:43 chocolate kernel: sdc: Write Protect is off<br
/> Feb 23 18:22:43 chocolate kernel: sdc: assuming drive cache: write through<br
/> Feb 23 18:22:43 chocolate kernel:  sdc: sdc1<br
/> Feb 23 18:22:44 chocolate fstab-sync[18371]: added mount point /media/CANON_DV for /dev/sdc1<br
/> <span
style="font-weight: bold">^C</span>[root@chocolate ~]# <span
style="font-weight: bold">fdisk /dev/sdc</span></p><p>Command (m for help): <span
style="font-weight: bold">p</span> <span
style="font-style: italic">(print partition table for sanity check)</span></p><p>Disk /dev/sdc: 125 MB, 125960192 bytes<br
/> 8 heads, 32 sectors/track, 961 cylinders<br
/> Units = cylinders of 256 * 512 = 131072 bytes</p><p>Device Boot      Start         End      Blocks   Id  System<br
/> /dev/sdc1               1         961      122959+   6  FAT16</p><p>Command (m for help): <span
style="font-weight: bold">d</span> <span
style="font-style: italic">(make sure to delete all partitions)</span><br
/> Selected partition 1</p><p>Command (m for help): <span
style="font-weight: bold">n</span> <span
style="font-style: italic">(create first primary partition)</span><br
/> Command action<br
/> e   extended<br
/> p   primary partition (1-4)<br
/> <span
style="font-weight: bold">p</span><br
/> Partition number (1-4): <span
style="font-weight: bold">1</span><br
/> First cylinder (1-961, default 1): <span
style="font-weight: bold"></span> <span
style="font-style: italic">(use default value)</span><br
/> Using default value 1<br
/> Last cylinder or +size or +sizeM or +sizeK (1-961, default 961): <span
style="font-weight: bold">+30M</span> [/i](first partition is 30 MB)[/i]</p><p>Command (m for help): <span
style="font-weight: bold">p</span> <span
style="font-style: italic">(sanity check)</span></p><p>Disk /dev/sdc: 125 MB, 125960192 bytes<br
/> 8 heads, 32 sectors/track, 961 cylinders<br
/> Units = cylinders of 256 * 512 = 131072 bytes</p><p>Device Boot      Start         End      Blocks   Id  System<br
/> /dev/sdc1               1         230       29424   83  Linux <span
style="font-style: italic">(need to change to FAT16)</span></p><p>Command (m for help): <span
style="font-weight: bold">t</span> <span
style="font-style: italic">(change partition type)</span><br
/> Selected partition 1<br
/> Hex code (type L to list codes): <span
style="font-weight: bold">6</span> <span
style="font-style: italic">(6 is FAT16)</span><br
/> Changed system type of partition 1 to 6 (FAT16)</p><p>Command (m for help): <span
style="font-weight: bold">p</span></p><p>Disk /dev/sdc: 125 MB, 125960192 bytes<br
/> 8 heads, 32 sectors/track, 961 cylinders<br
/> Units = cylinders of 256 * 512 = 131072 bytes</p><p>Device Boot      Start         End      Blocks   Id  System<br
/> /dev/sdc1               1         230       29424    6  FAT16</p><p>Command (m for help): <span
style="font-weight: bold">n</span> <span
style="font-style: italic">(second partition is linux, remainder of card)</span><br
/> Command action<br
/> e   extended<br
/> p   primary partition (1-4)<br
/> <span
style="font-weight: bold">p</span><br
/> Partition number (1-4): <span
style="font-weight: bold">2</span><br
/> First cylinder (231-961, default 231): <span
style="font-weight: bold"></span> <span
style="font-style: italic">(use default value)</span><br
/> Using default value 231<br
/> Last cylinder or +size or +sizeM or +sizeK (231-961, default 961): <span
style="font-weight: bold"></span> <span
style="font-style: italic">(use default value)</span><br
/> Using default value 961</p><p>Command (m for help): <span
style="font-weight: bold">p</span> <span
style="font-style: italic">(check out our work)</span></p><p>Disk /dev/sdc: 125 MB, 125960192 bytes<br
/> 8 heads, 32 sectors/track, 961 cylinders<br
/> Units = cylinders of 256 * 512 = 131072 bytes</p><p>Device Boot      Start         End      Blocks   Id  System<br
/> /dev/sdc1               1         230       29424    6  FAT16<br
/> /dev/sdc2             231         961       93568   83  Linux</p><p>Command (m for help): <span
style="font-weight: bold">w</span> <span
style="font-style: italic">(write it out, use q if uncertain. w will destroy whatever is on the card)</span><br
/> The partition table has been altered!</p><p>Calling ioctl() to re-read partition table.</p><p>WARNING: If you have created or modified any DOS 6.x<br
/> partitions, please see the fdisk manual page for additional<br
/> information.<br
/> Syncing disks.<br
/> [root@chocolate ~]# <span
style="font-weight: bold">mkfs.vfat /dev/sdc1</span> <span
style="font-style: italic">## Format the first partition &#8211; you can then plug this into a Windows box and see a 30MB drive.</span><br
/> mkfs.vfat 2.10 (22 Sep 2003)<br
/> [root@chocolate ~]# <span
style="font-weight: bold">mkfs.ext3 /dev/sdc2</span> <span
style="font-style: italic">## Be patient, this may take a while</span><br
/> mke2fs 1.38 (30-Jun-2005)<br
/> Filesystem label=<br
/> OS type: Linux<br
/> Block size=1024 (log=0)<br
/> Fragment size=1024 (log=0)<br
/> 23424 inodes, 93568 blocks<br
/> 4678 blocks (5.00%) reserved for the super user<br
/> First data block=1<br
/> Maximum filesystem blocks=67371008<br
/> 12 block groups<br
/> 8192 blocks per group, 8192 fragments per group<br
/> 1952 inodes per group<br
/> Superblock backups stored on blocks:<br
/> 8193, 24577, 40961, 57345, 73729</p><p>Writing inode tables: done<br
/> Creating journal (4096 blocks): done<br
/> Writing superblocks and filesystem accounting information: done</p><p>This filesystem will be automatically checked every 24 mounts or<br
/> 180 days, whichever comes first.  Use tune2fs -c or -i to override.<br
/> [root@chocolate ~]#<br
/> </span></td></tr></table><p><span
class="postbody" /></p><p>That should be it.<br
/> Good luck.</p> ]]></content:encoded> <wfw:commentRss>http://www.rickwargo.com/2006/03/04/linux-on-xv6600-formatting-sd-card/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Hacking my XV6600</title><link>http://www.rickwargo.com/2006/03/04/hacking-my-xv6600/</link> <comments>http://www.rickwargo.com/2006/03/04/hacking-my-xv6600/#comments</comments> <pubDate>Sat, 04 Mar 2006 22:49:01 +0000</pubDate> <dc:creator>Rick Wargo</dc:creator> <category><![CDATA[Mobile]]></category> <guid
isPermaLink="false">http://www.rickwargo.com/2006/03/04/hacking-my-xv6600/</guid> <description><![CDATA[I came across a link detailing how to install a working Linux kernel on my XV6600. It was so cool I had to try it &#8211; and I did. I was able to get a functional UI up and running (GPE), although a bit of the screen was cut-off. The directions were not quite clear [...]]]></description> <content:encoded><![CDATA[<p>I came across a link detailing how to <a
title="BlueAngel - Handhelds.org MoinMoin Wiki" href="http://www.handhelds.org/moin/moin.cgi/BlueAngel">install a working Linux kernel on my XV6600</a>. It was so cool I had to try it &#8211; and I did. I was able to get a functional UI up and running (GPE), although a bit of the screen was cut-off.<br
/> The directions were not quite clear and I had to do some digging to find out more. Here is a the version of the steps with some working instructions.</p><p><strong>STEP 0.</strong> Backup all of your data (including sd card). I use Sprite Backup software.</p><p><strong>STEP 1.</strong> Download the Kernel, etc.</p><p><a
class="external" href="http://gnulinux.biz/files/blueangel/sd/linux/zImage-2.6.12"><img
width="11" height="11" alt="[WWW]" src="http://www.handhelds.org/moin/handhelds/img/moin-www.png" />zImage</a> <a
class="external" href="http://gnulinux.biz/files/blueangel/sd/linux/initrd-2.6.12-hh2.gz"><img
width="11" height="11" alt="[WWW]" src="http://www.handhelds.org/moin/handhelds/img/moin-www.png" />initrd</a> <a
href="http://www.handhelds.org/moin/moin.cgi/BlueAngel?action=AttachFile&#038;do=get&#038;target=haret.exe">haret.exe</a> <a
class="external" href="http://gnulinux.biz/files/blueangel/sd/linux/gpe-ba.tar.bz"><img
width="11" height="11" alt="[WWW]" src="http://www.handhelds.org/moin/handhelds/img/moin-www.png" />GPE BlueAngel Image</a> <a
class="external" href="http://gnulinux.biz/files/blueangel/sd/linux/startup.txt"><img
width="11" height="11" alt="[WWW]" src="http://www.handhelds.org/moin/handhelds/img/moin-www.png" />startup.txt</a> <a
class="external" href="http://handhelds.org/moin/moin.cgi/BlueAngel?action=AttachFile&#038;do=get&#038;target=autorun.exe"><img
width="11" height="11" alt="[WWW]" src="http://www.handhelds.org/moin/handhelds/img/moin-www.png" />autorun</a></p><p><strong>STEP 2.</strong> Format SD-Card</p><p>Become root and create 2 partitions on the SD-Card</p><p>The first partition is for the kernel, startup scripts and bootloader. The second is for the GPE image.</p><ul><li><strong>fdisk /dev/sda</strong> should do this (it may be under /dev/mmc on your machine, this is mearly an example).</li></ul><p>One of 30MB (for kernel and bootloader) and another (or rest of SD) for the GPE image.</p><p>Format the Partitions</p><ul><li><strong>mkfs.vfat /dev/sda1</strong></li><li
class="gap"><strong>mkfs.ext3 /dev/sda2</strong> (These two commands may differ for your system, they are only meant as an example)</li></ul><p>Now mount those partitions.</p><ul><li><strong>mount -t vfat /dev/sda1 /mnt/sd0</strong></li><li
class="gap"><strong>mount -t ext3 /dev/sda2 /mnt/sd1</strong></li></ul><p><strong>STEP 3.</strong> Copy kernel, etc onto first partition</p><p>Create a new directory in /mnt/sd0 called &#8216;linux&#8217;. Copy zImage, initrd, startup and haret into the &#8216;linux directory&#8217;</p><p>Create another directory in /mnt/sd0 called &#8217;2577&#8242;.</p><p>Copy autorun.exe into &#8217;2577&#8242;</p><p><strong>STEP 4.</strong> Extract GPE into the EXT3 Partition</p><p>Change to /mnt/sd1 &#8216;cd /mnt/sd1&#8242;</p><ul><li>Execute <strong>tar xjvpf<br
/> /gpe-ba.tar.bz2</strong></li><li>DO NOT, as many intelligent people have done, just copy the archive onto the partition!</li></ul><p><strong>STEP 5.</strong> Change to /root &#8216;cd / &#8216;</p><ul><li>Execute <strong>sync</strong></li><li
class="gap">Execute <strong>umount /dev/sda1</strong></li><li
class="gap">Execute <strong>umount /dev/sda2</strong></li></ul><p><strong>STEP 6.</strong> Now boot linux by inserting the SD-Card into the BlueAngel. DONE!</p> ]]></content:encoded> <wfw:commentRss>http://www.rickwargo.com/2006/03/04/hacking-my-xv6600/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
