<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5793580293746047286</atom:id><lastBuildDate>Wed, 04 Mar 2026 08:25:08 +0000</lastBuildDate><category>linux</category><category>ubuntu</category><category>mac</category><category>palm</category><category>leopard</category><category>windows</category><category>webos</category><category>tiger</category><category>treo</category><category>apple</category><category>gentoo</category><category>snow leopard</category><category>pre</category><category>winmob</category><category>cellphone</category><category>cisco</category><category>web apps</category><category>12.04</category><category>mysql</category><category>os x</category><category>10.04</category><category>11.04</category><category>apache</category><category>macports</category><category>9.04</category><category>google</category><category>firefox</category><category>iphone</category><category>palmOS</category><category>yosemite</category><category>X11</category><category>android</category><category>android-x86</category><category>debian</category><category>iOS</category><category>mavericks</category><category>mutt</category><category>php</category><category>raspberry pi</category><category>voip</category><category>10.10</category><category>10.8</category><category>10.9</category><category>CentOS</category><category>fluxbox</category><category>go aruna</category><category>hp</category><category>java</category><category>lucid lynx</category><category>mountain lion</category><category>openoffice.org</category><category>vim</category><category>vmware</category><category>10.1</category><category>10.11</category><category>10.6</category><category>10.7</category><category>SSL</category><category>bing maps</category><category>chrome</category><category>cloud</category><category>cpanel</category><category>cygwin</category><category>dropbox</category><category>el capitan</category><category>google maps</category><category>ipad</category><category>jessie</category><category>lion</category><category>mikrotik</category><category>ms office</category><category>nexus</category><category>nokia</category><category>offlineimap</category><category>openssh</category><category>openssl</category><category>pppoe</category><category>routerboard</category><category>rplay</category><category>samba</category><category>terminal</category><category>touchpad</category><category>vnc</category><category>xbmc</category><title>gadgetXplorer</title><description>read, listen, think, write down and do. personal notes &amp;amp; learning journal. here to share ever-IT-hing, enjoy it!&lt;br&gt;&#xa;comments wanted, feel free to contact me at author@gadgetxplorer.com&#xa;&lt;br&gt;&#xa;&quot;it&#39;s not only about gadgets, it&#39;s more about how you can utilize everything you own&quot; - gadgetXplorer.com</description><link>http://www.gadgetxplorer.com/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>164</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-8216199466055784509</guid><pubDate>Fri, 27 May 2016 10:23:00 +0000</pubDate><atom:updated>2016-05-27T17:23:46.934+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">macports</category><category domain="http://www.blogger.com/atom/ns#">openssh</category><category domain="http://www.blogger.com/atom/ns#">os x</category><category domain="http://www.blogger.com/atom/ns#">yosemite</category><title>Installing ssh-copy-id on Mac OS X using MacPorts</title><description>Ssh-copy-id is a script used to add your public key to remote server, so next time you connect to that remote server, it would be passwordless (unless, of course, if you put a paraphrase when generate your public key).&lt;br /&gt;
&lt;br /&gt;
Most simple way is by using MacPorts:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo port install openssh +ssh-copy-id&lt;/blockquote&gt;
That&#39;s it! And you ready to use it :)</description><link>http://www.gadgetxplorer.com/2016/05/installing-ssh-copy-id-on-mac-os-x.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-5536272279497743787</guid><pubDate>Wed, 13 Apr 2016 07:52:00 +0000</pubDate><atom:updated>2016-04-13T14:52:58.090+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">apple</category><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">os x</category><category domain="http://www.blogger.com/atom/ns#">terminal</category><category domain="http://www.blogger.com/atom/ns#">vim</category><category domain="http://www.blogger.com/atom/ns#">yosemite</category><title>Modifying Vim to be able editing crontab in Mac OS X Yosemite</title><description>Get the solution from Vim Wikia post &lt;a href=&quot;http://vim.wikia.com/wiki/Editing_crontab&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;, already tried this by myself and worked like a charm :)&lt;br /&gt;
&lt;br /&gt;
If you ever get this error while trying to add cron entries:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Menlo; font-size: 12px;&quot;&gt;crontab: temp file must be edited in place&lt;/span&gt;&lt;/blockquote&gt;
Then the solution is very simple. You just need to create ~/.vim/ftplugin/crontab.vim and add this one line:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
set backupcopy=yes&lt;/blockquote&gt;
Save the file and you can try to add cron entry again.</description><link>http://www.gadgetxplorer.com/2016/04/modifying-vim-to-be-able-editing.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>11</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-4587368572105024089</guid><pubDate>Wed, 13 Apr 2016 04:15:00 +0000</pubDate><atom:updated>2016-04-13T14:44:05.510+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">macports</category><category domain="http://www.blogger.com/atom/ns#">mutt</category><category domain="http://www.blogger.com/atom/ns#">offlineimap</category><category domain="http://www.blogger.com/atom/ns#">os x</category><title>Mutt+Offlineimap Error while using it to access Gmail IMAP</title><description>The solution came from this &lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=206424&quot; target=&quot;_blank&quot;&gt;forum&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Upon Offlineimap version 6.6.0, you&#39;ll get an error when accessing Gmail IMAP, something like this:&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
XOAUTH2 authentication failed: AUTHENTICATE command error: BAD [&#39;Client aborted AUTHENTICATE command. q205mb46565077wmb&#39;]. Data: MFNB2 AUTHENTICATE XOAUTH2&lt;/blockquote&gt;
&lt;br /&gt;
The solution is very simple, you just have to add one line to your .offlineimaprc file,&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: inherit;&quot;&gt;in the [Repository YOUR_ACCOUNT-remote] section:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: inherit;&quot;&gt;auth_mechanisms = LOGIN&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
referring to config line:&amp;nbsp;&lt;span style=&quot;background-color: white; color: #222222; font-size: 1em;&quot;&gt;#auth_mechanisms = GSSAPI, CRAM-MD5, XOAUTH2, PLAIN, LOGIN&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and run your offlineimap to check that the error is already gone. &lt;i&gt;Voila!&lt;/i&gt; :)&lt;/div&gt;
</description><link>http://www.gadgetxplorer.com/2016/04/muttofflineimap-error-using-it-to.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-4731928448385154625</guid><pubDate>Wed, 13 Apr 2016 04:05:00 +0000</pubDate><atom:updated>2016-04-13T11:05:47.533+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jessie</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">os x</category><category domain="http://www.blogger.com/atom/ns#">raspberry pi</category><title>Setup Wi-Fi on your Raspberry Pi via the Command Line</title><description>The complete guide for this can be checked &lt;a href=&quot;http://www.howtogeek.com/167425/how-to-setup-wi-fi-on-your-raspberry-pi-via-the-command-line/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
1. Boot up your Pi&lt;br /&gt;
2. Connect ethernet cable to your Pi&lt;br /&gt;
3. SSH into it (You can check the IP from your wireless router DHCP client list)&lt;br /&gt;
4. Open up /etc/network/interfaces:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo vim.tiny /etc/network/interfaces&lt;/blockquote&gt;
You&#39;ll see few lines of basic configuration:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;auto lo&lt;code style=&quot;line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;iface lo inet loopback&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;iface eth0 inet dhcp&lt;/span&gt;&lt;/code&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;allow-hotplug wlan0&lt;/span&gt;&lt;/span&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;iface wlan0 inet dhcp&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;iface default inet dhcp&lt;/span&gt;&lt;/code&gt;&lt;/blockquote&gt;
&lt;div style=&quot;color: #222222; line-height: 21px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;5. Then open up /etc/wpa_supplicant/wpa_supplicant.conf:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;$ sudo vim.tiny /etc/wpa_supplicant/wpa_supplicant.conf&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
Just copy and paste below script inside that file:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;update_config=1&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;network={&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ssid=&quot;YOURSSID&quot;&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;psk=&quot;YOURPASSWORD&quot;&lt;/span&gt;&lt;/code&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;# Protocol type can be: RSN (for WP2) and WPA (for WPA1)&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;proto=WPA&lt;/span&gt;&lt;/code&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;# Key management type can be: WPA-PSK or WPA-EAP (Pre-Shared or Enterprise)&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;key_mgmt=WPA-PSK&lt;/span&gt;&lt;/code&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;# Pairwise can be CCMP or TKIP (for WPA2 or WPA1)&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;pairwise=TKIP&lt;/span&gt;&lt;/code&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;code style=&quot;background-color: white; line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;code style=&quot;line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;#Authorization option should be OPEN for both WPA1/WPA2 (in less commonly used are SHARED and LEAP)&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code style=&quot;line-height: 14.671799659729004px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;auth_alg=OPEN&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: inherit;&quot;&gt;}&lt;/span&gt;&lt;/blockquote&gt;
Change ssid, psk, proto, key_mgmt, pairwise and auth_alg according to your wireless router setup.&lt;br /&gt;
&lt;br /&gt;
6. And after you finished, reboot the pi:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo reboot&lt;/blockquote&gt;
7. Upon booting, unplug ethernet cable and try to access your Pi via wireless connection (check the IP from your wireless router DHCP client list)&lt;br /&gt;
&lt;br /&gt;
Just repeat the steps if you still haven&#39;t seen your Pi in the DHCP client list.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;span style=&quot;background-color: #f9f9f9; color: #222222; font-family: monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</description><link>http://www.gadgetxplorer.com/2016/04/setup-wi-fi-on-your-raspberry-pi-via.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-6017706486923024965</guid><pubDate>Tue, 12 Apr 2016 10:15:00 +0000</pubDate><atom:updated>2016-04-12T17:16:03.832+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">10.10</category><category domain="http://www.blogger.com/atom/ns#">10.11</category><category domain="http://www.blogger.com/atom/ns#">10.6</category><category domain="http://www.blogger.com/atom/ns#">10.7</category><category domain="http://www.blogger.com/atom/ns#">10.8</category><category domain="http://www.blogger.com/atom/ns#">10.9</category><category domain="http://www.blogger.com/atom/ns#">el capitan</category><category domain="http://www.blogger.com/atom/ns#">leopard</category><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">mavericks</category><category domain="http://www.blogger.com/atom/ns#">mountain lion</category><category domain="http://www.blogger.com/atom/ns#">mutt</category><category domain="http://www.blogger.com/atom/ns#">os x</category><category domain="http://www.blogger.com/atom/ns#">snow leopard</category><category domain="http://www.blogger.com/atom/ns#">yosemite</category><title>Mutt Integration With Abook in Mac OS X</title><description>This post assume that you already have Mutt running on your Mac OS X.&lt;br /&gt;
&lt;br /&gt;
I choose Abook to manage my address book because it&#39;s very simple and suitable for my need.&lt;br /&gt;
&lt;br /&gt;
If you don&#39;t have Abook yet, you can install it. I&#39;m using MacPorts, so just execute this command:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo port install abook&lt;/blockquote&gt;
&lt;br /&gt;
And then, add these lines to your .muttrc config file:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;set query_command = &quot;abook --mutt-query &#39;%s&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;macro generic,index,pager \ca &quot;&amp;lt;shell-escape&amp;gt;abook&amp;lt;return&amp;gt;&quot; &quot;launch abook&quot;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;macro index,pager A &quot;&amp;lt;pipe-message&amp;gt;abook --add-email&amp;lt;return&amp;gt;&quot; &quot;add the sender address to abook&quot;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
A little explanation for above script:&lt;br /&gt;
1. set query_command (pressing ctrl-t) on Mutt - Compose view, will execute abook to look for match address based on the few letter(s) you already type in.&lt;br /&gt;
2. pressing ctrl-a on Mutt, will execute abook to input manually&lt;br /&gt;
3. pressing shift-a (or A capital) on Mutt - Index view, will add the sender from any highlight email&lt;br /&gt;
&lt;br /&gt;
Just save your .muttrc and reload the config on Mutt, and you&#39;re good to go :)&lt;br /&gt;
&lt;br /&gt;
*full reference see &lt;a href=&quot;https://dev.mutt.org/trac/wiki/MuttGuide/Aliases&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;</description><link>http://www.gadgetxplorer.com/2016/04/mutt-integration-with-abook-in-mac-os-x.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-574732378940629924</guid><pubDate>Tue, 12 Apr 2016 09:12:00 +0000</pubDate><atom:updated>2016-06-13T14:03:13.328+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">10.10</category><category domain="http://www.blogger.com/atom/ns#">10.8</category><category domain="http://www.blogger.com/atom/ns#">10.9</category><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">mavericks</category><category domain="http://www.blogger.com/atom/ns#">mountain lion</category><category domain="http://www.blogger.com/atom/ns#">os x</category><category domain="http://www.blogger.com/atom/ns#">raspberry pi</category><category domain="http://www.blogger.com/atom/ns#">yosemite</category><title>Backup and Restore Your Raspberry Pi SD Card Using Mac OS X</title><description>For the credit and full-complete writing about this post, you can check it &lt;a href=&quot;http://www.instantsupportsite.com/self-help/raspberry-pi/raspberry-backup-sd-card-using-mac/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&amp;nbsp;and &lt;a href=&quot;http://www.instantsupportsite.com/self-help/raspberry-pi/raspberry-restore-backup-image-using-mac/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;, I only made some modification to make it even simple.&lt;br /&gt;
&lt;br /&gt;
This was done by me when I tried to expand SD capacity from 8 to 16 GB. It&#39;s very simple and practical. After this backup-restore process done, you need to expand the file system so you can acquire full 16 GB on new SD card. So, let&#39;s begin..&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Backup&lt;/b&gt;&lt;br /&gt;
1. Turn off RPi&lt;br /&gt;
2. Put SD card into card reader slot&lt;br /&gt;
3. Open up &#39;Terminal&#39; app (from Application -&amp;gt; Utilities -&amp;gt; Terminal)&lt;br /&gt;
4. Type:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo bash&lt;/blockquote&gt;
5. Type in your password&lt;br /&gt;
6. Type these in sequence:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# mkdir -p ~/rpi/backups&lt;br /&gt;
# cd ~/rpi/backups&lt;/blockquote&gt;
&amp;nbsp;7. Check where your SD card is listed (e.g.: mine is listed as /dev/disk2s1)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# df -h&lt;/blockquote&gt;
8. Eject your SD card:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# diskutil unmountDisk /dev/disk2s1&lt;/blockquote&gt;
9. Backup your SD card to image file: (please note that you have to add &#39;r&#39; before &#39;disk&#39;)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# dd if=/dev/rdisk2 of=~/rpi/backups/backup-today-rpi.img bs=1M&lt;/blockquote&gt;
10. When complete: (again, add &#39;r&#39; before &#39;disk&#39;)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# diskutil eject /dev/rdisk2&amp;nbsp;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;b&gt;Restore&lt;/b&gt;&lt;br /&gt;
1. &amp;nbsp;Put new SD card into card reader slot&lt;br /&gt;
2. &amp;nbsp;Check where your SD card is listed (e.g.: mine is listed as /dev/disk2s1)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# df -h&lt;/blockquote&gt;
&amp;nbsp;3. Eject your SD card:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# diskutil unmountDisk /dev/disk2s1&lt;/blockquote&gt;
4. Restore your image to new SD card:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# dd bs=1M if=~/rpi/backups/backup-today-rpi.img of=/dev/rdisk2&lt;/blockquote&gt;
5. When complete:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# diskutil eject /dev/rdisk2&lt;/blockquote&gt;
&lt;br /&gt;
&lt;b&gt;Expand Filesystem&lt;/b&gt;&lt;br /&gt;
1. Powering up your Raspberry Pi&lt;br /&gt;
2. Execute this command:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo raspi-config&lt;/blockquote&gt;
3. Choose &#39;Expand Filesystem&quot;&lt;br /&gt;
4. Reboot&lt;br /&gt;
&lt;br /&gt;
And you&#39;re done! :)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
</description><link>http://www.gadgetxplorer.com/2016/04/backup-and-restore-your-raspberry-pi-sd.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-8292533825454207297</guid><pubDate>Wed, 07 May 2014 09:18:00 +0000</pubDate><atom:updated>2019-07-11T09:59:48.098+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">mavericks</category><category domain="http://www.blogger.com/atom/ns#">mikrotik</category><category domain="http://www.blogger.com/atom/ns#">os x</category><category domain="http://www.blogger.com/atom/ns#">pppoe</category><category domain="http://www.blogger.com/atom/ns#">routerboard</category><title>Setup a PPPoE Server Using Mikrotik RouterBoard 750</title><description>&lt;span style=&quot;font-size: large;&quot;&gt;The scheme I&#39;d like to achieve is like this:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8-aZ4BB5A-Eo_88izCJ-22Sx4C1xYE0r8ZBn1aS2SRxpfPYH581r7chhfiDsKAXUGczy7dJfdVQPi8GgQzXLRPNHwy1V6JslIk-c2ozrDFDfDqnShg4X11W2uQ4hB1iBNO9MvKBpe7Od9/s1600/IS-Skema+PPPoE+Server-Rev+1.1.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8-aZ4BB5A-Eo_88izCJ-22Sx4C1xYE0r8ZBn1aS2SRxpfPYH581r7chhfiDsKAXUGczy7dJfdVQPi8GgQzXLRPNHwy1V6JslIk-c2ozrDFDfDqnShg4X11W2uQ4hB1iBNO9MvKBpe7Od9/s1600/IS-Skema+PPPoE+Server-Rev+1.1.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span id=&quot;goog_289685624&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_289685625&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;This post will focus on how the PPPoE server is configured. The connection service will be asymmetric like this:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;1 Mbps: 1 Mbps Download / 256 Kbps Upload&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;2 Mbps: 2 Mbps Download / 512 Kbps Upload&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;The only way to access a routerboard is using their winbox tool which you can download &lt;a href=&quot;http://download2.mikrotik.com/winbox.exe&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. Let&#39;s start :)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Run the winbox, and you&#39;ll get this pop-up box:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYfS09WD0yd-aroF93GBVYAKCDPnBPmFMce6Z67Du2bj0NOwCVTBXikTjoqIwzls86uSyWOdZnmRCjlty0kkc4jvTz0Ocd0OqtgV7woMWcGdx-lVeK6Ka7b1SnFvip6UD3B7V8ZZmeXDy3/s1600/T2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYfS09WD0yd-aroF93GBVYAKCDPnBPmFMce6Z67Du2bj0NOwCVTBXikTjoqIwzls86uSyWOdZnmRCjlty0kkc4jvTz0Ocd0OqtgV7woMWcGdx-lVeK6Ka7b1SnFvip6UD3B7V8ZZmeXDy3/s1600/T2.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Click on the button with three dots to scan connected device, choose the one mac-address that shows up and leave any other things at it is, then click the Connect button to open up another window like this:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUbpPapVq4vQfyeRwYxNBd1YNM1jePNs_JXP3eTV4t4Uv2TCZBhGcFa9H6NLP9kGuZPxwI5Vw4PSDEDetMninwOqKVdf3YhsAtinz3V6hj54RX4ygWW1Dgdp5SB9HqqIRW3tOk9cfk94LB/s1600/T4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;211&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUbpPapVq4vQfyeRwYxNBd1YNM1jePNs_JXP3eTV4t4Uv2TCZBhGcFa9H6NLP9kGuZPxwI5Vw4PSDEDetMninwOqKVdf3YhsAtinz3V6hj54RX4ygWW1Dgdp5SB9HqqIRW3tOk9cfk94LB/s1600/T4.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Choose IP -&amp;gt; Addresses, add new and fill in the field:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Address: 10.200.10.2/24&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Network: [automatically filled in when you click on &#39;Apply&#39; button]&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Interface: ether1&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;* Next, Create an IP pool for each service you&#39;ll create (allocate):&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;IP -&amp;gt; Pool, add new IP pool:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Name: 2MB&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Addresses: 192.168.99.2-192.168.99.254&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Next Pool: none&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;* Create a PPP profile for one of your service:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;PPP -&amp;gt; go to Profile tab, add new profile and fill in the following fields:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Name: PPPOE_2MB&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Local Address: 192.168.99.2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Remote Address: 2MB&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;DNS Server: 8.8.8.8, 4.4.4.4&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;* then go to PPPoE Servers, add new PPPoE service, and fill in the following fields:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Service Name: PPPOE&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Interface: ether3&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;check &#39;One Session Per Host&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;uncheck &#39;machap1&#39; &#39;machap2&#39; &#39;chap&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;* Create a NAT rule for masquerade&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;IP -&amp;gt; Firewall -&amp;gt; go to NAT tab, add new NAT rule:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Chain: srcnat&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Out. Interface: ether1&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;gt;&amp;gt; go to Action tab, choose &#39;masquerade&#39; as Action&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;* Create Queue rule for bandwidth limit&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Queue -&amp;gt; got to Queue Types tab, add new type for download limit:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Type Name: 2MB_DOWNLOAD&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Kind: pcq&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Rate: 2M&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;add another one for upload limit:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Type Name: 512KB_UPLOAD&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Kind: pcq&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Rate: 512K&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;uncheck &#39;Dst. Address&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;check &#39;Src. Address&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;* Apply the queue type just created:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;go to Simple Queue tab, add new simple queue to apply queue type you just created:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;in General tab:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Name: TOTAL&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Target Address: 192.168.99.0/24&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;gt;&amp;gt; add another new simple queue rule:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;in General tab:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Name: 2MB&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Target Address: 192.168.99.0/24&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Max Limit: choose 512KB_UPLOAD for Target Upload&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;choose 2MB_DOWNLOAD for Target Download&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;gt;&amp;gt; go to Advanced tab:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Queue Type: choose 512KB_UPLOAD for Target Upload&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;choose 2MB_DOWNLOAD for Target Download&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;* Create user credential for login:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;PPP -&amp;gt; go to Secrets tab, add new PPP secrets:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Name: xs2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Password: xs2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Service: pppoe&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Profile: PPPOE_2MB&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Local Address: 192.168.99.2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Remote Address: 192.168.99.1&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Then you can test it by creating a dialer, as I&#39;m using Mac OS X, so I go to System Preferences -&amp;gt; Network, create a connection with a PPPoE interface:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHnrzg8EitoS7WP9fPATCKht89a9E_mweDQmLeIo3UFMGsoXw6aL7WcJV-dMNPa0vi08EgjXsCBg7bwnDf2MSooxszbVgOkjgQXCqeJ93rqa0wV_CqAKrYRlJfXKpZ1PCuymwkGJ_e7xYZ/s1600/Screen+Shot+2014-05-07+at+4.15.34+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;151&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHnrzg8EitoS7WP9fPATCKht89a9E_mweDQmLeIo3UFMGsoXw6aL7WcJV-dMNPa0vi08EgjXsCBg7bwnDf2MSooxszbVgOkjgQXCqeJ93rqa0wV_CqAKrYRlJfXKpZ1PCuymwkGJ_e7xYZ/s1600/Screen+Shot+2014-05-07+at+4.15.34+PM.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;And fill in the credential to connect:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1kGmCIdm0V7dDhqmijWVcb5cRsFi9gORDxPPOPYSdXZufXl2RxG_5X3iTNvWzstttbcCOyAeyorTKpkltCMqyEYS5upv4FP13PLvwdmgnj9j12JXd5URTOnFVxeL8YHWS_3AyQRm04OFJ/s1600/Screen+Shot+2014-05-07+at+4.16.43+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;277&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1kGmCIdm0V7dDhqmijWVcb5cRsFi9gORDxPPOPYSdXZufXl2RxG_5X3iTNvWzstttbcCOyAeyorTKpkltCMqyEYS5upv4FP13PLvwdmgnj9j12JXd5URTOnFVxeL8YHWS_3AyQRm04OFJ/s1600/Screen+Shot+2014-05-07+at+4.16.43+PM.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;That&#39;s it! :)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://www.gadgetxplorer.com/2014/05/setup-pppoe-server-using-mikrotik.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8-aZ4BB5A-Eo_88izCJ-22Sx4C1xYE0r8ZBn1aS2SRxpfPYH581r7chhfiDsKAXUGczy7dJfdVQPi8GgQzXLRPNHwy1V6JslIk-c2ozrDFDfDqnShg4X11W2uQ4hB1iBNO9MvKBpe7Od9/s72-c/IS-Skema+PPPoE+Server-Rev+1.1.jpeg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-4048514437020413260</guid><pubDate>Mon, 05 May 2014 03:44:00 +0000</pubDate><atom:updated>2016-04-12T17:28:55.435+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">raspberry pi</category><category domain="http://www.blogger.com/atom/ns#">rplay</category><category domain="http://www.blogger.com/atom/ns#">xbmc</category><title>Running Rplay on Raspbmc for Airplay Mirroring</title><description>I&#39;m sure you can find many other posts about installing and running rplay in raspberry pi. If you haven&#39;t heard about rplay, this amazing software is developed by company called&amp;nbsp;&lt;a href=&quot;http://www.vmlite.com/&quot; target=&quot;_blank&quot;&gt;Vmlite&lt;/a&gt;, that gives us possibility to experiencing airplay mirroring without having Apple TV (but, of course, you still have to own an iOS device :D) by install it on small computer Raspberry Pi. You can check&amp;nbsp;&lt;a href=&quot;http://www.raspberrypi.org/help/faqs/#introWhatIs&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&amp;nbsp;if you want to know more about this amazing little device.&lt;br /&gt;
&lt;br /&gt;
On many other posts, rplay have to be installed on raspbian, a debian-based linux distro customized for Raspberry Pi. In my situation, since I only have small-size SDcard (4 GB), I can&#39;t installed raspbian because it needs you to have at least 8 GB SDcard size. And, I also would like to use raspbmc (XBMC based) to be a media centre and powering up my old CRT TV. So, this post is pure notes of my experience. Let&#39;s start :)&lt;br /&gt;
&lt;br /&gt;
I assume most of you who read this post already have Raspberry Pi, and already installing raspbmc on it and using it for many purposes.&lt;br /&gt;
&lt;br /&gt;
1. From Raspbmc dashboard, go to Power Icon on bottom left, then choose EXIT:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Immediately press ESC on keyboard (you need to have keyboard attached to Pi, doesn&#39;t matter if it&#39;s a USB, bluetooth or wireless one), when you saw notification box &quot;Press ESC for command line)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. When you already in CLI and prompted to login, just input &#39;pi&#39; as username and &#39;raspberry&#39; for password, that&#39;s the default credential (if you haven&#39;t changed it)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. Update the repository:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo apt-get update&lt;/blockquote&gt;
5. &amp;nbsp;Installing rpi-update:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo curl -L --output /usr/bin/rpi-update https://raw.github.com/Hexxeh/rpi-update/master/rpi-update &amp;amp;&amp;amp; sudo chmod +x /usr/bin/rpi-update&lt;/blockquote&gt;
6. Updating the firmware:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo rpi-update&lt;/blockquote&gt;
7. A&lt;span style=&quot;font-family: inherit;&quot;&gt;llocate more memory to GPU:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;$&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;sudo raspi-config&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;then select memory_split, change the value to 256 (Model B device), or 64 or 128 (Model A device)&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
8. Installing other dependencies:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo apt-get install libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl&lt;/blockquote&gt;
9. Updating youtube-dl:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo youtube-dl --update&lt;/blockquote&gt;
10. Download rplay binary and install:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;new york&amp;quot; , &amp;quot;times&amp;quot; , serif; font-size: 16px;&quot;&gt;wget -O rplay-1.0.1-armhf.deb&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.vmlite.com/rplay/rplay-1.0.1-armhf.deb&quot; style=&quot;background-color: white; color: #1155cc; font-family: &#39;times new roman&#39;, &#39;new york&#39;, times, serif; font-size: 16px;&quot; target=&quot;_blank&quot;&gt;http://www.vmlite.com/rplay/&lt;wbr&gt;&lt;/wbr&gt;rplay-1.0.1-armhf.deb&lt;/a&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;new york&amp;quot; , &amp;quot;times&amp;quot; , serif; font-size: 16px;&quot;&gt;sudo dpkg -i rplay-1.0.1-armhf.deb&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;This will install and launch /usr/bin/&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;, and it runs automatically on boot.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;You can try to reboot your Pi at this point, and&amp;nbsp;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;&amp;nbsp;should auto start after reboot.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;11. Manual start and stop&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;$ sudo /etc/init.d/&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;&amp;nbsp;start&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;(NOTE:&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;if you have 2 instances of&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; font-family: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;running, none would work!)&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;$ sudo /etc/init.d/&lt;/span&gt;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; font-family: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;stop&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If you want to see the output message, you can run this way:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;$ sudo /user/bin/&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Make sure only one instance is running.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;12.&lt;/span&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; THIS IS VERY IMPORTANT&lt;/strong&gt;, enter the license key, without it, AirPlay mirroring won’t work.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Safari browser has problems, try to use other ones.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Once&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; font-family: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;is running, go to a browser and open this url:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;http://&amp;lt;ip-address-of-pi&amp;gt;:7100/admin&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;or&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;http://localhost:7100/admin (&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If you use the browser on the same Pi machine)&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The username/password is: admin/admin,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;go down to the last one, enter the license number, click Submit.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;You can also perform other admin tasks here, such as setting password, toggling fullscreen, recording, etc.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The config file is /etc/&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;.conf, you can also manually edit the config file, instead of using the web interface. Append license_key=&amp;lt;your-license-key&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;to the last line of the file, for example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;admin_password=admin&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;password=&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;onscreen_code=0 [or 1]&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;fullscreen=0 [0r 1]&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;license_key=1223dd-your-from-email&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;13. Test regular AirPlay and AirPlay Mirroring&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rPlay&lt;/span&gt;&amp;nbsp;supports AirPlay and AirPlay Mirroring. For iphone 4 and iPad 1, you can’t do AirPlay mirroring, but you should be still&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;do AirPlay for Photos/Music/Videos. For iPhone 4S and iPhone 5, iPad 2 and above, you can also do AirPlay mirroring.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;On your iOS devices, double click Home button, slide to the most left, and choose&amp;nbsp;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rPlay&lt;/span&gt;&amp;nbsp;as AirPlay device to connect. F&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;or iOS 7, you need to quickly swipe up from the bottom to bring up AirPlay window, and choose&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; font-family: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rPlay&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;as AirPlay device to connect.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;14. Test Chromecast&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;you need to install and update youtube-dl on pi, run the following command on Pi to auto update it:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;$ sudo apt-get install youtube-dl&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;$ sudo youtube-dl –update&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;right now, this is very simple implementation, it only works with YouTube app, either on Android or iOS. M&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ake sure you download the latest YouTube app on your mobile device, then open YouTube app, pick a video to play, on the top right corner,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;there will be a square chromecast button, tap it, and choose&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; font-family: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rPlay&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;to connect. T&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;he video should play on Pi, it won’t be able to control with this version, we will improve it.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;15. Uninstall&amp;nbsp;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;$ sudo /etc/init.d/&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;&amp;nbsp;stop&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;$ sudo dpkg -r&amp;nbsp;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;16. If&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;il&quot; style=&quot;border: 0px; color: #222222; font-family: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rplay&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;is not found by your devices, you can try to toggle WIFI on your devices, turn it off and then on. You may also power off your router&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;then power it on.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
You will get the license key and details about rplay installation by register, login and post in &lt;a href=&quot;http://www.vmlite.com/index.php?option=com_kunena&amp;amp;Itemid=158&amp;amp;func=showcat&amp;amp;catid=23&quot; target=&quot;_blank&quot;&gt;Vmlite forum page&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Some posts on the internet say that we should disable the xbmc in order the rplay to running well. You could refer to Raspbmc FAQ &lt;a href=&quot;http://www.raspbmc.com/wiki/user/frequently-asked-questions/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. But in my situation, I don&#39;t need to do that and airplay mirroring feature working just fine.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;new york&amp;quot; , &amp;quot;times&amp;quot; , serif; font-size: 16px;&quot;&gt;If you have audio problems, please refer to &lt;a href=&quot;http://cagewebdev.com/index.php/raspberry-pi-getting-audio-working/&quot; target=&quot;_blank&quot;&gt;this article&lt;/a&gt;. And i&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;new york&amp;quot; , &amp;quot;times&amp;quot; , serif; font-size: 16px;&quot;&gt;f your iOS devices don&#39;t see rPlay in the AirPlay device list, make sure avahi daemon is running on the Pi device, refer to &lt;a href=&quot;http://www.jackenhack.com/raspberry-pi-avahi-daemon-disabled-because-there-is-a-unicast-local-domain-solved/&quot; target=&quot;_blank&quot;&gt;this article&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;new york&amp;quot; , &amp;quot;times&amp;quot; , serif; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;new york&amp;quot; , &amp;quot;times&amp;quot; , serif; font-size: 16px;&quot;&gt;So, that&#39;s it. Enjoy the features in airplay and airplay mirroring with rplay in Raspberry Pi :)&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
</description><link>http://www.gadgetxplorer.com/2014/05/running-rplay-on-raspbmc-for-airplay.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-7470958173153852838</guid><pubDate>Thu, 13 Mar 2014 07:40:00 +0000</pubDate><atom:updated>2014-03-13T14:40:38.201+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">10.04</category><category domain="http://www.blogger.com/atom/ns#">11.04</category><category domain="http://www.blogger.com/atom/ns#">12.04</category><category domain="http://www.blogger.com/atom/ns#">9.04</category><category domain="http://www.blogger.com/atom/ns#">CentOS</category><category domain="http://www.blogger.com/atom/ns#">debian</category><category domain="http://www.blogger.com/atom/ns#">gentoo</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Adding Secondary IP Address in Ubuntu (Linux in general)</title><description>In my works, sometimes I need to configure router/wireless router with my PC. But since my PC only has one ethernet port that configured with static IP address, I have to find a way to be able to configure the router/wireless router without unplug it. One way is by adding secondary (virtual) IP address on existing ethernet port.&lt;br /&gt;
&lt;br /&gt;
You can do this by using temporary or permanent way.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Temporary way&lt;/u&gt;:&lt;br /&gt;
Pretend that your ethernet is eth0, and you know that DHCP block IP from the router/wireless router is 192.168.1.0/24, you can set static IP address in that range:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo ip addr add 192.168.1.11/24 dev eth0&lt;/blockquote&gt;
And when you finished, you can just delete that temporary additional IP:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo ip addr del 192.168.1.11/24 dev eth0&lt;/blockquote&gt;
&lt;br /&gt;
&lt;u&gt;Permanent way&lt;/u&gt;:&lt;br /&gt;
You can add permanently by adding config in /etc/network/interfaces file:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
auto eth0:1&lt;br /&gt;iface eth0:1 inet DHCP&lt;/blockquote&gt;
Then you set eth0:1 to be up:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo ifup eth0:1&lt;/blockquote&gt;
Check to make sure you&#39;ve got the correct IP address assignment:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo ifconfig -a | grep eth0&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
</description><link>http://www.gadgetxplorer.com/2014/03/adding-secondary-ip-address-in-ubuntu.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-7416563698566531020</guid><pubDate>Wed, 12 Mar 2014 04:01:00 +0000</pubDate><atom:updated>2014-03-12T11:01:27.570+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CentOS</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">samba</category><title>Using and Samba Share External HardDisk on CentOS (Linux in General)</title><description>The scenario is I want to use an old PC (1GB RAM, HDD 20GB, Pentium-class) as a Samba share (file server). So I installed CentOS 6.5 on it, put a 3TB external HDD on it and then doing this configuration:&lt;br /&gt;
1. Migrating /home partition to 3TB external HDD&lt;br /&gt;
2. Configuring samba&lt;br /&gt;
3. Adding user and share&lt;br /&gt;
&lt;br /&gt;
1. &lt;u&gt;Migrating /home partition to 3TB external HDD&lt;/u&gt;:&lt;br /&gt;
I&#39;m using &lt;a href=&quot;https://help.ubuntu.com/community/Partitioning/Home/Moving&quot; target=&quot;_blank&quot;&gt;this URL&lt;/a&gt;&amp;nbsp;as a guidance, but I re-write this as simple as I have done:&lt;br /&gt;
a. Check the UUID of external HDD&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo blkid&lt;/blockquote&gt;
b. Backup /etc/fstab&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo cp /etc/fstab /etc/fstab.$(date +%Y-%m-%d)&amp;nbsp;&lt;/blockquote&gt;
c. Compare the two fstab files&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ cmp /etc/fstab /etc/fstab.$(date +%Y-%m-%d)&lt;/blockquote&gt;
d. Edit original /etc/fstab&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# (identifier) (location) (format) (some settings)&lt;br /&gt;UUID=??? &amp;nbsp; /mnt/home &amp;nbsp; ext3 &amp;nbsp; defaults &amp;nbsp; 0 &amp;nbsp; 2&lt;/blockquote&gt;
replace the ??? in UUID with the one you&#39;ve got from blkid command for your HDD&lt;br /&gt;
&lt;br /&gt;
e. Create the mount folder&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo mkdir /mnt/home&lt;/blockquote&gt;
f. Reload the updated /etc/fstab&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ &amp;nbsp;sudo mount -a&lt;/blockquote&gt;
g. Copy existing /home to new partition&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo rscync -aXS --exclude=&#39;/*/.gvfs&#39; /home/. /mnt/home/&lt;/blockquote&gt;
h. Confirm that all files and folders are copied successfully&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo diff -r /home /mnt/home&lt;/blockquote&gt;
i. Edit /etc/fstab, preparing for switch&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# (identifier) (location) (format) (some settings)&lt;br /&gt;UUID=??? &amp;nbsp; /home &amp;nbsp; &amp;nbsp; &amp;nbsp;ext3 &amp;nbsp; &amp;nbsp; &amp;nbsp; defaults &amp;nbsp; 0 &amp;nbsp; 2&lt;/blockquote&gt;
j. Moving /home to /old_home&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ cd / &amp;amp;&amp;amp; sudo mv /home /old_home &amp;amp;&amp;amp; sudo mkdir /home&lt;/blockquote&gt;
k. Reload the updated /etc/fstab&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo mount -a&amp;nbsp;&lt;/blockquote&gt;
2. &lt;u&gt;Configuring Samba&lt;/u&gt;:&lt;br /&gt;
a. Edit /etc/samba/smb.conf&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
security = user&lt;br /&gt;[share]&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;path = /home&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;browseable = yes&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;writable = yes&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;public = yes&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;guest ok = yes&lt;/blockquote&gt;
b. Restart Samba service&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ service smb restart&lt;br /&gt;$ service nmb restart&amp;nbsp;&lt;/blockquote&gt;
3. &lt;u&gt;Adding User and share&lt;/u&gt;:&lt;br /&gt;
a. Add samba user without UNIX login:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ useradd -s /sbin/nologin [username]&lt;/blockquote&gt;
b. Set samba password for new user:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ smbpasswd -a [username]&lt;/blockquote&gt;
c. Put the new user in the user group:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ usermod -a -G [username] [usergroup] (e.g. usermod -a -G andy andy)&lt;/blockquote&gt;
d. Set priviledge to certain folder only available to certain user/group:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ chmod 775 /home/[username]&amp;nbsp;&lt;/blockquote&gt;
&lt;br /&gt;
You can check that there will be new folder created under /home with username you create. Using this command:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ ls -lart /home&lt;/blockquote&gt;
You can see that each of that folder own by username, this way when another username access the samba share, they can see another user folder, but don&#39;t have the priviledge to access them. This config already tested in my office with many users using different OS (Windows, Mac, Linux).&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
</description><link>http://www.gadgetxplorer.com/2014/03/using-and-samba-share-external-harddisk.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-3913932700237887955</guid><pubDate>Mon, 10 Feb 2014 05:36:00 +0000</pubDate><atom:updated>2014-02-10T12:36:02.068+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">12.04</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Use Python2.6 (instead of Python2.7) on Ubuntu Server 12.04</title><description>Ubuntu Server 12.04 comes with Python version 2.7 by default. Unfortunately, there are some apps development out there that still using Python 2.6. Here are some simple workaround to change the default Python2.7 to Python2.6:&lt;br /&gt;
&lt;br /&gt;
1. Preliminary requirement:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo apt-get install python-software-properties&lt;/blockquote&gt;
2. Adding PPA (because Python2.6 is not available anymore on Ubuntu Server 12.04, by default):&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo add-apt-repository ppa:fkrull/deadsnakes&lt;/blockquote&gt;
3. Update repository:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo apt-get update&lt;/blockquote&gt;
4. Installing Python2.6:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo apt-get install python2.6 python2.6-dev&lt;/blockquote&gt;
5. Change the symlink to Python2.6:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo ln -sfn /usr/bin/python2.6 /usr/bin/python&lt;/blockquote&gt;
6. Check the version:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ python --version&lt;/blockquote&gt;
&lt;br /&gt;
That&#39;s it, and you&#39;re done :)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
</description><link>http://www.gadgetxplorer.com/2014/02/use-python26-instead-of-python27-on.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-4674744732937277105</guid><pubDate>Tue, 08 Oct 2013 06:40:00 +0000</pubDate><atom:updated>2013-10-08T13:40:07.608+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">10.04</category><category domain="http://www.blogger.com/atom/ns#">11.04</category><category domain="http://www.blogger.com/atom/ns#">12.04</category><category domain="http://www.blogger.com/atom/ns#">9.04</category><category domain="http://www.blogger.com/atom/ns#">firefox</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">lucid lynx</category><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">openoffice.org</category><category domain="http://www.blogger.com/atom/ns#">snow leopard</category><category domain="http://www.blogger.com/atom/ns#">tiger</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><category domain="http://www.blogger.com/atom/ns#">X11</category><title>Run X Applications Over Network Using SSH</title><description>Topology:&lt;br /&gt;
Linux-based PC: 192.168.1.1&lt;br /&gt;
Linux-based Laptop: 192.168.1.7&lt;br /&gt;
&lt;br /&gt;
In PC, you edit /etc/ssh/sshd_config using any editor you like:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo vi /etc/ssh/sshd&lt;/blockquote&gt;
Looking for this line, or you can add if it&#39;s not already there:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;X11Forwarding &amp;nbsp; &amp;nbsp; yes&lt;/span&gt;&lt;/blockquote&gt;
Save that file and restart SSH service:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo /etc/init.d/ssh restart&lt;/blockquote&gt;
Allow Laptop to run X applications:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ xhost 192.168.1.7&lt;/blockquote&gt;
Define default display:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ export DISPLAY=192.168.1.1:0&lt;/blockquote&gt;
&lt;br /&gt;
Then from Laptop terminal, run the command to execute any X applications you like:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ ssh -X [username]@192.168.1.1 firefox&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ ssh -X [username]@192.168.1.1 oowriter&lt;/blockquote&gt;
&lt;br /&gt;
That&#39;s it! :)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
</description><link>http://www.gadgetxplorer.com/2013/10/run-x-applications-over-network-using.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-6336758133766794886</guid><pubDate>Wed, 02 Oct 2013 09:04:00 +0000</pubDate><atom:updated>2013-10-02T16:04:16.676+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">12.04</category><category domain="http://www.blogger.com/atom/ns#">apache</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Change Group Owner For /var/www</title><description>Taking another note. Here&#39;s how to change group owner for /var/www directory in Ubuntu Server 12.04. By default that directory meant to be DocumentRoot for Apache 2 web server and own by root. This practice is useful if we want to share the access to several people in webmaster group.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;background-color: #efefef; background-image: none; background-repeat: repeat no-repeat; border: 1px inset; direction: ltr; font-family: &#39;Ubuntu Mono&#39;, monospace; font-size: 14px; height: 156px; line-height: 14px; overflow: auto; padding: 6px; text-align: left; word-wrap: normal;&quot;&gt;sudo addgroup webmasters

sudo chgrp -R webmasters /var/www

sudo find /var/www -type d -exec chmod g=rwxs &quot;{}&quot; \;
sudo find /var/www -type f -exec chmod g=rws &quot;{}&quot; \;

sudo gpasswd --add user webmasters
sudo gpasswd --add colleague1 webmasters
sudo gpasswd --add colleague2 webmasters
# etc.&lt;/pre&gt;
</description><link>http://www.gadgetxplorer.com/2013/10/change-group-owner-for-varwww.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-3816939596990872849</guid><pubDate>Tue, 22 Jan 2013 04:44:00 +0000</pubDate><atom:updated>2013-01-22T11:44:27.178+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">12.04</category><category domain="http://www.blogger.com/atom/ns#">android</category><category domain="http://www.blogger.com/atom/ns#">debian</category><category domain="http://www.blogger.com/atom/ns#">google</category><category domain="http://www.blogger.com/atom/ns#">nexus</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Accessing Nexus 4 USB Storage From Linux</title><description>The objectives is to be able to access USB storage on Nexus 4 from my Linux desktop. This way, I can easily copy and/or move files from/to Nexus 4.&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Enable Developer options:&lt;/div&gt;
&lt;div&gt;
a. Open Settings&lt;/div&gt;
&lt;div&gt;
b. Tap &#39;About phone&#39;&lt;/div&gt;
&lt;div&gt;
c. Tap on &#39;Build number&#39; seven (yes, it&#39;s 7) times&lt;/div&gt;
&lt;div&gt;
d. You&#39;ll get the notification that Developer options is enabled&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. In settings, you&#39;ll find in System tab the Developer options, tap to open it, and then check the USB debugging option&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsgijXkR5o9zxYq2180IdZ6VukbfjxYrOTcfAYuDEjEOBBP_HbNK414CEddQvi77IjXTKyF68mOmk8vBqpCUnBvld8lJxw08_cpshTLHzsgn3uWIHmtjACvDhJ27lrMbkGgIWxPzilXNjv/s1600/Screenshot_2013-01-22-08-50-19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsgijXkR5o9zxYq2180IdZ6VukbfjxYrOTcfAYuDEjEOBBP_HbNK414CEddQvi77IjXTKyF68mOmk8vBqpCUnBvld8lJxw08_cpshTLHzsgn3uWIHmtjACvDhJ27lrMbkGgIWxPzilXNjv/s320/Screenshot_2013-01-22-08-50-19.png&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Install necessary modules to Linux desktop:&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo apt-get install mtp-tools mtpfs&lt;/blockquote&gt;
4. Configure 51-android.rules:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo vi /etc/udev/rules.d/51-android.rules&lt;/blockquote&gt;
5. Paste the following line into the file:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#LG - Nexus 4&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
SUBSYSTEM==&quot;usb&quot;, ATTR{idVendor}==&quot;1004&quot;, MODE=&quot;0666&quot;&lt;/blockquote&gt;
6. Make the file executable:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo chmod +x /etc/udev/rules.d/51-android.rules&lt;/blockquote&gt;
7. Restart udev&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo service udev restart&lt;/blockquote&gt;
8. Create mount point and permissions&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo mkdir /media/nexus4&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ chmod 755 /media/nexus4&lt;/blockquote&gt;
9. Plug in Nexus 4 and make sure MTP is enabled&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://omgubuntu.co.uk/wp-content/uploads/2011/12/Screenshot_2011-12-11-10-43-59-281x500.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://omgubuntu.co.uk/wp-content/uploads/2011/12/Screenshot_2011-12-11-10-43-59-281x500.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
10. Mount with the following command:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo mtpfs -o allow_other /media/nexus4&lt;/blockquote&gt;
11. And unmount it when you have completed your work:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo umount /media/nexus4&lt;/blockquote&gt;
&lt;br /&gt;
Practically you can do this with every other Android devices. Just plug your Android and use this command to get your idVendor and idProduct information:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ mtp-detect | grep idVendor&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ mtp-detect | grep idProduct &lt;/blockquote&gt;
Use the information on step 5 above, and you&#39;re good to go :)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
&lt;/div&gt;
</description><link>http://www.gadgetxplorer.com/2013/01/accessing-nexus-4-usb-storage-from-linux.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsgijXkR5o9zxYq2180IdZ6VukbfjxYrOTcfAYuDEjEOBBP_HbNK414CEddQvi77IjXTKyF68mOmk8vBqpCUnBvld8lJxw08_cpshTLHzsgn3uWIHmtjACvDhJ27lrMbkGgIWxPzilXNjv/s72-c/Screenshot_2013-01-22-08-50-19.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-5452553933985875102</guid><pubDate>Wed, 07 Nov 2012 04:19:00 +0000</pubDate><atom:updated>2012-11-07T11:19:38.939+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">12.04</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">mutt</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Mutt: Viewing URL On Your Favorite Browser</title><description>On this past few weeks, I&#39;ve been back using mutt. And this time, with much advanced configuration. One of its configuration is opening URL inside emails on your favorite browser. The requirement is simply using urlview that you can download from &lt;a href=&quot;ftp://ftp.mutt.org/pub/mutt/contrib&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&amp;nbsp;(I&#39;m using version 0.9), extract and compile it. Then add this config to your .muttrc file:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
macro index \cu |urlview\n &amp;nbsp; &amp;nbsp; &amp;nbsp;# simulate the old browse-url function &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
macro pager \cu |urlview\n&lt;/blockquote&gt;
&lt;/blockquote&gt;
Also, you need to add ~/.urlview and put this line:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ &amp;gt;&quot;\t]*|www\.[-a-z0-9.]+)[^ .,;\t&amp;gt;&quot;&amp;gt;\):]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
COMMAND &amp;lt;your-browser&amp;gt; %s&lt;/blockquote&gt;
&lt;br /&gt;
After all done, try to open one email in your mutt. Then in view mode, press ctrl-u and urlview will listing all available URL inside that email. You just have to choose one and press Enter, and your browser will automatically open and load that URL.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;/blockquote&gt;
</description><link>http://www.gadgetxplorer.com/2012/11/mutt-viewing-url-on-your-favorite.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-7217753619150240288</guid><pubDate>Wed, 06 Jun 2012 08:13:00 +0000</pubDate><atom:updated>2012-06-06T15:13:22.303+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">12.04</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>How to open .uif file in Ubuntu Linux</title><description>Here&#39;s how to open .uif file in Ubuntu Linux:&lt;br /&gt;
1. Install uif2iso package&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ sudo apt-get install uif2iso&lt;/blockquote&gt;
2. Run command to convert .uif to .iso file&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ uif2iso file.uif file.iso&lt;/blockquote&gt;
3. Mount .iso file&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ mkdir ~/iso_file&lt;br /&gt;$ sudo mount file.iso ~/iso_file -t iso9660 -o loop&lt;/blockquote&gt;
That&#39;s it! :)</description><link>http://www.gadgetxplorer.com/2012/06/how-to-open-uif-file-in-ubuntu-linux.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-3648775450669604953</guid><pubDate>Fri, 18 May 2012 01:06:00 +0000</pubDate><atom:updated>2012-05-23T14:37:42.336+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">12.04</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Failed Installing Java on Ubuntu 12.04? Here Are The Workaround</title><description>If you happen to experience the same flaw to installing Java on Ubuntu 12.04, then you could do these steps:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 130px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;&quot;&gt;sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer&lt;/pre&gt;
&lt;br /&gt;
Proven to be worked well :) Credit goes to the Ubuntu Forum thread &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1977483&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;</description><link>http://www.gadgetxplorer.com/2012/05/failed-installilng-java-on-ubuntu-1204.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-8040995244007737278</guid><pubDate>Tue, 17 Apr 2012 01:20:00 +0000</pubDate><atom:updated>2012-04-17T08:20:42.686+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">10.04</category><category domain="http://www.blogger.com/atom/ns#">11.04</category><category domain="http://www.blogger.com/atom/ns#">12.04</category><category domain="http://www.blogger.com/atom/ns#">9.04</category><category domain="http://www.blogger.com/atom/ns#">apple</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">lion</category><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><category domain="http://www.blogger.com/atom/ns#">vim</category><title>Want to access Simplenote from Vim? Use Vimplenote!</title><description>If you&#39;re the person who always logging anything like I do, probably you should try &lt;a href=&quot;http://www.simplenoteapp.com/&quot; target=&quot;_blank&quot;&gt;Simplenote&lt;/a&gt; , &quot;easy way to keep notes, lists, ideas, and more&quot; -- that&#39;s what they say in their website :)&lt;br /&gt;
&lt;br /&gt;
For me, the ubiquity to using their service in many platform is their advantage. As a &lt;a href=&quot;http://www.vim.org/&quot; target=&quot;_blank&quot;&gt;vim&lt;/a&gt; user, fortunately there are already many plugins to support my need in using Simplenote service, and one of them is &lt;a href=&quot;https://github.com/mattn/vimplenote-vim&quot; target=&quot;_blank&quot;&gt;Vimplenote&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
One reason for choosing Vimplenote than another plugins is because it&#39;s the easiest one to configure. I also using &lt;a href=&quot;https://github.com/gmarik/vundle&quot; target=&quot;_blank&quot;&gt;Vundle&lt;/a&gt;, Vim package manager to install and manage my vim plugins.&lt;br /&gt;
&lt;br /&gt;
Enough said, just follow my steps to do it:&lt;br /&gt;
1. I prefer clean install, so move your ~/.vim and archive it&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ mv ~/.vim ~/.vim-bk&lt;/blockquote&gt;
2. Create new ~/.vim and ~/.vim/bundle (to contain your plugins)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ mkdir -p ~/.vim/bundle&lt;/blockquote&gt;
3. Setup Vundle&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle&lt;/blockquote&gt;
4. Configuring .vimrc&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre&gt; &lt;span class=&quot;k&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;nocompatible&lt;/span&gt;               &lt;span class=&quot;c&quot;&gt;&quot; be iMproved&lt;/span&gt;
 &lt;span class=&quot;k&quot;&gt;filetype&lt;/span&gt; off                   &lt;span class=&quot;c&quot;&gt;&quot; required!&lt;/span&gt;

 &lt;span class=&quot;k&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rtp&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;+=~&lt;/span&gt;&lt;span class=&quot;sr&quot;&gt;/.vim/&lt;/span&gt;bundle&lt;span class=&quot;sr&quot;&gt;/vundle/&lt;/span&gt;
 &lt;span class=&quot;k&quot;&gt;call&lt;/span&gt; vundle#rc&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt; &quot; let Vundle manage Vundle&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot; required! &lt;/span&gt;
 Bundle &lt;span class=&quot;s1&quot;&gt;&#39;gmarik/vundle&#39;&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt; &quot; My Bundles here:&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot;&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot; original repos on github&lt;/span&gt;
Bundle &#39;mattn/vimplenote&#39;&lt;/pre&gt;
&lt;pre&gt;Bundle &#39;mattn/webapi&#39;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;c&quot;&gt; &quot; ...&lt;/span&gt;

 &lt;span class=&quot;k&quot;&gt;filetype&lt;/span&gt; plugin indent &lt;span class=&quot;k&quot;&gt;on&lt;/span&gt;     &lt;span class=&quot;c&quot;&gt;&quot; required! &lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot;&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot; Brief help&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot; :BundleList          - list configured bundles&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot; :BundleInstall(!)    - install(update) bundles&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot; :BundleSearch(!) foo - search(or refresh cache first) for foo&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot; :BundleClean(!)      - confirm(or auto-approve) removal of unused bundles&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot;&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot; see :h vundle for more details or wiki for FAQ&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt; &quot; NOTE: comments after Bundle command are not allowed.. &lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
5.&amp;nbsp; Get webapi-vim and vimplenote-vim&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ git clone git://github.com/mattn/webapi-vim.git ~/.vim/bundle/webapi&lt;br /&gt;$ git clone git://github.com/mattn/vimplenote-vim.git ~/.vim/bundle/vimplenote&lt;/blockquote&gt;
6. Running and installing bundle&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ vim&lt;br /&gt;:BundleInstall&lt;/blockquote&gt;
7. Using Vimplenote (do it inside vim)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
:Vimplenote -l &amp;nbsp; &amp;nbsp; &quot; list of your Simplenote notes (you&#39;ll be prompted to fill in login credentials)&lt;br /&gt;:Vimplenote -d&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot; delete your current note&lt;br /&gt;:Vimplenote -n&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot; create new note&lt;br /&gt;:Vimplenote -u&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot; update current note&lt;br /&gt;:Vimplenote -t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot; add a tag to a note&lt;br /&gt;:Vimplenote -s&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot; search a note&lt;/blockquote&gt;
And you&#39;re good to go :)&lt;br /&gt;
&lt;br /&gt;
You can also see the README file in every plugin page to see additional info.</description><link>http://www.gadgetxplorer.com/2012/04/want-to-access-simplenote-from-vim-use.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-5422321826583052213</guid><pubDate>Thu, 29 Dec 2011 08:14:00 +0000</pubDate><atom:updated>2011-12-29T15:14:42.878+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">hp</category><category domain="http://www.blogger.com/atom/ns#">palm</category><category domain="http://www.blogger.com/atom/ns#">pre</category><category domain="http://www.blogger.com/atom/ns#">webos</category><title>Virtual Keyboard on #Pre2 #webOS</title><description>Testing this on my Pre2 running #webOS 2.2.4 and works fine, so far :)&lt;br /&gt;
&lt;br /&gt;
See the forum thread &lt;a href=&quot;http://forums.webosnation.com/webos-patches/304844-patch-virtual-keyboard.html#post3221621&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;, check out the #1 post, then follow the detail steps below:&lt;br /&gt;
1. Download luna.conf.patch for webOS 2.x from Arthur Thornton (on that #1 post)&lt;br /&gt;
3. Download VKB-1.1.4.zip (also on that #1 post, depending on your webOS version)&lt;br /&gt;
4. Install luna.conf.patch to your Pre 2 using webOS Quick Install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPuQH5zvN00LcDBnZKjnmVFgzSFQZkPjD9V-913hrQ38NMqBTXsYhKV0mWkTnCEcu5rYgIyxVmxslPm77Epe2TRl2YnmXemRnxDPRF8SJ7NJ7bpJJUPouIoz59cCbgE4F37wGF9LIv75dq/s1600/Screen+Shot+2011-12-29+at+3.06.23+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;203&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPuQH5zvN00LcDBnZKjnmVFgzSFQZkPjD9V-913hrQ38NMqBTXsYhKV0mWkTnCEcu5rYgIyxVmxslPm77Epe2TRl2YnmXemRnxDPRF8SJ7NJ7bpJJUPouIoz59cCbgE4F37wGF9LIv75dq/s320/Screen+Shot+2011-12-29+at+3.06.23+PM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
5. Unzip VKB-1.1.4.zip, you&#39;ve got VKB.sh and send that file to your Pre 2 (e.g to /media/internal)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1Iw-Hx3hLmkpah4RRqUJFYoXUzptYJvL9DwTW1YWqVqs0zS9Fhy9idgpZPrYnwBDrlgOC_Flq38gzRzODUCxkXnrr6tfenDioL74lxrdIjEFs58Oi4N-U3zdcfL4vsQpSuSPKDz7ASPpy/s1600/Screen+Shot+2011-12-29+at+3.06.58+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1Iw-Hx3hLmkpah4RRqUJFYoXUzptYJvL9DwTW1YWqVqs0zS9Fhy9idgpZPrYnwBDrlgOC_Flq38gzRzODUCxkXnrr6tfenDioL74lxrdIjEFs58Oi4N-U3zdcfL4vsQpSuSPKDz7ASPpy/s320/Screen+Shot+2011-12-29+at+3.06.58+PM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
6. Accessing linux in your Pre 2 using webOS Quick Install or novaterm through Windows Command Prompt / Linux Terminal&lt;br /&gt;
7. Go to /media/internal directory: # cd /media/internal&lt;br /&gt;
8. Run this command: # VKB.sh -patch&lt;br /&gt;
9. Your Pre 2 will boot automatically&lt;br /&gt;
10. You&#39;ve got the Virtual Keyboard by swiping up from gesture area&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnkLRzK3yfMntp_4q6rC5fZIUwmvHCxjMkNKIgHoVgci7OtCK0qmfuYLowosCLn3ZIIYfJmEb2mIPq4HIm6XX1DCZ4AvL-svLlqPLQd02P-Nu_x4o-z_742wHikGr6v80X11-W75MN-hNn/s1600/Unknown_2011-29-12_150516.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnkLRzK3yfMntp_4q6rC5fZIUwmvHCxjMkNKIgHoVgci7OtCK0qmfuYLowosCLn3ZIIYfJmEb2mIPq4HIm6XX1DCZ4AvL-svLlqPLQd02P-Nu_x4o-z_742wHikGr6v80X11-W75MN-hNn/s320/Unknown_2011-29-12_150516.png&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://www.gadgetxplorer.com/2011/12/virtual-keyboard-on-pre2-webos.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPuQH5zvN00LcDBnZKjnmVFgzSFQZkPjD9V-913hrQ38NMqBTXsYhKV0mWkTnCEcu5rYgIyxVmxslPm77Epe2TRl2YnmXemRnxDPRF8SJ7NJ7bpJJUPouIoz59cCbgE4F37wGF9LIv75dq/s72-c/Screen+Shot+2011-12-29+at+3.06.23+PM.png" height="72" width="72"/><thr:total>7</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-8878637875802170144</guid><pubDate>Tue, 27 Dec 2011 04:00:00 +0000</pubDate><atom:updated>2011-12-27T11:00:28.693+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">hp</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">palm</category><category domain="http://www.blogger.com/atom/ns#">pre</category><category domain="http://www.blogger.com/atom/ns#">touchpad</category><category domain="http://www.blogger.com/atom/ns#">webos</category><title>Live Partitioning HP TouchPad #webos</title><description>You can see the source of this blogpost &lt;a href=&quot;http://www.webos-internals.org/wiki/UbuntuChroot#Alternative_Step_1:_Re-partitioning_by_hand&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. I just re-write on my blogpost according to my own experience, trials and errors :)&lt;br /&gt;
&lt;br /&gt;
I assume that you already have all requirement to connect to your TouchPad (Palm SDK, Linux Access, etc.)&lt;br /&gt;
&lt;br /&gt;
Here&#39;s what you have to do:&lt;br /&gt;
1. Check the actual space used by /media/internal, write down or take screenshot&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# df -h | grep internal&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBAsdjQb4fYLLWo9agrKGg8WgZsOgF9jiauti970YjiSy_bm06oVIqCsTfkkGGG4_bWWz56UODe0zgghjXhlw3eawafW6DXiMPUErxYidnoquL1WQnMUtudi7FBV_ygy6wIVzFXvZOrJOl/s1600/Screen+Shot+2011-11-11+at+2.16.36+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBAsdjQb4fYLLWo9agrKGg8WgZsOgF9jiauti970YjiSy_bm06oVIqCsTfkkGGG4_bWWz56UODe0zgghjXhlw3eawafW6DXiMPUErxYidnoquL1WQnMUtudi7FBV_ygy6wIVzFXvZOrJOl/s400/Screen+Shot+2011-11-11+at+2.16.36+PM.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;2. Disconnect cryptofs&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# pkill -SIGUSR1 cryptofs&lt;/blockquote&gt;
3. Unmount /media/internal&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# umount /media/internal&lt;/blockquote&gt;
4. Verifying you have clean filesystem, before resizing (in my case, there are differences between boot sector and its backup, but I just choose &#39;no action&#39; )&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# /usr/sbin/fsck.vfat /dev/mapper/store-media&lt;/blockquote&gt;
5. Verify how much space used by /media/internal&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# lvscan | grep media&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqiRTsWiXsneozyeGdIPX16aSXEva0daCD8Lqvh0xn2vuICe3-3y5C1A2bqmSh9kCIJrcpPY7TXkaZAd8GnPSZKy1qfycbnkvT8SCEURzILFidqM1j5O_0bM7vesUmZmKJtLVUNVv4N_p4/s1600/Screen+Shot+2011-11-21+at+1.55.39+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqiRTsWiXsneozyeGdIPX16aSXEva0daCD8Lqvh0xn2vuICe3-3y5C1A2bqmSh9kCIJrcpPY7TXkaZAd8GnPSZKy1qfycbnkvT8SCEURzILFidqM1j5O_0bM7vesUmZmKJtLVUNVv4N_p4/s400/Screen+Shot+2011-11-21+at+1.55.39+PM.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
6. Decide and take space allocated for ext3fs partition (I took 2GB ext3fs partition for DebianChroot, so I resize /dev/mapper/store-media became 10.64G, from 12.64G)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# resizefat /dev/mapper/store-media 10.64G&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje8e4w4J5C-iRVdR9wwuGBAZTYt6JAWRf3sIkeUCrDJGClBG9XjD4GY5_JNQR2wn27yrCJF_ywR7q-nt3QOKJdGS_XZuyrzfikgUNBMoWuiA_8nRvnNU_XqGk9lPw5G90umUORKLOX0_TR/s1600/Screen+Shot+2011-11-21+at+2.38.51+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;93&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje8e4w4J5C-iRVdR9wwuGBAZTYt6JAWRf3sIkeUCrDJGClBG9XjD4GY5_JNQR2wn27yrCJF_ywR7q-nt3QOKJdGS_XZuyrzfikgUNBMoWuiA_8nRvnNU_XqGk9lPw5G90umUORKLOX0_TR/s400/Screen+Shot+2011-11-21+at+2.38.51+PM.png&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
7. # lvresize -L 10.64G /dev/mapper/store-media &lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzekOh-ArSp80zYEHeb3uqjPEGkKCTzGgIX-Qvfpctj1neM8D0LMyCNEiL654RyCle-zKZ2WVIf5_AYZu7x3mFaqE35NDtnYh5xVXPjJK77pX5CM6EX06TrAcZxTmErytPBv8YF_E5AYT3/s1600/Screen+Shot+2011-11-21+at+2.40.52+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;293&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzekOh-ArSp80zYEHeb3uqjPEGkKCTzGgIX-Qvfpctj1neM8D0LMyCNEiL654RyCle-zKZ2WVIf5_AYZu7x3mFaqE35NDtnYh5xVXPjJK77pX5CM6EX06TrAcZxTmErytPBv8YF_E5AYT3/s400/Screen+Shot+2011-11-21+at+2.40.52+PM.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
8. Use free 2G partition to make ext3fs partition&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# lvcreate -l 100%FREE -n ext3fs store&lt;/blockquote&gt;
9. Format the partition with ext3 filesystem&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# mkfs.ext3 /dev/mapper/store-ext3fs&lt;/blockquote&gt;
10. Make the filesystem writable&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# mount -o remount,rw /&lt;/blockquote&gt;
11. Make mount directory&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# mkdir /media/ext3fs&lt;/blockquote&gt;
12. Add a line in /etc/fstab to automount ext3fs partition on boot up&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# echo &quot;/dev/mapper/store-ext3fs /media/ext3fs auto noatime 0 0&quot; &amp;gt;&amp;gt; /etc/fstab&lt;/blockquote&gt;
13. Make the filesystem back to read-only&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# mount -o remount,ro /&lt;/blockquote&gt;
14. Reboot&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# reboot&lt;/blockquote&gt;
&lt;br /&gt;
That&#39;s it! And I&#39;m pretty sure that you can apply this to any webOS devices :)</description><link>http://www.gadgetxplorer.com/2011/12/live-partitioning-hp-touchpad-webos.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBAsdjQb4fYLLWo9agrKGg8WgZsOgF9jiauti970YjiSy_bm06oVIqCsTfkkGGG4_bWWz56UODe0zgghjXhlw3eawafW6DXiMPUErxYidnoquL1WQnMUtudi7FBV_ygy6wIVzFXvZOrJOl/s72-c/Screen+Shot+2011-11-11+at+2.16.36+PM.png" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-5641220241782937113</guid><pubDate>Thu, 27 Oct 2011 07:04:00 +0000</pubDate><atom:updated>2011-10-27T14:04:43.007+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">11.04</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">openssl</category><category domain="http://www.blogger.com/atom/ns#">palm</category><category domain="http://www.blogger.com/atom/ns#">pre</category><category domain="http://www.blogger.com/atom/ns#">SSL</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><category domain="http://www.blogger.com/atom/ns#">webos</category><title>Generate X.509 CER File For #webOS Using openssl</title><description>Recently I&#39;ve got a problem with SSL certificate for outgoing mail server on my Palm Pre. Here&#39;s what the error look like:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAB8cR8nPyuD4VDyfO0KDIb4f-lPkop2t4FQTyHk6HyaYevrxTuc47P-sk9z4RxZNm3GFCZ0LqK0w_xZwQFE4tax7Rl83hMFTz_tkjv6THbGgHCV9cA5arXqpCBTuhaEM7EgLdRf1cs-hH/s1600/email_2011-19-08_125202.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAB8cR8nPyuD4VDyfO0KDIb4f-lPkop2t4FQTyHk6HyaYevrxTuc47P-sk9z4RxZNm3GFCZ0LqK0w_xZwQFE4tax7Rl83hMFTz_tkjv6THbGgHCV9cA5arXqpCBTuhaEM7EgLdRf1cs-hH/s320/email_2011-19-08_125202.png&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I looked around in the internet to find a solutions, then I found this page (forgot about the link, but I&#39;m certain that was Palm Support page) that says mail server&#39;s certificate should be in X.509 (CER) file format:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJC1TBMjBpphxoKgBtKhEKZYOkiiSK98PHFx6EmXI_IRSP8It6IK5wTNWBBT6lFrgvnMO8StCtES83xIxIef-i_QPjUMQ7rshv3IytsdqAwDcnh5C6dFMFKLvAHx3rx0ymXx5q1QrPAHbQ/s1600/browser_2011-20-08_082854.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; id=&quot;:current_picnik_image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcQK5sL7CLnZn1xZo6FzfrTzo-7InZu3OzCQOfymVfgtfNS3uET2d6W4-_YTYrmFpoaC6VR-Z1T0QH9Je9raI2ML2YEqP1E1sRNrJ_WDGS5piLm2igFOKEvoe2GKeWluRzar4Rb98WgWKw/s400/17019378125_NPsM2.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Already asked System Administrator to send me the file, but it takes too long. So initiatively I look another way to provide the certificate file myself, and I can do it using openssl command in Ubuntu Linux (You can use openssl in Windows as well). First, I create a script that generate the certificate I need from mail server, name the file any name you want (you can see in the script I used retrieve-cert.sh):&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre class=&quot;programlisting&quot;&gt;#!/bin/sh
#
# usage: retrieve-cert.sh remote.host.name [port]
#
REMHOST=$1
REMPORT=${2:-443}

echo |\
openssl s_client -connect ${REMHOST}:${REMPORT} 2&amp;gt;&amp;amp;1 |\
sed -ne &#39;/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p&#39;&lt;/pre&gt;
&lt;/blockquote&gt;
Add execute (+x) on file properties, then run the files:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ chmod + retrieve-cert.sh&lt;br /&gt;$ ./retrieve-cert.sh mail.server.hostname 465 &amp;gt;&amp;gt; coid.cer&lt;/blockquote&gt;
As you can see, I&#39;m adding &#39;&amp;gt;&amp;gt; mycert.cer&#39; to save the results directly to mycert.cer file, at the command above. Sure I can add this to the script, but this way I can generate any file name I want :) &lt;br /&gt;
&lt;br /&gt;
Then, you must convert that .cer file into X.509 format:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$ openssl x509 -in coid.cer -out coidx509.cer&lt;/blockquote&gt;
And you&#39;re finish. You can send coidx509.cer file via email that already setup on your Pre, or you can transfer it via USB mode and open it using &lt;a href=&quot;http://www.precentral.net/internalz&quot;&gt;Internalz.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
When you tap on that file, Certificates Manager window will open and ask what do you want to do with it:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK03OrcIft929FgZVgYUPxOa33HJhze-OP8sj3r1h4W0wmw3pY4QpHvQRAiS2I0m-jXxp3M5p34536Ni0EgVdNFmPGMLlEZyVmeI2xNKg-92X8sgThzouySgcY__BQ0wNaDG4jmNZEIVbX/s1600/certificate_2011-27-10_130621.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK03OrcIft929FgZVgYUPxOa33HJhze-OP8sj3r1h4W0wmw3pY4QpHvQRAiS2I0m-jXxp3M5p34536Ni0EgVdNFmPGMLlEZyVmeI2xNKg-92X8sgThzouySgcY__BQ0wNaDG4jmNZEIVbX/s320/certificate_2011-27-10_130621.png&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Just tap on &#39;Trust Certificate&#39;. If you want to see it later, open &#39;Device Info&#39; on your launcher, then tap drop-down menu on top left, tap on &#39;Certificate Manager...&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoyeBruQ4cB5Lj6Z9053iBXnE7XZBGWaI6QiGhuPEPCV8nkshWWBWzQWhD9UQQQaA0b0QAnpoE0UitpJ41Kj3T-2dzBLPNUTjSJS1GDoQ3KskQdRHQkGwR1CYz1VxyxFv_3xIGHhDgxTML/s1600/deviceinfo_2011-27-10_130432.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoyeBruQ4cB5Lj6Z9053iBXnE7XZBGWaI6QiGhuPEPCV8nkshWWBWzQWhD9UQQQaA0b0QAnpoE0UitpJ41Kj3T-2dzBLPNUTjSJS1GDoQ3KskQdRHQkGwR1CYz1VxyxFv_3xIGHhDgxTML/s320/deviceinfo_2011-27-10_130432.png&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
That&#39;s it. I setup my mail account once again, and sure it can sent email without any error :)&lt;br /&gt;
&lt;br /&gt;</description><link>http://www.gadgetxplorer.com/2011/10/generate-x509-cer-file-for-webos-using.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAB8cR8nPyuD4VDyfO0KDIb4f-lPkop2t4FQTyHk6HyaYevrxTuc47P-sk9z4RxZNm3GFCZ0LqK0w_xZwQFE4tax7Rl83hMFTz_tkjv6THbGgHCV9cA5arXqpCBTuhaEM7EgLdRf1cs-hH/s72-c/email_2011-19-08_125202.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-7886129795382271848</guid><pubDate>Sun, 23 Oct 2011 07:06:00 +0000</pubDate><atom:updated>2011-10-23T14:06:04.887+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">palm</category><category domain="http://www.blogger.com/atom/ns#">pre</category><category domain="http://www.blogger.com/atom/ns#">webos</category><title>Recovery Mode in #webOS</title><description>Once, I had a difficulty to put my Pre in USB Update Mode. The usual way to turn off the device then turn it on again by holding down &lt;b&gt;volume up&lt;/b&gt; button and &lt;b&gt;power&lt;/b&gt; button didn&#39;t work. So I search the internet for any clue, and I found it &lt;a href=&quot;http://kb.hpwebos.com/wps/portal/kb2/common/article/44768_en.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
These what you need to do:&lt;br /&gt;
a. Connect the USB cable to the AC charger, then into a working outlet&lt;br /&gt;
b. Turn off your webOS device&lt;br /&gt;
c. Remove and reinsert the battery&lt;br /&gt;
d. Press and hold &lt;b&gt;volume up&lt;/b&gt; button, and connect your USB cable (which already connected to AC charger and working outlet) to the device&lt;br /&gt;
&lt;blockquote&gt;
Note: You can press and hold &lt;b&gt;R&lt;/b&gt; key as an alternative to &lt;b&gt;volume up&lt;/b&gt; button&lt;/blockquote&gt;
e. Release the &lt;b&gt;volume up &lt;/b&gt;button (or &lt;b&gt;R&lt;/b&gt; key),&amp;nbsp; when the screen showing large USB icon&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ57ez6tNf16QVEE_ryGGn6Cxey2qM_s50ZrEY1tEpICRXzyZEAprZeIOBTENxpJy5iAMwOHccKN1xxZr3Nh3jlDwvSJT7u5GTavUW2WGrQhtC437Yk3MuM2wJ6_ad1ZRZUhyphenhyphen2hym5vhnI/s1600/USBDriveMode_RecoveryMode_CasS09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ57ez6tNf16QVEE_ryGGn6Cxey2qM_s50ZrEY1tEpICRXzyZEAprZeIOBTENxpJy5iAMwOHccKN1xxZr3Nh3jlDwvSJT7u5GTavUW2WGrQhtC437Yk3MuM2wJ6_ad1ZRZUhyphenhyphen2hym5vhnI/s1600/USBDriveMode_RecoveryMode_CasS09.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
f. run webOS Doctor&lt;br /&gt;
&lt;br /&gt;
I&#39;ve tried this and it works. Hope this works for you, as well :)&lt;br /&gt;
&lt;br /&gt;</description><link>http://www.gadgetxplorer.com/2011/10/recovery-mode-in-webos.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ57ez6tNf16QVEE_ryGGn6Cxey2qM_s50ZrEY1tEpICRXzyZEAprZeIOBTENxpJy5iAMwOHccKN1xxZr3Nh3jlDwvSJT7u5GTavUW2WGrQhtC437Yk3MuM2wJ6_ad1ZRZUhyphenhyphen2hym5vhnI/s72-c/USBDriveMode_RecoveryMode_CasS09.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-2384057556667891932</guid><pubDate>Thu, 13 Oct 2011 08:09:00 +0000</pubDate><atom:updated>2011-10-23T14:06:04.891+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">bing maps</category><category domain="http://www.blogger.com/atom/ns#">go aruna</category><category domain="http://www.blogger.com/atom/ns#">google maps</category><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">leopard</category><category domain="http://www.blogger.com/atom/ns#">mac</category><category domain="http://www.blogger.com/atom/ns#">palm</category><category domain="http://www.blogger.com/atom/ns#">pre</category><category domain="http://www.blogger.com/atom/ns#">snow leopard</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><category domain="http://www.blogger.com/atom/ns#">webos</category><title>BingMaps go forth and back to Google Maps</title><description>If you haven&#39;t know yet, there&#39;s an &lt;a href=&quot;http://t.co/0fJvikvq&quot;&gt;update for Google Maps&lt;/a&gt; on your webOS smartphone (Pre, Pixi, Veer), not to another version, but to BingMaps, which is the Maps apps pre-installed in TouchPad.&lt;br /&gt;
&lt;br /&gt;
Like the HP Palm Blog says, you just open App Catalog and download Maps apps from there in order to update your Google Maps.&lt;br /&gt;
&lt;br /&gt;
I did that myself, and not too long after that I decided to get my old Google Maps back. So I open up webOS doctor file and look for Maps application. With the help from #webos-internals on freenode, I found it under /usr/palm/applications in com.palm.app.maps folder. So I re-package it using &lt;a href=&quot;http://forums.precentral.net/canuck-coding/237326-ipk-packager.html&quot;&gt;IPK Packager&lt;/a&gt; from &lt;a href=&quot;http://twitter.com/JayCanuck&quot;&gt;Jason Robbitaile.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
After deleting Maps apps, I installing &lt;a href=&quot;http://goaruna.com/s/wL0fhp4Z&quot;&gt;this file&lt;/a&gt; using &lt;a href=&quot;http://forums.precentral.net/canuck-coding/274461-webos-quick-install-v4-3-1-a.html&quot;&gt;webOS Quick Install (wOSQI)&lt;/a&gt;, again from Jason, and I&#39;ve got my Google Maps back :)&lt;br /&gt;
 &lt;br /&gt;</description><link>http://www.gadgetxplorer.com/2011/10/bingmaps-go-forth-and-back-to-google.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-372596115120317620</guid><pubDate>Thu, 13 Oct 2011 07:51:00 +0000</pubDate><atom:updated>2011-10-13T14:51:12.196+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">10.04</category><category domain="http://www.blogger.com/atom/ns#">firefox</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Newest Firefox Version for Ubuntu 10.04</title><description>Default repository on Ubuntu 10.04 prevent us to have version of Firefox above 3.6.x, but with this simple workaround, you can get newest version (7.0.1) for Firefox and Thunderbird, also.&lt;br /&gt;
&lt;br /&gt;
What you have to do is adding this line into /etc/apt/sources.list:&lt;br /&gt;
&lt;blockquote&gt;
#Firefox-Stable&lt;br /&gt;deb http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu hardy main&lt;br /&gt;deb-src http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu hardy main&lt;/blockquote&gt;
Do the regular:&lt;br /&gt;
&lt;blockquote&gt;
$ sudo apt-get update&lt;br /&gt;$ sudo apt-get install firefox&lt;/blockquote&gt;
And it&#39;s done! :)&lt;br /&gt;
 &lt;br /&gt;</description><link>http://www.gadgetxplorer.com/2011/10/newest-firefox-version-for-ubuntu-1004.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5793580293746047286.post-726675589231957548</guid><pubDate>Thu, 13 Oct 2011 06:25:00 +0000</pubDate><atom:updated>2011-10-13T13:25:33.071+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">11.04</category><category domain="http://www.blogger.com/atom/ns#">fluxbox</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Fluxbox installation on Ubuntu Server</title><description>Here&#39;s what you need to have a decent &lt;a href=&quot;http://www.fluxbox.org/&quot;&gt;Fluxbox&lt;/a&gt; windowmanager on Ubuntu Server. After all, you don&#39;t need a heavy windowmanager on your server :)&lt;br /&gt;
&lt;blockquote&gt;
$ sudo apt-get install fluxbox fbpager fbdesk xserver-xorg xfs xfonts-terminus-oblique xfonts-100dpi xfonts-75dpi xfonts-scalable xinit&lt;/blockquote&gt;
&amp;nbsp;And that&#39;s it! :)&lt;br /&gt;
 &lt;br /&gt;</description><link>http://www.gadgetxplorer.com/2011/10/fluxbox-installation-on-ubuntu-server.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item></channel></rss>