<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='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'><id>tag:blogger.com,1999:blog-1608453358814706341</id><updated>2026-06-28T02:57:28.462-04:00</updated><category term="software"/><category term="hardware"/><category term="Linux"/><category term="VOIP"/><category term="LDAP"/><category term="Samba"/><category term="Asterisk"/><category term="cell phone"/><category term="GPS"/><category term="WebOS"/><category term="note"/><category term="MySQL"/><title type='text'>Web Notebook</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>124</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-7191135455749006288</id><published>2015-03-30T22:58:00.001-04:00</published><updated>2015-03-30T23:00:57.231-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><category scheme="http://www.blogger.com/atom/ns#" term="VOIP"/><title type='text'>Block Asterisk SIP registrations from internet/WAN hackers with iptables/shorewall</title><content type='html'>As a result of hundreds of hacking attempts targeted at my Asterisk server from internet, I&#39;ve installed Fail2ban to automatically ban the IP addresses of the hackers from accessing after 3 failed attempts with the following in my jail.conf&lt;br /&gt;
&lt;code&gt;[asterisk-udp]&lt;br /&gt;
&lt;br /&gt;
enabled &amp;nbsp;= true&lt;br /&gt;
filter &amp;nbsp; = asterisk&lt;br /&gt;
action &amp;nbsp; = iptables-multiport[name=asterisk-udp, port=&quot;5060&quot;, protocol=udp]&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sendmail-whois[name=Asterisk-udp, dest=root, sender=root]&lt;br /&gt;
logpath &amp;nbsp;= /var/log/asterisk/messages&lt;br /&gt;
maxretry = 3&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
However, then I started to receive hundreds of email from Fail2ban telling me IP address were banned by it one after another. Below is an example email for banning an IP address in France:&lt;br /&gt;
&lt;code&gt;Hi,&lt;/code&gt;&lt;br /&gt;
&lt;pre wrap=&quot;&quot;&gt;The IP 195.154.38.225 has just been banned by Fail2Ban after
63 attempts against Asterisk-udp.


Here is more information about 195.154.38.225:

[Querying whois.ripe.net]
[whois.ripe.net]
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See &lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://www.ripe.net/db/support/db-terms-conditions.pdf&quot;&gt;http://www.ripe.net/db/support/db-terms-conditions.pdf&lt;/a&gt;

% Note: this output has been filtered.
%       To receive output for a database update, use the &quot;-B&quot; flag.

% Information related to &#39;195.154.38.0 - 195.154.39.255&#39;

% Abuse contact for &#39;195.154.38.0 - 195.154.39.255&#39; is &#39;&lt;a class=&quot;moz-txt-link-abbreviated&quot; href=&quot;mailto:abuse@proxad.net&quot;&gt;abuse@proxad.net&lt;/a&gt;&#39;

inetnum:        195.154.38.0 - 195.154.39.255
netname:        ISDNET-4
descr:          Tiscali France Backbone
country:        FR
admin-c:        BG34
tech-c:         TTFR1-RIPE
status:         ASSIGNED PA
mnt-by:         MNT-TISCALIFR
source:         RIPE # Filtered

role:           Tiscali Telecom France Registry
remarks:        now known as Online S.A.S. / Iliad-Entreprises
address:        8 rue de la ville l&#39;Ã©vÃ¨que
address:        75008 Paris
address:        France
abuse-mailbox:  &lt;a class=&quot;moz-txt-link-abbreviated&quot; href=&quot;mailto:abuse@iliad-entreprises.fr&quot;&gt;abuse@iliad-entreprises.fr&lt;/a&gt;
admin-c:        IENT-RIPE
tech-c:         IENT-RIPE
tech-c:         NR1053-RIPE
nic-hdl:        TTFR1-RIPE
mnt-by:         MNT-TISCALIFR
source:         RIPE # Filtered

person:         Benoit Grange
address:        Tiscali Telecom
address:        37 bis rue Greneta
address:        75002 Paris - France
phone:          +33 1 45 08 20 00
fax-no:         +33 1 45 08 20 01
remarks:        +-----------------------------------------------------------------------+
remarks:        | ATTENTION: Pour nous signaler un probleme (intrusion, spam, etc),     |
remarks:        | merci de respecter la procedure suivante:                             |
remarks:        | Envoyer un mail a &lt;a class=&quot;moz-txt-link-rfc2396E&quot; href=&quot;mailto:abuse@tiscali.fr&quot;&gt;&quot;abuse@tiscali.fr&quot;&lt;/a&gt; avec les informations suivantes: |
remarks:        | - date &amp;amp; heure (y compris le fuseau horaire ou l&#39;heure GMT)           |
remarks:        | - adresse IP source ou toutes les en-tetes du mail                    |
remarks:        | - nature du probleme (en quelques mots)                               |
remarks:        | Nous ne repondons pas aux demandes par telephone.                     |
remarks:        | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
remarks:        | Je ne suis que le representant legal de Tiscali et non pas            |
remarks:        | l&#39;utilisateur final de l&#39;adresse IP renvoyee par votre firewall       |
remarks:        | Les adresses IP sont generalement allouees dynamiquement a nos abonnes|
remarks:        | et donc votre logiciel ne peut PAS connaitre le nom de l&#39;utilisateur  |
remarks:        | reel de l&#39;IP. Merci d&#39;avoir lu jusqu&#39;au bout.                         |
remarks:        +-----------------------------------------------------------------------+
nic-hdl:        BG34
mnt-by:         MNT-TISCALIFR
source:         RIPE # Filtered

% Information related to &#39;195.154.0.0/16AS12876&#39;

route:          195.154.0.0/16
descr:          Online SAS
descr:          Paris, France
origin:         AS12876
mnt-by:         MNT-TISCALIFR
source:         RIPE # Filtered

% This query was served by the RIPE Database Query Service version 1.78 (DB-3)

Regards,

Fail2Ban&lt;/pre&gt;
&lt;br /&gt;
I&#39;ve had enough such emails therefore I started looking for a way to &lt;b&gt;block these hacking attempts from reaching my Asterisk server. &lt;/b&gt;I had shorewall installed on the Asterisk server as my firewall and NAT router. It has interface &lt;b&gt;net &lt;/b&gt;defined on the&amp;nbsp;internet/WAN side and the iptables chain &lt;b&gt;net2fw&lt;/b&gt; is relevant for managing the traffic from internet to my firewall.&lt;br /&gt;
Therefore I added the following into&amp;nbsp;&lt;i&gt;/etc/shorewall/started &lt;/i&gt;to drop all SIP registration packets (containing string&amp;nbsp;&lt;i&gt;&quot;REGISTER sip:&quot;&lt;/i&gt;)&amp;nbsp;from internet destined to UDP port 5060&amp;nbsp;of my firewall&lt;br /&gt;
&lt;code&gt;/usr/sbin/iptables -I net2fw -p udp -m udp --dport 5060 -m string --string &quot;REGISTER sip:&quot; --algo bm -j DROP&lt;/code&gt;&lt;br /&gt;
The &lt;i&gt;--algo&lt;/i&gt; is a required parameter that specifies the pattern matching strategy (bm = Boyer-Moore, kmp = Knuth-Pratt-Morris). After restarting shorewall, the following is shown from iptables&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;i&gt;# iptables -L net2fw&lt;/i&gt;&lt;br /&gt;
Chain net2fw (1 references)&lt;br /&gt;
target &amp;nbsp; &amp;nbsp; prot opt source &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; destination &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
DROP &amp;nbsp; &amp;nbsp; &amp;nbsp; udp &amp;nbsp;-- &amp;nbsp;anywhere &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; anywhere &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; udp dpt:sip STRING match &amp;nbsp;&quot;REGISTER sip:&quot; ALGO name bm TO 65535&lt;br /&gt;
And I&#39;m happy now that all these annoying hacking attempts are properly handled.</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/7191135455749006288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/7191135455749006288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7191135455749006288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7191135455749006288'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2015/03/block-asterisk-sip-registrations-from.html' title='Block Asterisk SIP registrations from internet/WAN hackers with iptables/shorewall'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-3910603788153319327</id><published>2015-03-10T21:31:00.001-04:00</published><updated>2015-03-10T21:35:37.744-04:00</updated><title type='text'>Sync multiple Google calendars on one google account to PC with Thunderbird Lightning</title><content type='html'>There are more than one way to sync&amp;nbsp;Google calendar to a windows PC but a simple method is to sync via &lt;b&gt;CalDAV by Thunderbird with Lightning&lt;/b&gt; extension . Lightning extension can be installed through the Add-ons menu in Thunderbird after it is installed. Restart Thunderbird to enable Lightning when prompted to do so.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;After the email account is set up, click on the account name on the folder pane on the left in the email tab to show the home page.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Click on the &quot;Calendar&quot; tab then right click on the empty space under the list of calendars on the left pane. The click on &quot;New Calendar...&quot;&lt;/li&gt;
&lt;li&gt;Select a Network calendar&lt;/li&gt;
&lt;/ul&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/AVvXsEi0QtqZ0BkyBwbOxcieFsJUKUAGgxTlg_vOTdF3J5parwXYDdPTGmWsvE-nQ84yPtWsK3YFfFwjDrO2UsEbgq2xo1UUGA3nvslDu04Fz9cJGgLtK03Npluf2489AYbGNo4CsLRJWwew6Otj/s1600/step1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0QtqZ0BkyBwbOxcieFsJUKUAGgxTlg_vOTdF3J5parwXYDdPTGmWsvE-nQ84yPtWsK3YFfFwjDrO2UsEbgq2xo1UUGA3nvslDu04Fz9cJGgLtK03Npluf2489AYbGNo4CsLRJWwew6Otj/s1600/step1.png&quot; height=&quot;256&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&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/AVvXsEgz0gihmBGfD2FU3wA3Uo-P56GmnP6fDYXtv0PvEbIohfpGGyswQpwT3P-0pHgPypYVRFS8c8Sn76kl_SfBn3flw4qnitnh3ojjWjj_W05oTgkDbMpbbbp5KAgytt_RCItY22J5xgV-LMk0/s1600/step2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Select the CalDAV format and enter the following as location&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;code&gt;https://apidata.googleusercontent.com/caldav/v2/[your-calendar-id]/events&lt;/code&gt;&lt;br /&gt;
Replace&lt;i&gt; [your-calendar-id] &lt;/i&gt;with the Calendar ID found on the &lt;b&gt;Calendar Settings&amp;nbsp;-&amp;gt; Calendar Address&lt;/b&gt; section on your Google calendar. The Calendar ID of your first Google calendar is your Gmail address.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz0gihmBGfD2FU3wA3Uo-P56GmnP6fDYXtv0PvEbIohfpGGyswQpwT3P-0pHgPypYVRFS8c8Sn76kl_SfBn3flw4qnitnh3ojjWjj_W05oTgkDbMpbbbp5KAgytt_RCItY22J5xgV-LMk0/s1600/step2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz0gihmBGfD2FU3wA3Uo-P56GmnP6fDYXtv0PvEbIohfpGGyswQpwT3P-0pHgPypYVRFS8c8Sn76kl_SfBn3flw4qnitnh3ojjWjj_W05oTgkDbMpbbbp5KAgytt_RCItY22J5xgV-LMk0/s1600/step2.png&quot; height=&quot;256&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Enter the username and password of the Google account to authorize Lightning for managing your calendar.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Repeat the above steps to create a calendar file for each of the rest calendars on one Google account. The calendar IDs of these calendars typically end with&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: Arial, sans-serif; font-size: 17.3333339691162px;&quot;&gt;@group.calendar.google.com&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;And you can sit back and enjoy them now.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/3910603788153319327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/3910603788153319327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/3910603788153319327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/3910603788153319327'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2015/03/sync-multiple-google-calendar-on-one.html' title='Sync multiple Google calendars on one google account to PC with Thunderbird Lightning'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0QtqZ0BkyBwbOxcieFsJUKUAGgxTlg_vOTdF3J5parwXYDdPTGmWsvE-nQ84yPtWsK3YFfFwjDrO2UsEbgq2xo1UUGA3nvslDu04Fz9cJGgLtK03Npluf2489AYbGNo4CsLRJWwew6Otj/s72-c/step1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-7800835060894032647</id><published>2014-12-23T22:29:00.000-05:00</published><updated>2014-12-27T19:08:51.505-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Fix slow USB mouse response on my Chromium OS</title><content type='html'>&lt;br /&gt;
&lt;div&gt;
I have a cordless USB mouse Lenovo N50 connected to a MSI X340 laptop with Chromium OS installed on it. The same mouse works flawlessly on a Chromebook Acer C720 but it gets very slow response on the X340 with Chromium OS&lt;span style=&quot;background-color: white; color: #555544; font-family: tahoma, &#39;Trebuchet MS&#39;, lucida, helvetica, sans-serif; font-size: 17.6000003814697px; line-height: 24.9200000762939px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://arnoldthebat.co.uk/wordpress/chromium-os/&quot; style=&quot;background: rgb(255, 255, 255); color: #669922; font-family: tahoma, &#39;Trebuchet MS&#39;, lucida, helvetica, sans-serif; font-size: 17.6000003814697px; font-weight: bold; line-height: 24.9200000762939px; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;ArnoldTheBats&lt;/a&gt;&amp;nbsp;build. The mouse cursor&#39;s movement on the screen always lags that of the actual mouse by noticeable amount of time. I&#39;ve tried changing the mousing setting in Chromium browser or xset in console but neither worked. However, today I was able to fix it after updating the Chromium OS to the latest build by following the steps below:&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;Set my own password for root user&lt;/b&gt;: Go to Developer Console in Chromium (push keys Ctrl- Alt-F2) and log in as user &quot;chronos&quot; with initial password &quot;password&quot;. Then type the following command: &lt;code&gt;&lt;br /&gt;sudo&amp;nbsp;chromeos-setdevpasswd&lt;/code&gt; &lt;br /&gt;and enter the new password&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Become root user&lt;/b&gt; by typing the following command: &lt;code&gt;&lt;br /&gt;sudo su&lt;/code&gt; &lt;br /&gt;and enter the password set in the previous step&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Check network status &lt;/b&gt;with&amp;nbsp;the following command: &lt;code&gt;&lt;br /&gt;ifconfig&amp;nbsp;&lt;/code&gt;In my case, the wireless interface wlan0 is not connected under developer console as no IP address is shown under wlan0. I had to connect an ethernet cable to the laptop to get interface eth0 up.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Update Chromium OS to the latest build &lt;/b&gt;with the following command: &lt;code&gt;update_engine_client --update --omaha_url=http://chromebld.arnoldthebat.co.uk:8080/update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;(May not be necessary) After the above update is successful, type the following command:&lt;code&gt;&lt;br /&gt;sudo stateful_update&amp;nbsp;&lt;/code&gt;In my case, this command actually failed.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Try updating the system again&lt;/b&gt; as the previous command failed:&lt;code&gt;&lt;br /&gt;update_engine_client --update&lt;br /&gt;sudo stateful_update&amp;nbsp;&lt;/code&gt;No need to supply the –omaha-url any more in future updates. It showed that the update succeeded and system needs reboot.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Reboot the system&lt;/b&gt; and now the mouse is as responsive as on the other Chromebook&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Reinstall the Flash plugin: &lt;/b&gt;the update was 32-bit, so&amp;nbsp;I used the first instruction below with the link&amp;nbsp;http://goo.gl/FrT7Q6&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://gist.github.com/rikels/4031126&quot;&gt;32-bit Chromium OS&lt;/a&gt;: uname output i686&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://piiis.blogspot.com/2014/05/enable-flash-and-pdf-plugin-for-64-bit.html&quot;&gt;64-bit Chromium OS&lt;/a&gt;: uname output x86_64&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/7800835060894032647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/7800835060894032647' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7800835060894032647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7800835060894032647'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2014/12/fix-slow-usb-mouse-response-on-my.html' title='Fix slow USB mouse response on my Chromium OS'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-7072877394999728934</id><published>2014-12-22T23:27:00.000-05:00</published><updated>2015-01-05T23:34:09.027-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Samba"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Install Samba 4.1 AD DC on CentOS 7 with yum</title><content type='html'>CentOS 7&#39;s bundled Samba 4 does not provide Active Directory (AD) Domain Controller (DC) functionality due to the incompatibility between the Kerberos 5 libraries used by a Samba 4 AD DC (Heimdal) and those by RHEL/CentOS (MIT). However, Samba 4 binaries (rpms) compiled with Heimdal Kerberos library for CentOS 7 can be obtained from &lt;a href=&quot;https://portal.enterprisesamba.com/&quot;&gt;the Sernet Samba repository&lt;/a&gt;&amp;nbsp;without the need of compiling Samba from its source code.&lt;br /&gt;
&lt;br /&gt;
To download the rpm files with yum, a user account is necessary at&amp;nbsp;&lt;a href=&quot;https://portal.enterprisesamba.com/&quot;&gt;the Sernet Samba repository&lt;/a&gt;. Signing up for a user account at Sernet is totally free and can be done in a minute. Upon successful registration, one can log into the portal and obtain a yum repo file with his username and password embedded in the repo URL. The repo file can be copied to /etc/yum.repos.d and one can then use yum to install the necessary rpms for a Samba 4 AD DC on CentOS 7.&lt;br /&gt;
&lt;br /&gt;
If the bundled Samba 4 was installed in the system, remove it with yum first.&lt;br /&gt;
&amp;nbsp;&lt;code&gt;yum remove samba*&lt;/code&gt;&lt;br /&gt;
The following Samba 4.1 rpms can then be installed from Sernet on CentOS 7 to enable a AD DC&lt;br /&gt;
&lt;code&gt;sernet-samba-libs-4.1.14-9.el7.x86_64&lt;br /&gt;
sernet-build-key-1.1-4.noarch&lt;br /&gt;
sernet-samba-common-4.1.14-9.el7.x86_64&lt;br /&gt;
sernet-samba-libsmbclient0-4.1.14-9.el7.x86_64&lt;br /&gt;
sernet-samba-4.1.14-9.el7.x86_64&lt;br /&gt;
sernet-samba-winbind-4.1.14-9.el7.x86_64&lt;br /&gt;
sernet-samba-ad-4.1.14-9.el7.x86_64&lt;br /&gt;
sernet-samba-client-4.1.14-9.el7.x86_64&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
If there is existing Samba 3&amp;nbsp;NT4-style domain, it can be upgraded to AD type domain with samba-tool, which is installed as part of the packages above. The following &lt;a href=&quot;https://wiki.samba.org/index.php/Samba_Classic_Upgrade_%28NT4-style_domain_to_AD%29&quot;&gt;Samba Classic Upgrade wiki guide provides excellent instructions on the upgrade&lt;/a&gt;. For simplicity, &amp;nbsp;one can use Samba 4&#39;s built-in DNS server for the AD DC. After the upgrade is complete, start the AD DC by&lt;br /&gt;
&lt;code&gt;service&amp;nbsp;sernet-samba-ad start&lt;/code&gt;&lt;br /&gt;
and &lt;a href=&quot;https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO#Testing_Your_Samba_Domain_Controller&quot;&gt;test it following this guide&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/7072877394999728934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/7072877394999728934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7072877394999728934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7072877394999728934'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2014/12/install-samba-41-active-directory-ad.html' title='Install Samba 4.1 AD DC on CentOS 7 with yum'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-2160114333887047707</id><published>2014-12-18T00:16:00.001-05:00</published><updated>2015-03-02T20:22:18.358-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cell phone"/><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><title type='text'>Value phones and inexpensive mobile family plan with 4G LTE data</title><content type='html'>A few smart phones that support 4G LTE data on Sprint&#39;s network were on sale with reasonable prices such as LG Optimus F3, &lt;a href=&quot;http://www.bestbuy.com/site/sprint-prepaid-lg-tribute-no-contract-cell-phone-white-black/8873134.p?id=1219422156582&amp;amp;skuId=8873134&quot;&gt;LG Tribute&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://www.bestbuy.com/site/sprint-prepaid-lg-volt-4g-no-contract-cell-phone-white/8776324.p?id=1219398526233&amp;amp;skuId=8776324&quot;&gt;LG Volt&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://www.bestbuy.com/site/sprint-prepaid-htc-desire-510-no-contract-cell-phone-blue/8873308.p?id=1219386585685&amp;amp;skuId=8873308&quot;&gt;HTC Desire 510&lt;/a&gt;&amp;nbsp;or &lt;a href=&quot;http://www.bestbuy.com/site/boost-mobile-nokia-lumia-635-4g-no-contract-cell-phone-electric-blue/7970003.p?id=1219305268259&amp;amp;skuId=7970003&quot;&gt;Nokia Lumia 635&lt;/a&gt;. Their screen resolutions may not be full HD, but they have decent performance at their price range and in my opinion, they are great phones for Ting, Sprint&#39;s MVNO that has inexpensive mobile family plan.&lt;br /&gt;
&lt;br /&gt;
On Ting, minutes, messages and data are pooled and shared between devices under the same account. You can have as many devices as you want on one account and each device costs $6 per month. There’s no premium charged for a mobile family plan and there isn&#39;t any weird line items on the monthly bills besides the taxes &amp;amp; regulatory fees. For example, to have 4 devices share 1000 minutes, 2000 global messages and 1 GB of 4G LTE data would have a total cost of $69/month plus taxes &amp;amp; regulatory fees&amp;nbsp;at Ting, which is below $20/month per device. The 4G LTE data can be bumped to 2 GB for $10 more. At $79/month, it is still less than what I used to pay for only one device with 2 GB data at Verizon.&lt;br /&gt;
&lt;br /&gt;
Most Sprint phones including these LG ones can be activated on Ting with the built-in hands-free activation after a Carrier Reset ##72786# (##SCRTN#). No flashing is necessary at all and you may also enjoy the 4G LTE data speed instantly with this phone that is not available from Page Plus or with a flashed device. If that doesn&#39;t sound good enough, Ting has started &lt;a href=&quot;https://ting.com/blog/ting-on-a-gsm-network-open-beta-is-well-open/&quot;&gt;testing service on a GSM network since February 2015&lt;/a&gt;, which will allow both CDMA and GSM devices coexist under a single account and share a single pool of minutes, messages and megabytes.&lt;br /&gt;
&lt;br /&gt;
What makes it even better is that Ting is giving out $25 credit for trying their service. The credit may be adequate for a month&#39;s free trial with Ting on one device.&amp;nbsp;&lt;a href=&quot;https://zn5lka3rsq8.ting.com/&quot;&gt;Click on this link&lt;/a&gt;&amp;nbsp;to receive the promotion for $25 credit, which will show up upon successful activation.</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/2160114333887047707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/2160114333887047707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/2160114333887047707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/2160114333887047707'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2014/12/value-phones-and-inexpensive-mobile.html' title='Value phones and inexpensive mobile family plan with 4G LTE data'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-8634173441673444014</id><published>2014-10-30T23:03:00.001-04:00</published><updated>2015-01-21T22:45:57.006-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cell phone"/><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><title type='text'>How to use Sprint LG Tribute with Page Plus (voice and SMS)</title><content type='html'>I bought a &lt;a href=&quot;http://www.bestbuy.com/site/sprint-prepaid-lg-tribute-no-contract-cell-phone-white-black/8873134.p?id=1219422156582&amp;amp;skuId=8873134&quot;&gt;Sprint LG tribute&lt;/a&gt; this week&amp;nbsp;at Bestbuy. &amp;nbsp;For $39.99, it comes with a solid specification:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Arimo, sans-serif; font-size: 13.3333330154419px;&quot;&gt;1.2 GHz Qualcomm Snapdragon 400 (MSM8926)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arimo, sans-serif; font-size: 13.3333330154419px;&quot;&gt;quad-core&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Arimo, sans-serif; font-size: 13.3333330154419px;&quot;&gt;Android&amp;nbsp;&lt;span style=&quot;font-size: 13.3333330154419px;&quot;&gt;version 4.4.2&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Arimo, sans-serif; font-size: 13.3333330154419px;&quot;&gt;&lt;span style=&quot;font-size: 13.3333330154419px;&quot;&gt;&lt;span style=&quot;font-size: 13.3333330154419px;&quot;&gt;&lt;span style=&quot;font-size: 13.3333330154419px;&quot;&gt;4.5&quot; diagonal LCD with&lt;/span&gt;&lt;span class=&quot;semism&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;&lt;/span&gt;480 x 800 pixels&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Arimo, sans-serif; font-size: 13.3333330154419px;&quot;&gt;&lt;span style=&quot;font-size: 13.3333330154419px;&quot;&gt;4G LTE capability&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;Update:&lt;/b&gt;&amp;nbsp;Page Plus phone activation policy is changing and will no longer allow activation of flashed devices after January 15th, 2015. However, this phone is great to use on Sprint&#39;s MVNO &lt;a href=&quot;http://piiis.blogspot.com/2014/12/value-phones-and-inexpensive-mobile.html&quot;&gt;&lt;b&gt;Ting &lt;/b&gt;for its&lt;b&gt;&amp;nbsp;&lt;/b&gt;inexpensive mobile family plan with 4G LTE data&lt;/a&gt;. No flashing is necessary at all for activating it on Ting and you may also enjoy the 4G LTE data speed instantly with this phone that is not available from Page Plus. As of now,&amp;nbsp;Sprint&#39;s MVNO&lt;b&gt; Ting is running a promotion with a $100 credit to new sign ups with a referral until&amp;nbsp;11:59pm EST on December 1, 2014. The credit is adequate for a few month&#39;s free trial with Ting ($12-21/month depending on usage). &lt;a href=&quot;https://zn5lka3rsq8.ting.com/&quot;&gt;Click on this link&lt;/a&gt; to receive the promotion for $100 credit, which will show up upon successful activation.&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiclIIjfeK_0XV5Nyg7QXASW8n8lv9bRIB3UPaO_cb7iWCC-TcWbZWUCDw9Hqod7ykLmES_LYTiv1cCf3iwnnGEKSYhugyiXsQN_PlJ9xvKWvil_ZN2b0g27BxzEM2_Cvf5YSukJfwPf71d/s1600/ting.JPG&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/AVvXsEiclIIjfeK_0XV5Nyg7QXASW8n8lv9bRIB3UPaO_cb7iWCC-TcWbZWUCDw9Hqod7ykLmES_LYTiv1cCf3iwnnGEKSYhugyiXsQN_PlJ9xvKWvil_ZN2b0g27BxzEM2_Cvf5YSukJfwPf71d/s1600/ting.JPG&quot; height=&quot;165&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I&#39;ve had a few phones with Verizon or Page plus and like their signal coverage. Therefore I did the following to use it with Page plus:&lt;br /&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGRXMctYAIRZhjxUTLStygRqm75CQ1dG4u6AZWxEDTDRV6I18q6uupz7X_tgJXfHJVQG4I15oFctVpllZqaWTTISbwkHSo2v0TOJ5fKbND1qI66Lk5g6V2HQ4rpA1Jn6uYTFhSspz3eE3K/s1600/icon.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;
&lt;li&gt;&lt;b&gt;Obtain its MSL/SPC code&lt;/b&gt;: The MSL/SPC code of this phone may be obtained upon activation on &lt;b&gt;&lt;a href=&quot;http://piiis.blogspot.com/2014/12/value-phones-and-inexpensive-mobile.html&quot;&gt;Ting&lt;/a&gt;&lt;/b&gt;. Alternatively you can activate the phone on &lt;b&gt;Ringplus&lt;/b&gt; with its $1.99 Kate plan after entering both its MEID and ICCID (activation would fail without ICCID) and obtained it&#39;s MSL/SPC code&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Enable DIAG mode (Serial/COM port): &lt;/b&gt;Dial ##3424# in the phone dialer then enter the MSL/SPC code obtained in the above step. Change the &lt;b&gt;USB PC connection&lt;/b&gt; in Settings-&amp;gt;Storage (after tapping on the menu icon&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGRXMctYAIRZhjxUTLStygRqm75CQ1dG4u6AZWxEDTDRV6I18q6uupz7X_tgJXfHJVQG4I15oFctVpllZqaWTTISbwkHSo2v0TOJ5fKbND1qI66Lk5g6V2HQ4rpA1Jn6uYTFhSspz3eE3K/s1600/icon.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGRXMctYAIRZhjxUTLStygRqm75CQ1dG4u6AZWxEDTDRV6I18q6uupz7X_tgJXfHJVQG4I15oFctVpllZqaWTTISbwkHSo2v0TOJ5fKbND1qI66Lk5g6V2HQ4rpA1Jn6uYTFhSspz3eE3K/s1600/icon.png&quot; /&gt;&lt;/a&gt;) from MTP to &lt;b&gt;Charge Phone&lt;/b&gt;&amp;nbsp;(important). If USB PC connection is MTP, the windows MTP driver instead of the serial port driver will be installed&amp;nbsp;when the phone is connected to USB.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Download and install the latest LG USB phone driver&lt;/b&gt; (LGUnitedMobileDriver_S51MAN312AP22_ML_WHQL_Ver_3.12.3.exe worked for me)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Connect the phone to the PC via USB&lt;/b&gt;. In windows Device Manager, there is a new deivce installed as&amp;nbsp;&lt;b&gt;LGE AndroidNet USB Serial Port.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Download and install the free software &lt;a href=&quot;https://code.google.com/p/cdmaworkshoptool/downloads/list&quot;&gt;cdmaDevTerm 2.85&lt;/a&gt;&lt;/b&gt;. Extract the zip file with WinZip or 7-Zip to a folder on the hard drive and run the file&amp;nbsp;cdmaDevTerm.exe.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Connect to the phone by clicking on the button &lt;i&gt;connect&lt;/i&gt; as red-boxed below&lt;/b&gt;. It should read out MDN/MIN and other information about the phone when connected.&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgurnjUBK6n0Ey-1vwMQMyJ-LoxUxn_uY0285TlhqufUH7A6Q23y_WJlpQ6hRAWs85lRlt80AM3StIdlay2_H4xVRsjubj8ZtYnzH0vWjYchg42x1yKMhHRtiYg1xIGpe3A-FI7oF4Q0xdF/s1600/connect.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgurnjUBK6n0Ey-1vwMQMyJ-LoxUxn_uY0285TlhqufUH7A6Q23y_WJlpQ6hRAWs85lRlt80AM3StIdlay2_H4xVRsjubj8ZtYnzH0vWjYchg42x1yKMhHRtiYg1xIGpe3A-FI7oF4Q0xdF/s1600/connect.png&quot; height=&quot;176&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Change the SPC to my own &lt;/b&gt;(e.g. 000000). &amp;nbsp;First send the SPC code (manually enter in the box) to the phone by clicking the button &lt;i&gt;send&lt;/i&gt;&amp;nbsp;as red-boxed below. The phone should be unlocked now.&lt;br /&gt;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnEATJmQZY9PjbMhuHa9CZ2inREqkMfYFi43U7_c8bJPZvmI6Z-RFWsnOvjUAruDQiSHDdO9_X6zBcBX4_QAOgpOEjznioAU_iatDlpWy2QbEpvLc2f3T3of_XeKlqHPw26RSfgM4OPerm/s1600/send_spc.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnEATJmQZY9PjbMhuHa9CZ2inREqkMfYFi43U7_c8bJPZvmI6Z-RFWsnOvjUAruDQiSHDdO9_X6zBcBX4_QAOgpOEjznioAU_iatDlpWy2QbEpvLc2f3T3of_XeKlqHPw26RSfgM4OPerm/s1600/send_spc.png&quot; height=&quot;176&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Now enter my own SPC code (e.g. 000000) into the box after SPC and click on the button &lt;i&gt;write&lt;/i&gt; as red-boxed below. The new SPC code can be read back by clicking on the button &lt;i&gt;read &lt;/i&gt;to the left of button &lt;i&gt;write&lt;/i&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSEi-xIgzFIs48CXz0X7BhTsGB94lhxWdy3-OQ0yuW2dF5eAQkFgusxqj5TEYEiyTmwDKwxp8qJk3aV33e0LHxuCBLGNmDSOuD3kwVPaLCvtQc4nP8oONOIfEp2UgYzO3joMiBlAoLYZ2O/s1600/spc_write.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSEi-xIgzFIs48CXz0X7BhTsGB94lhxWdy3-OQ0yuW2dF5eAQkFgusxqj5TEYEiyTmwDKwxp8qJk3aV33e0LHxuCBLGNmDSOuD3kwVPaLCvtQc4nP8oONOIfEp2UgYzO3joMiBlAoLYZ2O/s1600/spc_write.png&quot; height=&quot;176&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Manually program the phone&lt;/b&gt;: (&lt;b&gt;Update:&lt;/b&gt; It is not necessary to cancel plan at Ting or Ringplus prior to the activation of the phone at Page plus.) Activate the phone at Page plus (ESN swap for me as I had a Page Plus phone number on a old device). Obtain the &lt;b&gt;MDN and MIN of the Page plus account&lt;/b&gt; and enter them into the two boxes (leaving the other fields unchanged). Then click the button &lt;i&gt;write&lt;/i&gt; under the button &lt;i&gt;disconnect &lt;/i&gt;as red-boxed below.&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMlInAmEahiQYVC6Lnd9p3C_7TmnL5O5QA9DYwcmT5O0_nzJPwpe61kguc__k9I3Q7JezfbZHK_Qi3Ndnz0tiy0cWZ72g3zeTayvxaTANDm1cQPmXW6Zh4QTK383pk3GBH6Hn4eii_i3fU/s1600/program.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMlInAmEahiQYVC6Lnd9p3C_7TmnL5O5QA9DYwcmT5O0_nzJPwpe61kguc__k9I3Q7JezfbZHK_Qi3Ndnz0tiy0cWZ72g3zeTayvxaTANDm1cQPmXW6Zh4QTK383pk3GBH6Hn4eii_i3fU/s1600/program.png&quot; height=&quot;176&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Write a Verizon PRL to the phone: &lt;/b&gt;Download the PRL from internet and save to the hard drive (e.g.&amp;nbsp;http://www.howardforums.com/showthread.php/1815401-Pageplus-latest-prl-hacked-for-sprint-radio-phones)&lt;br /&gt;1. Click on the &lt;i&gt;select&lt;/i&gt;&amp;nbsp;button to select the .prl file downloaded (53401_spt.prl for sprint phones worked for me)&lt;br /&gt;2. Click on the &lt;i&gt;write&lt;/i&gt; button to write prl to the phone&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPslfIAGgTDhoY0asbbXBQM1Drj8wiFMdePwQarZOd7j5jt6hDbhM0FKC61y_ex4jPCdHqhkNJf1ioc_cneF8xZ4i3T6tyCORPGd-1eT_D2EkZIdz_LmzcAB3ZIg3ZdiUJM1voDghzyt9v/s1600/prl.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPslfIAGgTDhoY0asbbXBQM1Drj8wiFMdePwQarZOd7j5jt6hDbhM0FKC61y_ex4jPCdHqhkNJf1ioc_cneF8xZ4i3T6tyCORPGd-1eT_D2EkZIdz_LmzcAB3ZIg3ZdiUJM1voDghzyt9v/s1600/prl.png&quot; height=&quot;176&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Reset the phone: &lt;/b&gt;Set the MODE of the phone to MODE_RADIO_RESET and click on the &lt;i&gt;send&lt;/i&gt; button to reset the phone&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1tI_jDzU9npNA8nRk-6OMo9GHx9D9Q3Jdb-R83OoSggSialuBB_fWEQwn9cZz3VCLKrPV4eeXr6LUygZErVlBWH6J9S6dIaF8O1Kq1KLih7iMn3UW43tyGmL8qTOU3_AnFp8fKeG0dVOG/s1600/reset.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1tI_jDzU9npNA8nRk-6OMo9GHx9D9Q3Jdb-R83OoSggSialuBB_fWEQwn9cZz3VCLKrPV4eeXr6LUygZErVlBWH6J9S6dIaF8O1Kq1KLih7iMn3UW43tyGmL8qTOU3_AnFp8fKeG0dVOG/s1600/reset.png&quot; height=&quot;200&quot; width=&quot;170&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Make an outgoing call to test. &lt;/b&gt;Worked and also tested with receiving a SMS. The phone is working with Page plus now for voice and SMS. If for some reason, the outgoing call does not go through, repeat the step 8-11.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;3G Data programming: &lt;/b&gt;A Verizon 3G capable phone (donor phone) that can be programmed to write new MEID/ESN and read out HA/AAA key may be necessary. The following &amp;nbsp;guides have detailed instructions on how to get PagePlus 3G data working on non-Verizon phones&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://flashinginfo.wordpress.com/2013/12/15/flash-your-sprint-galaxy-s3-over-to-pageplus-for-free/&quot;&gt;Simple way to Flash Sprint Galaxy S3 to PagePLUS w/ native 3G EVDO FREE&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://innominatethoughts.com/technology/guide-note-3-flash-pageplus-3g-data/&quot;&gt;Guide: Note 3 flash to PagePlus with 3G data&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/8634173441673444014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/8634173441673444014' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/8634173441673444014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/8634173441673444014'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2014/10/how-to-use-sprint-lg-tribute-with-page.html' title='How to use Sprint LG Tribute with Page Plus (voice and SMS)'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiclIIjfeK_0XV5Nyg7QXASW8n8lv9bRIB3UPaO_cb7iWCC-TcWbZWUCDw9Hqod7ykLmES_LYTiv1cCf3iwnnGEKSYhugyiXsQN_PlJ9xvKWvil_ZN2b0g27BxzEM2_Cvf5YSukJfwPf71d/s72-c/ting.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-7098272405836224029</id><published>2014-09-13T13:58:00.004-04:00</published><updated>2014-11-15T18:33:34.314-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><title type='text'>Convert a Korean speaking BlackVue DR550GW-2CH to speak English</title><content type='html'>Today I installed a BlackVue DR550GW-2CH camera on my car. However, I didn&#39;t know that its voice prompt was in Korean until I powered it on. Then I realized the DR550GW-2CH I installed came with a Korean firmware but I don&#39;t understand Korean at all. I tried upgrading its firmware to the official international firmware V2.002E but failed as the device keeps complaining &quot;&lt;b&gt;The verision information is different&lt;/b&gt;&quot; (in English though) after powering on and refuses to work with this firmware on its MicroSD card.&lt;br /&gt;
&lt;br /&gt;
The list below is a step-by-step guide of what I did to change its language to English (&lt;b&gt;after upgrading its Korean firmware to V2.002K&lt;/b&gt;):&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Power off the DR550GW-2CH by unplugging its power cord. Wait until all the LEDs are off (and after some Korean voice prompt probably says it&#39;s powering off) and take out the microSD card. If its Korean firmware is already on V2.002K, Steps 2-4 can be skipped and jump to Step 5 directly. There is possibility that Steps 2-4 might not be necessary at all, but I did them prior to the conversion.&lt;/li&gt;
&lt;li&gt;Make a backup of all the files in the microSD card and then format the card to clean it up. I did the format with Windows explorer as shown in the screenshot below with drive letter K.&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF13-702zd90vOa2V3r_-vmveYrElNcvwr3aSYg-ppC-7_k3QUz066Ol-6mmWHv0mV-Nl5Vij9TJZZipcYGJZvJa1VKHwBNaFh1LrOIjnzDQUvuOl6xWzsjjp83m5XtheR5Gf8N9Mn110Z/s1600/format.png&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/AVvXsEiF13-702zd90vOa2V3r_-vmveYrElNcvwr3aSYg-ppC-7_k3QUz066Ol-6mmWHv0mV-Nl5Vij9TJZZipcYGJZvJa1VKHwBNaFh1LrOIjnzDQUvuOl6xWzsjjp83m5XtheR5Gf8N9Mn110Z/s1600/format.png&quot; height=&quot;400&quot; width=&quot;235&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download the &lt;a href=&quot;http://www.blackvue.co.kr/contents/sub3.asp?mode=view&amp;amp;serboardsort=&amp;amp;page=1&amp;amp;idx=3157&amp;amp;search=title&amp;amp;searchstr=dr550gw&quot; target=&quot;_blank&quot;&gt;Korean firmware V2.002K for DR550GW-2CH&lt;/a&gt; from Blackvue&#39;s Korean website: &lt;a href=&quot;http://www.blackvue.co.kr/common/downloadHIT.asp?downfile=DR550GW-2CH_v2.002K%282014.05.12%29_Window.zip&amp;amp;path=board&amp;amp;idx=3157&amp;amp;sort=0&quot; target=&quot;_blank&quot;&gt;Windows ZIP download link&lt;/a&gt; and extract the folder &lt;b&gt;Blackvue and all the files within it &lt;/b&gt;to the root folder of microSD card (K drive in my case, and there will be a folder of K:\Blackvue after extraction). Inerst the micrSD card back to the device.&lt;/li&gt;
&lt;li&gt;Power on the device and it will say &quot;Start upgrading&quot; in Korean to upgrade the firmware to V2.002K. After upgrading, check to make sure the device works properly.&amp;nbsp;Power off the device and take out the microSD card.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Prepare the conversion files on the microSD card as listed below&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Download the file upload.rar from &lt;a href=&quot;https://yadi.sk/d/6bnOVwooLb3ZH&quot; target=&quot;_blank&quot;&gt;this link&lt;/a&gt; and extract the folder &quot;upload&quot; to the &lt;b&gt;root folder&lt;/b&gt; of the microSD card (&lt;b&gt;NOT&lt;/b&gt; under blackvue). In my case, there will be a folder of K:\upload after extraction. &lt;/li&gt;
&lt;li&gt;Download the file upgrade.cgi from &lt;a href=&quot;https://yadi.sk/d/6wuC76c1Lazum&quot; target=&quot;_blank&quot;&gt;this link&lt;/a&gt; and extract the file &quot;upgrade.cgi&quot; to Blackvue\config. In my case, the file is in K:\Blackvue\config after extraction.&lt;/li&gt;
&lt;li&gt;Inerst the micrSD card back to the device.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Power on the device and push the Wi-Fi button to turn on Wi-Fi. Get on my PC with Wi-Fi connection and connect to the wireless network SSID starting with &lt;b&gt;DR550GW-, &lt;/b&gt;the default password&lt;b&gt; &lt;/b&gt;is&lt;b&gt; blackvue&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Open a web browser on the same PC and copy&amp;amp;paste the following link then enter&lt;br /&gt;&lt;a class=&quot;bbc_link&quot; href=&quot;http://192.168.8.1/Config/upgrade.cgi&quot; target=&quot;_blank&quot;&gt;http://192.168.8.1/Config/upgrade.cgi &lt;/a&gt;to initial the conversion to English. Upon successful conversion, the following will be shown on the browser&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ7JII9R5c76y4JHCwtiI88l13EYGpuQKRj3c2cKYGBgAZqX_Tyn_hRk0KV_PhxsFTVeMboOh6GzZBHa_Q-TivoTe56dmjG6CpDT5FO6HHxjUoEPh3tSbalpHnbRS8v6IpF28cFgpVLhf9/s1600/conversion_done.JPG&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/AVvXsEjQ7JII9R5c76y4JHCwtiI88l13EYGpuQKRj3c2cKYGBgAZqX_Tyn_hRk0KV_PhxsFTVeMboOh6GzZBHa_Q-TivoTe56dmjG6CpDT5FO6HHxjUoEPh3tSbalpHnbRS8v6IpF28cFgpVLhf9/s1600/conversion_done.JPG&quot; height=&quot;44&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;A critical function of the file upgrade.cgi is setting&amp;nbsp;&lt;b&gt;system_language&lt;/b&gt; to English in the firmware to enable upgrade to future versions of English firmware.&lt;/li&gt;
&lt;li&gt;Power cycle the device and enjoy its English voice guidance now. If English is all needed, skip Steps 9-11 and jump to Step 12.&lt;/li&gt;
&lt;li&gt;If any other language than English is needed, repeat &lt;b&gt;Step 2&lt;/b&gt; to clean it up. Download the&amp;nbsp;&lt;a href=&quot;http://www.blackvue.com/en/contents/sub3.asp?mode=view&amp;amp;serboardsort=&amp;amp;page=1&amp;amp;idx=1341&amp;amp;search=title&amp;amp;searchstr=dr550&quot; target=&quot;_blank&quot;&gt;English firmware V2.002E for DR550GW-2CH&lt;/a&gt;&amp;nbsp;from Blackvue&#39;s English website:&amp;nbsp;&lt;a href=&quot;http://www.blackvue.com/en/common/downloadHIT.asp?downfile=DR550GW-2CH_v2.002E(2014.05.12)_Window.zip&amp;amp;path=board&amp;amp;idx=1341&amp;amp;sort=0&quot; target=&quot;_blank&quot;&gt;Windows ZIP download link&lt;/a&gt;&amp;nbsp;and extract the folder&amp;nbsp;&lt;b&gt;Blackvue and all the files within it&amp;nbsp;&lt;/b&gt;to the root folder of microSD card (K drive in my case, and there will be a folder of K:\Blackvue after extraction).&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run the program&amp;nbsp;BlackVue\Application\Viewer for Windows\blackvue.exe in the microSD card and click on the setting icon on the right top corner. Select the desirable language and other settings (such as&amp;nbsp;time zone)&amp;nbsp;then save them to the microSD card.&lt;/li&gt;
&lt;li&gt;Inerst the micrSD card back to the device and power it on. It will prompt &quot;upgrading firmware&quot; then &quot;restarting&quot; after upgrade. After restarting, it will speak your language.&lt;/li&gt;
&lt;li&gt;Take a quick drive, its GPS should pick up the satellites and sync the time.&amp;nbsp;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Congratulations and it&#39;s done.&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/7098272405836224029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/7098272405836224029' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7098272405836224029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7098272405836224029'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2014/09/convert-korean-speaking-blackvue.html' title='Convert a Korean speaking BlackVue DR550GW-2CH to speak English'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF13-702zd90vOa2V3r_-vmveYrElNcvwr3aSYg-ppC-7_k3QUz066Ol-6mmWHv0mV-Nl5Vij9TJZZipcYGJZvJa1VKHwBNaFh1LrOIjnzDQUvuOl6xWzsjjp83m5XtheR5Gf8N9Mn110Z/s72-c/format.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-9122057513182041443</id><published>2014-05-09T22:30:00.002-04:00</published><updated>2014-11-15T18:33:26.600-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Enable flash,PDF and mp3 plugin for 64-bit Chromium OS ArnoldTheBats build</title><content type='html'>Yesterday I downloaded and installed the latest&amp;nbsp;64-bit Chromium OS &lt;a href=&quot;http://arnoldthebat.co.uk/wordpress/chromium-os/&quot; target=&quot;_blank&quot;&gt;ArnoldTheBats&lt;/a&gt;&amp;nbsp;daily build&lt;strong style=&quot;background-color: white; color: #6285ca; cursor: pointer; display: inline !important; font-family: Arial, Helvetica, sans-serif; font-size: small; padding: 2px 5px; text-align: left; text-decoration: none; width: 300px;&quot;&gt;&lt;a class=&quot;w&quot; href=&quot;http://chromium.arnoldthebat.co.uk/daily/Camd64OS-20140508010101.img.7z&quot; style=&quot;background-color: white; color: #6285ca; display: inline !important; font-family: Arial, Helvetica, sans-serif; font-size: small; padding: 2px 5px; text-align: right; text-decoration: none; width: 568px;&quot;&gt;Camd64OS-20140508010101.img.7z&lt;/a&gt;&lt;/strong&gt;to an old laptop MSI X340. It booted into Chromium OS successfully and Wi-Fi worked well (push Fn-F8 to turn on Wi-Fi if the Wi-Fi LED is not lit). However, its web browser lacks the plugin of flash, mp3 player or PDF viewer that Chrome OS has. I had to do the following to get them to work:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Login as a normal Chromium user (not a guest or a supervised one)&lt;/li&gt;
&lt;li&gt;Push &lt;b&gt;Ctrl-Alt-F2&lt;/b&gt; to open the developer console, where it shows &quot;localhost login:&quot;&lt;/li&gt;
&lt;li&gt;Enter &quot;&lt;b&gt;chronos&lt;/b&gt;&quot; as the login user, &quot;&lt;b&gt;password&lt;/b&gt;&quot; as the password if prompted&lt;/li&gt;
&lt;li&gt;Run the following command to become the root user&lt;br /&gt;&lt;pre style=&quot;background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px; word-wrap: normal;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; line-height: inherit;&quot;&gt;sudo su&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Run the following command script as root user to enable the 64-bit flash and PDF plugin&lt;br /&gt;&lt;pre style=&quot;background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px; word-wrap: normal;&quot;&gt;&lt;code style=&quot;background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; box-sizing: border-box; display: inline; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; line-height: inherit; margin: 0px; padding: 0px; word-wrap: normal;&quot;&gt;curl -L http://goo.gl/MuVta5 | bash&lt;/code&gt;&lt;/pre&gt;
After it downloads a file that is about 10 MB, it will install the 64-bit flash, mp3 player and PDF viewer plugins and restart the Chromium OS. The following functions were verified to be working after logging into Chromium:&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Flash&lt;/li&gt;
&lt;li&gt;PDF&lt;/li&gt;
&lt;li&gt;mp3/mp4&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/9122057513182041443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/9122057513182041443' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/9122057513182041443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/9122057513182041443'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2014/05/enable-flash-and-pdf-plugin-for-64-bit.html' title='Enable flash,PDF and mp3 plugin for 64-bit Chromium OS ArnoldTheBats build'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-3878512487868419920</id><published>2014-01-28T17:54:00.001-05:00</published><updated>2015-01-06T23:59:30.757-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Stop sleeping computers from waking up at nights by themselves</title><content type='html'>It&#39;s annoying to me recently some of my sleeping computers started waking up at nights randomly. The first thing I did is to identify devices that are currently configured to wake the computer up from a sleep state in Windows by the following command line:&lt;br /&gt;
&lt;code&gt;Powercfg -devicequery wake_armed&lt;/code&gt;&lt;br /&gt;
Below is the list of the devices returned by the command:&lt;br /&gt;
&lt;code&gt;Standard PS/2 Keyboard&lt;br /&gt;Logitech USB TrackMan Wheel&lt;br /&gt;Realtek PCIe GBE Family Controller&lt;/code&gt;&lt;br /&gt;
Since I had configured the computer to allow wake-on-LAN by magic packets for a while, it is anticipated to see the device &quot;Realtek PCIe GBE Family Controller&quot; on the list. However, I didn&#39;t expect to see the other two devices since I didn&#39;t want any unintentional motion or events on them to wake the computer up. So what I did to disarm them from waking up the computer is:&lt;br /&gt;
&lt;code&gt;powercfg -devicedisablewake &quot;Logitech USB TrackMan Wheel&quot;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;powercfg -devicedisablewake &quot;Standard PS/2 Keyboard&quot;&lt;/code&gt;&lt;br /&gt;
The above commands runs in Windows&amp;nbsp; 7 or 8 with an &lt;a href=&quot;http://pcsupport.about.com/od/windows-8/a/elevated-command-prompt-windows-8.htm&quot; target=&quot;_blank&quot;&gt;elevated command prompt (running the Command Prompt program with administrator privileges)&lt;/a&gt;. Now if I query for wake_armed devices again, I only see the network adapter, which is desirable.&lt;br /&gt;
&lt;br /&gt;
Another useful command for troubleshooting the unintended waking up is&lt;br /&gt;
&lt;b&gt;powercfg -lastwake &lt;/b&gt;to report information about the last event that woke the computer up from sleeping. And below is what&#39;s reported from one computer: &lt;code&gt;&lt;br /&gt;
Wake History Count - 1&lt;br /&gt;
Wake History [0]&lt;br /&gt;
&amp;nbsp; Wake Source Count - 1&lt;br /&gt;
&amp;nbsp; Wake Source [0]&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Type: Wake Timer&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Owner: [SERVICE] &amp;nbsp; &amp;nbsp; \Device\HarddiskVolume2\Windows\System32\svchost.exe (SystemEventsBroker)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Reason: Windows will execute &quot;NT TASK\Microsoft\Windows\Media Center\mcupdate_scheduled&quot; scheduled task that requested waking the computer.&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
The above tells me that the task mcupdate_scheduled is so intelligent that it woke up the computer from sleep to do its job. And it is not alone. The following command can list all such clever tasks that can wake up the computer:&lt;br /&gt;
&lt;code&gt;schtasks /query /FO list | more&lt;/code&gt; &lt;br /&gt;
&lt;br /&gt;
The following command can disable the task from being scheduled again:&lt;br /&gt;&lt;code&gt;schtasks /change /TN &quot;\Microsoft\Windows\Media Center\mcupdate_scheduled&quot; /disable&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
After disabling all these tasks, the following command can confirm that no active timers are scheduled to wake up the computer.&lt;br /&gt;
&lt;code&gt;powercfg -waketimers&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
The above changes worked for me to stop sleeping Windows 7 computers from waking up at nights by themselves.</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/3878512487868419920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/3878512487868419920' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/3878512487868419920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/3878512487868419920'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2014/01/stop-sleeping-computers-from-waking-up.html' title='Stop sleeping computers from waking up at nights by themselves'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-5867588714207942677</id><published>2013-11-07T22:32:00.001-05:00</published><updated>2013-11-07T22:34:50.424-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="VOIP"/><title type='text'>Where should I go after the End of XMPP with Google Voice on 5/14/2014?</title><content type='html'>As Obihai announced on its blog page, Google Sets the Date for the End of XMPP with Google Voice (GV) to be 5/14/2014.
&lt;a href=&quot;http://blog.obihai.com/2013/10/important-message-about-google-voice.html&quot;&gt;http://blog.obihai.com/2013/10/important-message-about-google-voice.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
After I read it, I decided to port my number out of GV to ANVEO (&lt;a href=&quot;http://www.anveo.com/&quot;&gt;http://www.anveo.com/&lt;/a&gt;) since they are running a porting promotion at the moment (porting request must be submited before December 31st 2013). I can enjoy one year of unlimited incoming calls at ANVEO for $24. The terms for the free porting is copied below from their website:&lt;br /&gt;
&amp;nbsp;* Free Porting Specific Terms: When the FREE porting is complete the phone number will be pre-paid for 12 months and account will be charged a non-refundable $24 (12 x $2/month) for Personal Unlimited rate plan&lt;br /&gt;
&lt;br /&gt;
Otherwise porting a US number needs $15 porting fee without the promotion. Another option to keep the old GV number working is to order a new phone number at ANVEO and forward the GV number to the ANVEO number. There is no setup fee for a new ANVEO phone number when it is ordered on &#39;Personal Unlimited&#39; rate plan ($2/month). However, I&#39;m not convinced that free GV forwarding will last long therefore I chose to port the GV number out.&lt;br /&gt;
&lt;br /&gt;
I first went to the following web page to unlock my GV number. It was unlocked immediately after I paid $3 to Google for porting it out.
&lt;a href=&quot;https://www.google.com/voice/unlock&quot;&gt;https://www.google.com/voice/unlock&lt;/a&gt;&lt;br /&gt;
I need to submit a copy of the GV confirmation page for unlocking the number to ANVEO together with the porting request. The ANVEO porting request form can be downloaded&amp;nbsp;&lt;a href=&quot;https://www.anveo.com/faq.asp?code=faq_did_portin&quot;&gt;from here&lt;/a&gt;. I submitted the porting request on&amp;nbsp;night of&amp;nbsp;10/31 and added $30 into my ANVEO account with google checkout. I received an email from ANVEO on 11/5 saying that &quot;the phone number porting is almost complete and it will be switched to our carrier within 48-72 hours. The phone number is now in your account.&quot;&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
I tried to use the ANVEO number in Asterisk and it worked. Before I can used it on a SIP device, I needed to activate SIP service at ANVEO website under &lt;b&gt;Account Options-&amp;gt;SIP Device
Registration. &lt;/b&gt;An&amp;nbsp;SIP password is generated after the activation and Asterisk needs this SIP password to register for SIP. The username for a SIP device is the ANVEO account number.&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
The following are the context for ANVEO in &lt;b&gt;users.conf&lt;/b&gt; for Asterisk&lt;br /&gt;
[general]&lt;br /&gt;
hassip = yes&lt;br /&gt;
hasiax = no&lt;br /&gt;
registeriax = no&lt;br /&gt;
callwaiting = yes&lt;br /&gt;
threewaycalling = yes&lt;br /&gt;
callwaitingcallerid = yes&lt;br /&gt;
transfer = yes&lt;br /&gt;
canpark = yes&lt;br /&gt;
cancallforward = yes&lt;br /&gt;
callreturn = yes&lt;br /&gt;
call-limit = 100&lt;br /&gt;
qualify = yes&lt;br /&gt;
disallow = all&lt;br /&gt;
allow = ulaw,alaw&lt;br /&gt;
type = friend&lt;br /&gt;
&lt;br /&gt;
[anveo]&lt;br /&gt;
host=sip.anveo.com&lt;br /&gt;
port=5010&lt;br /&gt;
username= {account number}&lt;br /&gt;
secret= {SIP password}&lt;br /&gt;
insecure=port,invite&lt;br /&gt;
group = null&lt;br /&gt;
hasexten = yes&lt;br /&gt;
canreinvite = yes&lt;br /&gt;
callcounter = yes&lt;br /&gt;
disallow=all&lt;br /&gt;
allow=ulaw&lt;br /&gt;
context=anveo-in&lt;br /&gt;
registersip = yes&lt;br /&gt;
&lt;br /&gt;
And the following is the context in &lt;b&gt;extensions.conf&lt;/b&gt; for ANVEO incoming calls(6666 is the extension number of my home)&lt;br /&gt;
[anveo-in]&lt;br /&gt;
exten =&amp;gt; s,1,NoOp(From Anveo ${EXTEN})&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/6666)&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
I prefer &lt;a href=&quot;https://www.nonoh.net/&quot;&gt;Nonoh&lt;/a&gt; for outgoing calls, which currently offers &lt;a href=&quot;https://www.nonoh.net/calling_rates/&quot;&gt;free calling&lt;/a&gt; to countries such as US, Canada and China for 120 days after a credit (10 Euro minimum) is bought. And I found it a good idea to set the caller ID for outgoing calls to the ANVEO number at the Nonoh account settings.&lt;br /&gt;
&lt;br /&gt;
The following are the context for Nonoh in&amp;nbsp;&lt;b&gt;users.conf&lt;/b&gt;&amp;nbsp;for Asterisk&lt;br /&gt;
[nonoh]&lt;br /&gt;
host = sip.nonoh.net&lt;br /&gt;
username = {nonoh username}&lt;br /&gt;
secret = {nonoh password}&lt;br /&gt;
group = null&lt;br /&gt;
registersip = yes&lt;br /&gt;
canreinvite = yes&lt;br /&gt;
insecure = port,invite&lt;br /&gt;
hasexten = no&lt;br /&gt;
&lt;br /&gt;
And the following is the context in&amp;nbsp;&lt;b&gt;extensions.conf&lt;/b&gt;&amp;nbsp;for Nonoh (assuming the numbers dialed start with 00 then country code)&lt;br /&gt;
[DLPN_6666]&lt;br /&gt;
include = CallingRule_Out&lt;br /&gt;
include = default&lt;br /&gt;
include = parkedcalls&lt;br /&gt;
include = conferences&lt;br /&gt;
include = ringgroups&lt;br /&gt;
include = voicemenus&lt;br /&gt;
include = queues&lt;br /&gt;
include = voicemailgroups&lt;br /&gt;
include = directory&lt;br /&gt;
include = pagegroups&lt;br /&gt;
include = page_an_extension&lt;br /&gt;
&lt;br /&gt;
[CallingRule_Out]&lt;br /&gt;
exten =&amp;gt; _00[1-9]X.,1,Dial(SIP/nonoh/${EXTEN:0})&lt;br /&gt;
&lt;br /&gt;
It is also possible to use ANVEO for outgoing calls, which costs 1 cent/minute in the US. The SIP device settings for outgoing calls can be found at&lt;br /&gt;
&lt;a href=&quot;https://www.anveo.com/faq.asp?code=faq_sip_config&quot;&gt;https://www.anveo.com/faq.asp?code=faq_sip_config&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
ANVEO also provides E911 service for $0.8/month per address and a bunch of &lt;a href=&quot;https://www.anveo.com/services.asp&quot;&gt;add-ons for additional services&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/5867588714207942677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/5867588714207942677' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/5867588714207942677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/5867588714207942677'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2013/11/where-should-i-go-after-end-of-xmpp.html' title='Where should I go after the End of XMPP with Google Voice on 5/14/2014?'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-5062284498014390772</id><published>2013-07-22T23:32:00.003-04:00</published><updated>2013-09-12T16:09:56.339-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Apache Hadoop with single Fedora node</title><content type='html'>Today when I tried to start Jobtracker for Apache Hadoop 1.2.1, I kept getting the following &lt;b&gt;ENOENT&lt;/b&gt; error&lt;br /&gt;
&lt;code&gt;
FATAL org.apache.hadoop.mapred.JobTracker: ENOENT: No such file or directory&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.io.nativeio.NativeIO.chmod(Native Method)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.fs.FileUtil.execSetPermission(FileUtil.java:699)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.fs.FileUtil.setPermission(FileUtil.java:654)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:509)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:344)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:189)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;at org.apache.hadoop.mapred.CompletedJobStatusStore.&lt;init&gt;(CompletedJobStatusStore.java:81)&lt;/init&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.mapred.JobTracker.initialize(JobTracker.java:2051)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.mapred.JobTracker.offerService(JobTracker.java:2328)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4792)&lt;br /&gt;
&lt;/code&gt;
&lt;br /&gt;
I realized the most important error is the bold one, which is related to logging as specified in mapred-site.xml&lt;br /&gt;
&lt;pre class=&quot;cpp&quot; name=&quot;code&quot;&gt;
&lt;name&gt;mapred.job.tracker.persist.jobstatus.dir&lt;/name&gt;
&lt;value&gt;file:////var/log/hadoop/mr/jobstatus&lt;/value&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
After the the correct folder permissions are set, it should look like following&lt;br /&gt;
&lt;code&gt;
$ ll /var/log/hadoop/&lt;br /&gt;
drwxr-xr-x. 2 hdfs &amp;nbsp; hadoop 4096 Jul 22 22:45 hdfs&lt;br /&gt;
drwxr-xr-x. 4 mapred hadoop 4096 Jul 22 23:10 mapred&lt;br /&gt;
drwxr-xr-x. 2 mapred hadoop 4096 Jul 22 20:14 mr&lt;br /&gt;
&lt;/code&gt;
After all the services are running, I can list them by&lt;br /&gt;
&lt;code&gt;#jps&lt;br /&gt;
22896 DataNode&lt;br /&gt;
26189 TaskTracker&lt;br /&gt;
22225 NameNode&lt;br /&gt;
26502 Jps&lt;br /&gt;
26042 JobTracker&lt;br /&gt;
&lt;/code&gt;
And I can list the listening ports of the services by&lt;br /&gt;
&lt;code&gt;# lsof -i -P | egrep -v &quot;ESTABLISHED&quot; | grep java&lt;br /&gt;
java &amp;nbsp; &amp;nbsp; &amp;nbsp;22225 &amp;nbsp; hdfs &amp;nbsp; 66u &amp;nbsp;IPv4 573305 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp;TCP localhost:8020 (LISTEN)&lt;br /&gt;
java &amp;nbsp; &amp;nbsp; &amp;nbsp;22225 &amp;nbsp; hdfs &amp;nbsp; 79u &amp;nbsp;IPv4 573311 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp;TCP localhost:50070 (LISTEN)&lt;br /&gt;
java &amp;nbsp; &amp;nbsp; &amp;nbsp;22896 &amp;nbsp; hdfs &amp;nbsp; 63u &amp;nbsp;IPv4 575844 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp;TCP *:50010 (LISTEN)&lt;br /&gt;
java &amp;nbsp; &amp;nbsp; &amp;nbsp;22896 &amp;nbsp; hdfs &amp;nbsp; 65u &amp;nbsp;IPv4 576654 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp;TCP *:50075 (LISTEN)&lt;br /&gt;
java &amp;nbsp; &amp;nbsp; &amp;nbsp;22896 &amp;nbsp; hdfs &amp;nbsp; 73u &amp;nbsp;IPv4 575856 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp;TCP *:50020 (LISTEN)&lt;br /&gt;
java &amp;nbsp; &amp;nbsp; &amp;nbsp;26042 mapred &amp;nbsp; 64u &amp;nbsp;IPv4 589571 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp;TCP localhost:9000 (LISTEN)&lt;br /&gt;
java &amp;nbsp; &amp;nbsp; &amp;nbsp;26042 mapred &amp;nbsp; 75u &amp;nbsp;IPv4 589575 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp;TCP localhost:50030 (LISTEN)&lt;br /&gt;
java &amp;nbsp; &amp;nbsp; &amp;nbsp;26189 mapred &amp;nbsp; 61u &amp;nbsp;IPv4 590005 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp;TCP localhost:40660 (LISTEN)&lt;br /&gt;
java &amp;nbsp; &amp;nbsp; &amp;nbsp;26189 mapred &amp;nbsp; 79u &amp;nbsp;IPv4 590177 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp;TCP *:50060 (LISTEN)&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/5062284498014390772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/5062284498014390772' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/5062284498014390772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/5062284498014390772'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2013/07/apache-hadoop-with-single-fedora-node.html' title='Apache Hadoop with single Fedora node'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-4700220660493540757</id><published>2013-07-15T19:47:00.002-04:00</published><updated>2013-09-12T16:09:56.337-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Fedora dracut in chroot environment </title><content type='html'>&lt;div&gt;
The following is the procedure to create new initframfs when the root filesystem has structural changes such as between LVM, MD or plain.&amp;nbsp;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Chroot to the desired folder (.e.g. /mnt/temp)&lt;br /&gt;&lt;code&gt;chroot /mnt/temp&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;mount the system partitions /proc, /run, /dev, /sys&lt;br /&gt;&lt;code&gt;mount -t proc proc /proc&lt;br /&gt;mount -t tmpfs tmpfs /run&lt;br /&gt;mount -t devtmpfs devtmpfs /dev&lt;br /&gt;mount -t sysfs sysfs /sys&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;mount the /boot and / partition&lt;br /&gt;&lt;code&gt;mount -t ext4 /dev/sdb1 /boot&lt;br /&gt;mount -t ext4 /dev/md0 /&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Create the udev/data folder to emulate the udev database&lt;br /&gt;&lt;code&gt;cd /run&lt;br /&gt;mkdir udev/data&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;To include mdadm in Fedora dracut: add module mdraid found in&amp;nbsp;/usr/lib/dracut/modules.d/&lt;br /&gt;&lt;b&gt;dracut -v -f -a mdraid --mdadmconf /boot/initramfs-$(uname -r).img $(uname -r)&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/4700220660493540757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/4700220660493540757' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/4700220660493540757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/4700220660493540757'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2013/07/fedora-dracut-in-chroot-environment.html' title='Fedora dracut in chroot environment '/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-4640971992554969339</id><published>2013-07-13T23:20:00.000-04:00</published><updated>2013-09-12T16:09:56.335-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Samba"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>How to make Samba 4 shares writable with Fedora 19 and Selinux</title><content type='html'>Today I found I couldn&#39;t create new folders in my samba 4 share under Fedora 19. And this was due to the settings of Selinux since there wasn&#39;t any problem without enabling Selinux.&lt;br /&gt;
&lt;br /&gt;
The status of the Selinux boolean values that are relevant to Samba can be queried via the following command:&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;b&gt;#getsebool -a | grep samba&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;#getsebool -a | grep smbd&lt;/b&gt;&lt;/span&gt;&lt;/code&gt;
&lt;br /&gt;
Since we need to allow samba to modify shared files, the files/directories must be labeled public_content_rw_t and we must turn on the smbd_anon_write boolean.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Labeling all files under the share folder (e.g. /mnt/media) to public_content_rw_t so that they can be modified by multiple domains (Apache, FTP, rsync, Samba).&lt;/li&gt;
&lt;/ul&gt;
&lt;code&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;b&gt;#semanage fcontext -a -t public_content_rw_t &quot;/mnt/media(/.*)?&quot;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;#restorecon -F -R /mnt/media&lt;/b&gt;&lt;/span&gt;&lt;/code&gt;
&lt;br /&gt;
Note: File context can be temporarily modified with the chcon command. However, that won&#39;t survive a relabeling. We need to permanently change the file context by using the semanage fcontext command. This will modify the SELinux labeling database. It is necessary to use restorecon to apply the labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Turn on the smbd_anon_write boolean:&lt;/li&gt;
&lt;/ul&gt;
&lt;code&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;#setsebool -P smbd_anon_write 1&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;It&#39;s NOT necessary to turn on samba_export_all_rw if the shared files/directories are properly labeled and the smbd_anon_write boolean is turned on.&lt;/li&gt;
&lt;li&gt;The security context of the files can be verified via&lt;br /&gt;&lt;code&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;#&amp;nbsp;ls -Z /mnt/media&lt;br /&gt;drwxrwxr-x. video media system_u:object_r:public_content_rw_t:s0 video&lt;/b&gt;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #555555; font-family: Arial, Tahoma, Verdana; font-size: 12px; line-height: 20px; padding: 0px 0px 15px;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #555555; font-family: Arial, Tahoma, Verdana; font-size: 12px; line-height: 20px; padding: 0px 0px 15px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/4640971992554969339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/4640971992554969339' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/4640971992554969339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/4640971992554969339'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2013/07/how-to-make-samba-4-shares-writable.html' title='How to make Samba 4 shares writable with Fedora 19 and Selinux'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-8648417249173170665</id><published>2013-03-05T08:32:00.000-05:00</published><updated>2013-09-12T16:10:27.018-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Running power calculator in windows 7</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
The following are important for the power calculator power toy to run successfully in windows 7: &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;The file pcalc.exe needs to run in compatibility mode for windows XP. This can be set by right clicking the file pcalc.exe in windows explorer and click &quot;Properties&quot; of the context menu. Then click on the button near the bottom &quot;Change settings for all userse&quot; and check the compatility mode as shown below. Click OK to save the changes.&lt;/li&gt;
&lt;/ul&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/AVvXsEhnI9tZeuAU4F7td2p6fAWA9wsgQh2vxpVh6C4BnmJm3zFMUtik33bb_yLv6-05paHFoUQP1qTcnk00VLQSmAfe3nsfDX4gGKk42zyqg_Tzuwu8vx-nvxezydEVJ9pFHa6YHD211ka8Ipt3/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnI9tZeuAU4F7td2p6fAWA9wsgQh2vxpVh6C4BnmJm3zFMUtik33bb_yLv6-05paHFoUQP1qTcnk00VLQSmAfe3nsfDX4gGKk42zyqg_Tzuwu8vx-nvxezydEVJ9pFHa6YHD211ka8Ipt3/s400/Capture.PNG&quot; width=&quot;310&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;The file pcalc.exe can not reside in windows\system32 folder. I found windows folder or other folders should work.&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/8648417249173170665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/8648417249173170665' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/8648417249173170665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/8648417249173170665'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2013/03/running-power-calculator-in-windows-7.html' title='Running power calculator in windows 7'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnI9tZeuAU4F7td2p6fAWA9wsgQh2vxpVh6C4BnmJm3zFMUtik33bb_yLv6-05paHFoUQP1qTcnk00VLQSmAfe3nsfDX4gGKk42zyqg_Tzuwu8vx-nvxezydEVJ9pFHa6YHD211ka8Ipt3/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-8208870831638123597</id><published>2013-03-03T17:37:00.001-05:00</published><updated>2013-09-12T16:10:27.015-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Use search in windows 7 to clean up the mess from BOX sync </title><content type='html'>Today I found that the BOX sync I installed for BOX.net caused a big problem in my data folder. It created multiple copies of the same file for each file in my local and remote data folder and some of the files were cloned for up to 20 times.&lt;br /&gt;
&lt;br /&gt;
After I did a quick look at many of&amp;nbsp;the cloned local copies&amp;nbsp;created by BOX sync, I found there are some patterns on their file name and last modification date:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;They have a file name appendix &lt;b&gt;(n) &lt;/b&gt;before the file extension, where n is a number ranging from 1 to 20&lt;/li&gt;
&lt;li&gt;They were last modified on the same day: Feb. 26, 2013&lt;/li&gt;
&lt;li&gt;They are all files. No sub folders were cloned&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I could use search in windows 7 to locate all the files&amp;nbsp;satisfying&amp;nbsp;the above patterns with the following search syntax:&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;filename: &quot;(&quot; kind: NOT folders datemodified:‎2/‎26/‎2013 &lt;/code&gt;&lt;/div&gt;
&lt;div&gt;
More than 3000 items were found matching the search criteria. After I verified that they were actually excessive files, I selected all of them and deleted them to clean up the mess.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/8208870831638123597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/8208870831638123597' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/8208870831638123597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/8208870831638123597'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2013/03/use-search-in-windows-7-to-clean-up.html' title='Use search in windows 7 to clean up the mess from BOX sync '/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-7975616492279712686</id><published>2012-10-20T18:10:00.000-04:00</published><updated>2012-10-21T00:01:07.490-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Increase/grow the capacity/space of a linux Raid 1 partition without losing data</title><content type='html'>Today I found I needed to increase the capacity of my data partition (on a Raid 1 array) to&amp;nbsp;fit&amp;nbsp;a hard drive upgrade. Below are a couple of good references on how that can be done and some arguments to &lt;b&gt;mdadm &lt;/b&gt;need to be adjusted to work for me&lt;br /&gt;
&lt;a href=&quot;http://www.flyonthenet.it/blog/?p=71&quot;&gt;http://www.flyonthenet.it/blog/?p=71&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;http://johnlange.wordpress.com/tech-tips/linux/expanding-linux-software-raid1-with-an-ext3-file-system/&quot;&gt;http://johnlange.wordpress.com/tech-tips/linux/expanding-linux-software-raid1-with-an-ext3-file-system/&lt;/a&gt;
&lt;br /&gt;
The safe and lengthy procedure is as follows (assuming the old array consists of drive A and B and the new array with increased capacity consists of drive C and D): &lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Back up all the data on the Raid 1 array (e.g.&amp;nbsp;/dev/md2)&amp;nbsp;and umount the array from the system&lt;/li&gt;
&lt;li&gt;Remove the partition on one old drive (A) from the Raid 1 array that needs to grow capacity&lt;/li&gt;
&lt;li&gt;Partition a new hard drive (C) as Linux raid autodetect/fd type with the wanted capacity and add that partition to the Raid 1 array. Mdadm will start recovery/resync of the array.&lt;/li&gt;
&lt;li&gt;Let mdadm finish resyncing the array and the array is now clean again (very important, otherwise data loss). Make sure the array status has [UU]&lt;br /&gt;&lt;code&gt;cat /proc/mdstat&lt;br /&gt;md0 : active raid1 sdb1[1] sda1[0]&lt;br /&gt;76798592 blocks [2/2] [UU]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Remove the partition on&amp;nbsp;the&amp;nbsp;remaining old drive (B) from the array.&lt;/li&gt;
&lt;li&gt;Partition the second new hard drive (D) as Linux raid autodetect/fd type with the wanted capacity and add that partition to the Raid 1 array. Mdadm will start recovery/resync of the array.
&lt;/li&gt;
&lt;li&gt;After resy&lt;span style=&quot;font-family: inherit;&quot;&gt;ncing is complete,&amp;nbsp;the&amp;nbsp;&lt;span style=&quot;background-color: white; color: #222222; line-height: 14.666666984558105px;&quot;&gt;underlying block device of the array is now of an appropriate size to hold the file system&lt;/span&gt;&amp;nbsp;with increased capacity.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Grow the capacity of the array and let the resyncing finish&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;mdadm --grow /dev/md2 --size=max&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Resize the ext file system&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;e2fsck -f /dev/md2&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;resize2fs /dev/md2&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;e2fsck -f /dev/md2&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Mount the array&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Alternatively, a quick and dirty solution to grow the capacity of the array (metadata version 0.90) on the same pair of drives (A&amp;amp;B) is shown below&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Back up all the data on the Raid 1 array (e.g.&amp;nbsp;/dev/md2)&amp;nbsp;and umount the array from the system&lt;/li&gt;
&lt;li&gt;Increase the size of the partitions of the raid devices on the existing hard drives (A&amp;amp;B)&lt;/li&gt;
&lt;li&gt;Create new raid array with mdadm (note the metadata argument to specify the same metadata as in the previous array is critical. Otherwise e2fsck will not find the superblock since latest mdadm uses metadata version 1.2 as default)&lt;br /&gt;&lt;code&gt;&lt;span style=&quot;color: #555555;&quot;&gt;&lt;span style=&quot;line-height: 17px;&quot;&gt;mdadm --create /dev/md2 --level=raid1 --raid-devices=2 /dev/sdc1 /dev/sdb1 --metadata 0.90&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;If mdadm prompts that the partitions&amp;nbsp;already contain an ext2fs file system, hit &quot;y&quot; to continue.&lt;br /&gt;&lt;code&gt;Continue creating array? y&lt;br /&gt;mdadm: array /dev/md2 started.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Check the file system on the array and fix the errors. Then resize the file system.&lt;br /&gt;&lt;code&gt;e2fsck -f /dev/md2&lt;br /&gt;resize2fs /dev/md2&lt;br /&gt;e2fsck -f /dev/md2&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Mount the array&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/7975616492279712686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/7975616492279712686' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7975616492279712686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7975616492279712686'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2012/10/increasegrow-capacityspace-of-linux.html' title='Increase/grow the capacity/space of a linux Raid 1 partition without losing data'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-308305498098524337</id><published>2012-08-04T20:29:00.001-04:00</published><updated>2012-10-20T22:31:19.688-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><title type='text'>Disk benchmarks</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Ramdisk (FAT32) created by&amp;nbsp;&lt;a href=&quot;http://memory.dataram.com/products-and-services/software/ramdisk/&quot;&gt;DATARAM RAMDisk&lt;/a&gt; v3.5.130R24 (freeware) under windows 7 64-bit&lt;/li&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/AVvXsEhiYKut8b9ZOuwjrZeQjxXJI01p8_5C3O_1JdDGMz53_VhGidShq6nGPOiY3ODwJMQLW1igADPOAnahz-Bo9V_bByGAVxywB5KJKAFdrUvEnAWyhj2JyewcOK6GE-uAmdEmSY3O0h9gt8Hq/s1600/Ramdisk-as-ssd-bench++8.4.2012+8-20-05+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;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiYKut8b9ZOuwjrZeQjxXJI01p8_5C3O_1JdDGMz53_VhGidShq6nGPOiY3ODwJMQLW1igADPOAnahz-Bo9V_bByGAVxywB5KJKAFdrUvEnAWyhj2JyewcOK6GE-uAmdEmSY3O0h9gt8Hq/s400/Ramdisk-as-ssd-bench++8.4.2012+8-20-05+PM.png&quot; width=&quot;390&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li style=&quot;text-align: left;&quot;&gt;SSD Crucial M4-CT064M4SSD2 Firmware 0309 with SATA II 3Gb/s connection&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzm_6TR3S_27GbLa9K6IVO5L7GSyRmYDw9SO72iUJ6QcJ0zSOTv73Ve4-Kv_f8aODE2TtIf05M2bKS0vAVZ2mrjlXSEaS0qfz0sCX-mMFjbz9x9sklxa00lxEHEetdfwXYcqFbUUtHI-UE/s1600/as-ssd-bench+M4-CT064M4SSD2+A+8.4.2012+8-34-05+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzm_6TR3S_27GbLa9K6IVO5L7GSyRmYDw9SO72iUJ6QcJ0zSOTv73Ve4-Kv_f8aODE2TtIf05M2bKS0vAVZ2mrjlXSEaS0qfz0sCX-mMFjbz9x9sklxa00lxEHEetdfwXYcqFbUUtHI-UE/s400/as-ssd-bench+M4-CT064M4SSD2+A+8.4.2012+8-34-05+PM.png&quot; width=&quot;390&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;SSD&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/308305498098524337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/308305498098524337' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/308305498098524337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/308305498098524337'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2012/08/disk-benchmarks.html' title='Disk benchmarks'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiYKut8b9ZOuwjrZeQjxXJI01p8_5C3O_1JdDGMz53_VhGidShq6nGPOiY3ODwJMQLW1igADPOAnahz-Bo9V_bByGAVxywB5KJKAFdrUvEnAWyhj2JyewcOK6GE-uAmdEmSY3O0h9gt8Hq/s72-c/Ramdisk-as-ssd-bench++8.4.2012+8-20-05+PM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-7498904132366923872</id><published>2012-06-19T22:30:00.001-04:00</published><updated>2018-12-03T23:48:38.547-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Use ImageMagick to create GIF file</title><content type='html'>convert -resize 50% -delay 50 -loop 0 IMG*.JPG animation.gif&lt;br /&gt;
convert animation.gif -crop 1152x768+0+150 crop.gif&lt;br /&gt;
&lt;b&gt;Reduce image size:&amp;nbsp;&lt;/b&gt;convert animation.gif -resize 100x50 small.gif</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/7498904132366923872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/7498904132366923872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7498904132366923872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7498904132366923872'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2012/06/use-imagemagick-to-create-gif-file.html' title='Use ImageMagick to create GIF file'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-2839594321964681935</id><published>2012-06-03T13:50:00.044-04:00</published><updated>2021-12-11T19:20:28.100-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Use FFMPEG to process video files</title><content type='html'>&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Rotate video files&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Download latest FFMPEG &lt;a href=&quot;http://ffmpeg.zeranoe.com/builds/&quot;&gt;windows build from here&lt;/a&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Move all video files to be rotated (e.g. MOV files) into a subfolder.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Execute the command below from within a CMD script file (it must be executed from within a CMD script file since it will fail if copy and paste on the command line)&lt;br /&gt;
&lt;code&gt;FOR /F &quot;tokens=*&quot; %%G IN (&#39;dir /b *.MOV&#39;) DO ffmpeg -i %%G -vf &quot;transpose=1&quot; -qscale 0 -s 608x1080 -y %%G.rotated.MOV&lt;/code&gt;&lt;br /&gt;
All videos will rotate 90 degree&amp;nbsp;&lt;b&gt;clockwise (transpose=1)&lt;/b&gt;. Change it to&amp;nbsp;&lt;b&gt;transpose=2 for counterclockwise&lt;/b&gt;. Height of the videos is reduced to 1080 since some media players have problem playing back files whose height is larger than 1080. Output files will append .rotated.MOV to the name of input files.&lt;/li&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/ol&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;Set the dimension and frame rate of output file&lt;/b&gt;&lt;br /&gt;Command option &lt;b&gt;-r&lt;/b&gt; set frame rate in frames/second, &lt;b&gt;-s &lt;/b&gt;set dimension to be widthxheight&lt;br /&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;ffmpeg -i input.mp4 -qscale 0 -r 30 -s 720x1080 -y output.mp4&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;Slow down a video&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;Copy the video to a raw bitstream format&lt;br /&gt;ffmpeg -i input.mp4 -map 0:v -c:v copy -bsf:v h264_mp4toannexb raw.h264&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, Arial, Bitstream Vera Sans, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;Generate new timestamps while muxing to a container&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black; font-family: Verdana, Arial, Bitstream Vera Sans, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;ffmpeg -fflags +genpts -r 19.25 -i raw.h264 -c:v copy output.mp4&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Trim video file&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Extract the video stream and discard the audio stream: -c copy -an option&lt;br /&gt;ffmpeg&amp;nbsp; -i input.mp4 -c copy -an noaudio.mp4&lt;/li&gt;&lt;li&gt;Trim time: Today I have a need to trim the first 8 seconds off a mp4 video file taken by my cell phone. I found I could use -ss option to specify the start time and -t option to specify the duration of the trimmed video (below 12 seconds) and re-encode the video:&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ffmpeg -i input.mp4 -ss 00:00:08 -t 00:00:12 output.mp4&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;If the encoding is slow,&amp;nbsp;&lt;/code&gt;-c copy&amp;nbsp;option can skip the encoding but could generate an output file than can not seek properly&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Trim size: can be done with the &lt;code&gt;crop&lt;/code&gt; filter&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;pre&gt;&lt;code&gt;ffmpeg -i input.mp4 -filter:v &quot;crop=&lt;i&gt;out_w&lt;/i&gt;:&lt;i&gt;out_h&lt;/i&gt;:&lt;i&gt;x&lt;/i&gt;:&lt;i&gt;y&lt;/i&gt;&quot; output.mp4&lt;/code&gt;&lt;/pre&gt;
the arguments are as follows:&lt;br /&gt;


&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;out_w&lt;/code&gt; is the width of the output rectangle&lt;/li&gt;
&lt;li&gt;&lt;code&gt;out_h&lt;/code&gt; is the height of the output rectangle&lt;/li&gt;
&lt;li&gt;&lt;code&gt;x&lt;/code&gt; and &lt;code&gt;y&lt;/code&gt; specify the top left corner of the output rectangle relative to the top left corner of the input video&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Convert video to GIF file&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Generate individual frames from the video file&lt;br /&gt;&lt;code&gt; mkdir frames &lt;br /&gt; ffmpeg -i out.mp4 -r 10 frames/ffout%03d.png&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Remove unwanted frames&lt;/li&gt;
&lt;li&gt;Convert frames to GIF file using ImageMagick&lt;br /&gt;&lt;code&gt;convert -delay 0.25 -loop 0 frames/ffout*.png output.gif&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Concatenate multiple video files into one&lt;/b&gt;&lt;br /&gt;Utilize the &lt;b&gt;concat&lt;/b&gt; filter to concatenate multiple video files into one&lt;br /&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;ffmpeg -f concat -i inputs.txt -c copy -y output.mp4&lt;/span&gt;&lt;br /&gt;The file &lt;b&gt;inputs.txt&lt;/b&gt; should list all the video files to be concatenated (one file per line) and its contents look like the following:&lt;br /&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;file 1.mp4&lt;br /&gt;file 2.mp4&lt;br /&gt;file 3.mp4&lt;br /&gt;file 4.mp4&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Mix video and audio files&lt;/b&gt;&lt;br /&gt;I found a quick way to mix an audio mp3 file and a video/audio mp4 file by using the -map argument with ffmpeg:&lt;br /&gt;&lt;code&gt;ffmpeg -i input0.mp4 -i input1.mp3 -map 0:v:0 -map 1:a:0 -c copy -shortest out output.mp4&lt;br /&gt;-map 0:v:0 for (0) input file zero, (v) video streams of the input file, (0) stream zero (first) of the video streams&lt;br /&gt;-map 1:a:0&amp;nbsp;for (0) input file one, (a) audio&amp;nbsp;streams of the input file,&amp;nbsp; (0) stream zero (first) of the audio streams&lt;br /&gt;-c copy copy the desired streams to the output file instead of encoding them to maintain the same quality&lt;br /&gt;-shortest designate the duration of the output file to be the same as the shortest one among input streams&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/2839594321964681935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/2839594321964681935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/2839594321964681935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/2839594321964681935'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2012/06/use-ffmpeg-to-trim-video-files.html' title='Use FFMPEG to process video files'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-7143949908981473723</id><published>2012-03-26T22:51:00.000-04:00</published><updated>2012-10-20T22:30:16.199-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cell phone"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Using multiple Google Voice (GV) numbers in one android phone</title><content type='html'>I found it practical to use at least two GV numbers in one android phone with reasonable usability. I had purchased the &lt;b&gt;Groove IP&lt;/b&gt; app for my primary GV number since it was proven to be the best solution for using GV with android phones. Then I installed SIPdroid and created an PBxes.org account for using a second GV account with PBxes.org. I then switched to &lt;b&gt;csipsimple&lt;/b&gt; for this GV number since it can be integrated into the native dialer. In theory, I could run SIPdroid to register a third GV account then I can have three GV numbers to work in one cell phone but I haven&#39;t tested that yet.&lt;br /&gt;
&lt;br /&gt;
I did found one issue initially: csipsimple no outgoing calls&lt;br /&gt;
I updated csipsimple to the latest version but that didn&#39;t help: it can receive incoming calls without any problems but can not make outgoing calls with its dialer. It typically drops calls in one second after the outgoing calls are dialed. I thought Groove IP and csipsimple could share the native dialer but apparently that is not the case.&amp;nbsp;I needed to uncheck integration csipimple with android in its settings to make outgoing calls working again. Otherwise&amp;nbsp;it would try to use the native dialer for outgoing calls and that was default to use Groove IP in my native dialer and that&#39;s why it failed.</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/7143949908981473723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/7143949908981473723' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7143949908981473723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/7143949908981473723'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2012/03/using-multiple-google-voice-gv-numbers.html' title='Using multiple Google Voice (GV) numbers in one android phone'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-6418587634753669011</id><published>2011-12-10T16:17:00.001-05:00</published><updated>2011-12-10T16:23:46.163-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>How to dismiss a window without a close button</title><content type='html'>The installation of Offisync left a window displayed on the screen without a close or minimize button. It&#39;s annoying since that window blocks almost 30% of the viewable area of the screen. The Applicatons tab in task manager doesn&#39;t show any trace about it. I had to resort to &lt;a href=&quot;http://technet.microsoft.com/en-us/sysinternals/bb896653&quot;&gt;Process Explorer&lt;/a&gt;, which has a nice function called &quot;Find Handle or DLL...&quot; with a hotkey (&lt;b&gt;CTRL+F&lt;/b&gt;). After I pushed CTRL+F key, I entered &quot;Offisync&quot; as the handle or DLL substring to search and the result returned has a process of &lt;b&gt;Rundll.exe&lt;/b&gt;, which I killed to dismiss the window.&amp;nbsp;</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/6418587634753669011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/6418587634753669011' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/6418587634753669011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/6418587634753669011'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2011/12/how-to-dismiss-window-without-close.html' title='How to dismiss a window without a close button'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-2955512016703983229</id><published>2011-11-27T18:44:00.001-05:00</published><updated>2015-01-10T23:07:28.244-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="note"/><title type='text'>Notes on Nissan Quest 2008</title><content type='html'>&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://pdf.textfiles.com/manuals/AUTOMOBILE/NISSAN/quest/&quot;&gt;Service manuals for Nissan Quest 1994-2009&lt;/a&gt;: PDF files in subfolder (e.g. &lt;a href=&quot;http://pdf.textfiles.com/manuals/AUTOMOBILE/NISSAN/quest/2008_Quest/&quot;&gt;2008_Quest&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt; Rear Sonar System: Described in the &lt;a href=&quot;http://pdf.textfiles.com/manuals/AUTOMOBILE/NISSAN/quest/2008_Quest/di.pdf&quot;&gt;Driver Information (DI)&lt;/a&gt; section of the service manual page DI-45 to DI-54&lt;/li&gt;
&lt;li&gt;&quot;Off&quot; light of rear sonar switch comes on immediately after power on: it means there&#39;s a malfunction in the rear sonar system&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://x.nissanhelp.com/forums/titan/5536-rear-sonar-back-up-sensor-problems.html&quot;&gt;Start self dianosis (working on Quest 2008)&lt;/a&gt; to determine the source of the malfunction&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Turn the key to &quot;on&quot;&lt;/li&gt;
&lt;li&gt;Immediately (within one second) push the rear sonar OFF button 20 times and the Off light goes off&lt;/li&gt;
&lt;li&gt;Push the OFF button one more time, and the light will then begin to flash the oldest logged error code in first digit - last digit format &lt;/li&gt;
&lt;li&gt;More than 90% of the time the malfunctioning part is the &lt;b&gt;Sonar Buzzer&lt;/b&gt;, which corresponds to error code &lt;b&gt;21&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Nissan&lt;b&gt; &lt;/b&gt;SKU number for the Sonar Buzzer: &lt;b&gt;25640-7S200&lt;/b&gt;. &lt;a href=&quot;http://www.bestartech.com/round-speaker-diameter-56mm-1.0w-ohms-p-158-l-en.html&quot;&gt;Link to one possible supplier&lt;/a&gt;. Priced at $41-$45 at &lt;a href=&quot;http://www.ebay.com/sch/i.html?_from=R40&amp;amp;_trksid=p5197.m570.l1313&amp;amp;_nkw=25640-7S200&amp;amp;_sacat=See-All-Categories&quot;&gt;Ebay motor&lt;/a&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Speaker in the buzzer assembly: &lt;a href=&quot;http://www.bestartech.com/PDFs/BMS3650l-P2-HTLF.PDF.pdf&quot;&gt;click here for the datasheet of the speaker &lt;/a&gt;&lt;br /&gt;Click on the pictures below for larger pictures.&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsAOpexwN8eGrWfndlej8jMsyzECg8qVu6U1zCbSE5qvSSusxQqb_b5CwzSJSGfjUiQWNmufloAxPt5jen1c2x-tr21Fpn0oRg7-kww7XQ1b6s_Lnymj5nW9GVCCyHCASunfV_Va1C3vXE/s1600/IMG_6562.jpg&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/AVvXsEjsAOpexwN8eGrWfndlej8jMsyzECg8qVu6U1zCbSE5qvSSusxQqb_b5CwzSJSGfjUiQWNmufloAxPt5jen1c2x-tr21Fpn0oRg7-kww7XQ1b6s_Lnymj5nW9GVCCyHCASunfV_Va1C3vXE/s320/IMG_6562.jpg&quot; height=&quot;192&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVs7HIAHLtV0cyR-OomcvNHRvosbrx4Y6lPBZaItum1f-JvnGnHOSgfOHi7L7eSkhU41LGs4ADji9IbhaTpZF_ha8I39d82u1oHNLfbbwy_wGEe2yZdJGkv8_CIru-6-wFymguMUBmTckz/s1600/IMG_6561.jpg&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/AVvXsEhVs7HIAHLtV0cyR-OomcvNHRvosbrx4Y6lPBZaItum1f-JvnGnHOSgfOHi7L7eSkhU41LGs4ADji9IbhaTpZF_ha8I39d82u1oHNLfbbwy_wGEe2yZdJGkv8_CIru-6-wFymguMUBmTckz/s320/IMG_6561.jpg&quot; height=&quot;320&quot; width=&quot;313&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://x.nissanhelp.com/forums/quest/13095-2007-quest-rear-sonar-buzzer.html&quot;&gt;Location of the Rear Sonar Buzzer&lt;/a&gt; (2008 Quest):&amp;nbsp; Under the Cluster Lid D as shown in the pictures below (the schematic in page IP-13 of the &lt;a href=&quot;http://pdf.textfiles.com/manuals/AUTOMOBILE/NISSAN/quest/2008_Quest/ip.pdf&quot;&gt;Instrument Panel &lt;/a&gt;section of the service manual is not very accurate). Click on the pictures for larger pictures.&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRWPwBqjjEbhhDNtfd_GsiST-Sw0g76_dAIJuJK-tALbdT5Cy7s0Ds31FFs3IBiae4iJdCfLiOPsdRbkrCVKyP_8185VIpwcWng3rzRkAz5Qoz5YFuuASuJMYQpOMCk79Bo2T5SL3KW8mC/s1600/IMG_6556.jpg&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/AVvXsEgRWPwBqjjEbhhDNtfd_GsiST-Sw0g76_dAIJuJK-tALbdT5Cy7s0Ds31FFs3IBiae4iJdCfLiOPsdRbkrCVKyP_8185VIpwcWng3rzRkAz5Qoz5YFuuASuJMYQpOMCk79Bo2T5SL3KW8mC/s320/IMG_6556.jpg&quot; height=&quot;214&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxJHFiqk3HI-Joe2b4cDUjIm2zHqV0pSHkwlA2-9WkEoWjPkxrbNlNamsabxCkYURRPBtQmgFuekvWnFqWBOdbu2cZzALDtax5cztAFK9QVznEam3SpBSU3o6hQ8eRPlPw3ueJmQ2B7frH/s1600/IMG_6557.jpg&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/AVvXsEjxJHFiqk3HI-Joe2b4cDUjIm2zHqV0pSHkwlA2-9WkEoWjPkxrbNlNamsabxCkYURRPBtQmgFuekvWnFqWBOdbu2cZzALDtax5cztAFK9QVznEam3SpBSU3o6hQ8eRPlPw3ueJmQ2B7frH/s320/IMG_6557.jpg&quot; height=&quot;204&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Battery&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Nissan part number: 24410-9B90A&lt;/li&gt;
&lt;li&gt;Compatible battery:&amp;nbsp; &lt;a href=&quot;http://www.samsclub.com/sams/shop/product.jsp?productId=prod3590223&quot;&gt;Duracell 24F&lt;/a&gt; sold at Sam&#39;s club for ~$80 installed&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Tire pressure sensor&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Nissan part number:&amp;nbsp;40700-1AA0B&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.fetchparts.com/p/Nissan_2008_Quest35L-V6-AutomaticS/Pressure-sensor-Sensor-Tire-Pressure-Monitoring-System-TPMS-Sensor-TIRE-PRESSURE-SENSOR-Tire-sensor-TPMS-sensor/49582796/407001AA0B.html&quot;&gt;Part information on Fetchparts.com&amp;nbsp;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/2955512016703983229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/2955512016703983229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/2955512016703983229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/2955512016703983229'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2011/11/notes-on-nissan-quest-2008.html' title='Notes on Nissan Quest 2008'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsAOpexwN8eGrWfndlej8jMsyzECg8qVu6U1zCbSE5qvSSusxQqb_b5CwzSJSGfjUiQWNmufloAxPt5jen1c2x-tr21Fpn0oRg7-kww7XQ1b6s_Lnymj5nW9GVCCyHCASunfV_Va1C3vXE/s72-c/IMG_6562.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-5754329808844744060</id><published>2011-11-25T14:11:00.001-05:00</published><updated>2012-02-10T21:04:00.332-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><title type='text'>USB loaders on Wii system menu 4.3U</title><content type='html'>The following are collected from various internet resources and I take no credit or responsibility on their effects or consequences. Below is a list of softmode guide applicable to any system menu version (4.3 and below).&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://gbatemp.net/t171901-modify-any-wii-4-3-below&quot;&gt;complete softmod guide&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.wiihacks.com/recommended-faqs-guides-tutorials-only/96886-guide-softmod-any-wii.html&quot;&gt;Guide: Softmod ANY Wii&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;a href=&quot;http://www.blogger.com/goog_415985622&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://wehackwii.pbworks.com/w/page/8844446/USB%20Loader&quot;&gt;&lt;span id=&quot;intelliTxt&quot;&gt;USB LOADERs&lt;/span&gt;&lt;/a&gt;&lt;span id=&quot;intelliTxt&quot;&gt; can load and launch all your favorite game backups from a USB hard drive, 
which may contain a primary partition formatted as WBFS or FAT32 or NTFS (no need to repartition the drive for Wii at all). They will work with official firmware 4.3 with a proper cIOS (e.g. cIOS 222). &lt;/span&gt;The cIOS gives HomeBrew access to the USB drive and the DVD drive, among other things. This allows the USB loaders to create/run backup games on/from your USB drive&lt;span id=&quot;intelliTxt&quot;&gt;. &lt;/span&gt; No need to downgrade the firmware to 4.1.&lt;br /&gt;
&lt;span id=&quot;intelliTxt&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span id=&quot;intelliTxt&quot;&gt;Enable &lt;a href=&quot;http://wiibrew.org/wiki/Homebrew_status&quot;&gt;Homebrew&lt;/a&gt; on a Wii. LetterBomb is a known IOS exploit working on system 4.3U without any game.&amp;nbsp; Download the &lt;a href=&quot;http://bootmii.org/download/&quot;&gt;HackMii installer V0.8&lt;/a&gt; and have it ready before starting LetterBomb.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;intelliTxt&quot;&gt;Install the &lt;a href=&quot;http://wiibrew.org/wiki/Homebrew_Channel&quot;&gt;Homebrew channel V1.0.8&lt;/a&gt; as part of the HackMii installer (as well as BootMii) following the &lt;a href=&quot;http://wiibrew.org/wiki/LetterBomb&quot;&gt;LetterBomb instruction here&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;intelliTxt&quot;&gt;Restore the Trucha bug &lt;/span&gt;&lt;span id=&quot;intelliTxt&quot;&gt; to IOS36, &lt;/span&gt;which enables installation of cIOS&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span id=&quot;intelliTxt&quot;&gt;Download &lt;a href=&quot;http://code.google.com/p/dop-mii/&quot;&gt;DOP-Mii V16 from here&lt;/a&gt; (note NOT the WiiBrew Edition) and put the DOP-Mii subfolder (containing boot.dol) under apps folder of the SD card. &lt;/span&gt;Start&amp;nbsp;&lt;b&gt;DOP-Mii&lt;/b&gt;&amp;nbsp;via Homebrew channel.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://wehackwii.pbworks.com/w/page/25121744/DOP%20Mii&quot;&gt;Follow the instruction here&lt;/a&gt; to restore the Trucha bug. Note when prompted for file source, select &lt;b&gt;Load WAD from SD Card &lt;/b&gt;(instead of Downloading from NUS).&lt;b&gt; &lt;/b&gt;The WAD files (IOS15*,IOS36*,IOS38*.wad)&amp;nbsp; can be obtained from the &lt;a href=&quot;http://wehackwii.pbworks.com/w/page/8844451/WeHackWii%20Package&quot;&gt;WeHackWii package&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Go on with the above instruction to uninstall stub IOS 222 and make space for cIOS 222 &lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span id=&quot;intelliTxt&quot;&gt; &lt;/span&gt;Install the hermes cIOS 222, which gives USB loaders access to the USB drive and the DVD drive &lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Remove all GameCube memory cards and controllers &lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://filetrip.net/f11435-hermes-cIOS-Installer-5-1.html&quot; title=&quot;hermes cIOS Installer&quot;&gt;Download hermes cIOS Installer 5.1&lt;/a&gt; and &lt;span id=&quot;intelliTxt&quot;&gt;put the subfolder containing the file boot.dol under apps folder of the SD card. S&lt;/span&gt;tart the installer from the HomeBrew channel&lt;/li&gt;
&lt;li&gt;Select &amp;lt;&lt;b&gt;IOS 36&lt;/b&gt;&amp;gt; with Trucha bug to run the installer and install &lt;b&gt;custom IOS&lt;/b&gt; &lt;b&gt;222&lt;/b&gt; using &lt;b&gt;IOS&lt;/b&gt; &lt;b&gt;38 (default).&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt; USB loaders can now run properly from cIOS 222. No need to install cIOS 249.&lt;/li&gt;
&lt;li&gt;Install the USB loaders (USB loader GX as an example)&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Download the &lt;a href=&quot;http://code.google.com/p/usbloader-gui/&quot;&gt;USB loader GX v2.3 here&lt;/a&gt; &lt;span id=&quot;intelliTxt&quot;&gt;and put the usbloader_gx subfolder (containing boot.dol) under apps folder of the SD card. &lt;/span&gt;Start it from the HomeBrew channel&lt;/li&gt;
&lt;li&gt;The starting IOS in the loader setting may need to be changed to &lt;b&gt;IOS 222&lt;/b&gt; for faster load &lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.wiihacks.com/other-faq-guides-tutorials/74934-ntfs-hard-drives-formatting-loading-ripping-playing-redux.html&quot;&gt;Load backup games from a hard drive with only NTFS partition&lt;/a&gt; (instructions for USB loader GX, WiiFlow and Configurable USB Loader)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.wiihacks.com/recommended-faqs-guides-tutorials-only/96770-guide-fat32.html&quot;&gt;Load backup games from a hard drive with only FAT32 partition&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.wiihacks.com/recommended-faqs-guides-tutorials-only/27305-loading-playing-wii-backup-games-usb-hdd-softmod-only.html&quot;&gt;Work with USB flash drive:&lt;/a&gt; Format the drive as FAT32 with default cluster size&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://wiki.gbatemp.net/wiki/USB_Devices_Compatibility_List&quot;&gt;Wii USB Devices Compatibility List&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Boot Wii straight into USB loader GX with priiloader&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;ol&gt;
&lt;li&gt;Download &lt;a href=&quot;http://code.google.com/p/priiloader/&quot;&gt;Priiloader V0.7 here&lt;/a&gt; and install it from HomeBrew channel&lt;/li&gt;
&lt;li&gt;Download the &lt;a href=&quot;http://code.google.com/p/usbloader-gui/downloads/detail?name=ForwarderV4.dol&amp;amp;can=2&amp;amp;q=&quot;&gt;forwarder DOL&lt;/a&gt; for USB loader GX and install it within Priiloader. The forwarder may need to be named as boot.dol and placed in usbloader_gx subfolder under apps for installation. The original boot.dol should be renamed and is needed in later step.&lt;/li&gt;
&lt;li&gt;In Priiloader Settings, set Autoboot to &lt;b&gt;Installed file &lt;/b&gt;and Return to &lt;b&gt;Autoboot.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Restore the original boot.dol of the USB loader GX (renamed in Step 2 above)&lt;b&gt; &lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Wii now boots straight into USB loader GX. Want to change Priiloader settings? Power Wii on while holding down the reset button on the Wii console and it will boot into the Priiloader main menu &lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;span id=&quot;intelliTxt&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/5754329808844744060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/5754329808844744060' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/5754329808844744060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/5754329808844744060'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2011/11/usb-loader-gx-on-wii-system-menu-43u.html' title='USB loaders on Wii system menu 4.3U'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-4934373793341620258</id><published>2011-11-16T22:11:00.001-05:00</published><updated>2012-11-10T22:11:58.637-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cell phone"/><category scheme="http://www.blogger.com/atom/ns#" term="WebOS"/><title type='text'>Notes on my Palm Pixi Plus</title><content type='html'>&lt;ul&gt;
&lt;li&gt;Update the WebOS software without incurring data usage&lt;br /&gt;Today when I tried to activate my new Pixi plus on Page plus, it prompted me to update the WebOS software after activation and I could NOT bypass it. Since I only have two dollars balance on the account, I don&#39;t want the software update to deplete the cash balance. I powered it off at the prompt and used webdoctor to update its &lt;a href=&quot;http://www.webos-internals.org/wiki/WebOS_Doctor_Versions#Pixi_Plus_4&quot;&gt;WebOS to 1.4.5.1 (downloaded from this link)&lt;/a&gt;. When the device restarts after the webdoctor update, it no longer prompts me to update software and now I can turn on WiFi and turn off its data usage.&lt;/li&gt;
&lt;li&gt;Turn off data usage&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Tap on the green &lt;b&gt;Phone&lt;/b&gt; button at left bottom corner to open Phone app&lt;/li&gt;
&lt;li&gt;Open the application menu and tap &lt;b&gt;Preferences&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Network&lt;/b&gt;, set data usage to &lt;b&gt;OFF&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href=&quot;http://kb.hpwebos.com/wps/portal/kb2/common/article/44768_en.html&quot;&gt;Access the USB update mode for webdoctor&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;First power off the device&lt;/li&gt;
&lt;li&gt;Connector the USB cable directly to a USB port of a computer but not to the device&lt;/li&gt;
&lt;li&gt; Press and hold the &lt;b&gt;power&lt;/b&gt; and &lt;b&gt;volume up&lt;/b&gt; buttons until we see the large USB icon. &lt;img alt=&quot;&quot; class=&quot;step-image singlestepblock&quot; src=&quot;http://www.palm.com/us/assets/images/support/articles/USBDriveMode_RecoveryMode_CasS09.png&quot; /&gt;&lt;/li&gt;
&lt;li&gt;Connect the USB data cable to the device &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Turn on the developer mode&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Type the following on the main screen after unlocking the screen&lt;br /&gt;&lt;b&gt;upupdowndownleftrightleftrightbastart &lt;/b&gt;to launch developer mode icon&lt;/li&gt;
&lt;li&gt;Press on that icon to enable developer mode. Your device will prompt you to restart in order to complete the process&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Turn on the USB passthrough/DIAG mode&lt;br /&gt;Go to the Phone app and type &lt;b&gt;##USBPASS#&lt;/b&gt; (&lt;b&gt;##8727277#&lt;/b&gt;). A bar call ed &quot;USB Passthrough Control&quot; will appear and ask for DIAG authorization code. Enter the code generated with the SN number of the phone by&amp;nbsp;PrePassThroughKeygen and configure the USB port 1 mode to DIAG (others are none).&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://kb.hpwebos.com/wps/portal/kb2/common/article/71164_en.html#N10075&quot;&gt;Back gesture in an APP&lt;/a&gt;&lt;br /&gt; Before I know the back gesture, I was closing the APP and re-launch it to get back to the main screen of the APP. The following is taken from the above link, &quot;Make the back gesture 
from right to left anywhere in the gesture area. Back takes you up a 
level from a detailed view to a more general view of the application 
you&#39;re working in. For example, when you finish reading an email 
message, make the back gesture to close the message and return to your 
list of messages. Or when you finish writing a memo, make the back 
gesture to close and save the memo and return to the display of all your
 memos. When you make the back gesture in an application and only one 
screen of that app is open, you minimize the app and go back to Card 
view. In Web, the back gesture performs the same function as the back 
button on the browser, allowing you to move back through previously 
viewed pages.&quot;&lt;br /&gt; 
&lt;a href=&quot;http://www.palm.com/us/assets/images/support/articles/predualversion/Gesture_back1_Rock.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://www.palm.com/us/assets/images/support/articles/predualversion/Gesture_back1_Rock.png&quot; width=&quot;120&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.palm.com/us/assets/images/support/articles/predualversion/Gesture_back2_Rock.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://www.palm.com/us/assets/images/support/articles/predualversion/Gesture_back2_Rock.png&quot; width=&quot;120&quot; /&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Check the recondition date and status (Reverse Logistics Support)&lt;br /&gt;Enter &lt;b&gt;##786#&lt;/b&gt; in the phone app and you&#39;ll see a comprehensive list of phone parameters displayed including&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;ACTDATE: date of activation&lt;/li&gt;
&lt;li&gt;MSID &lt;/li&gt;
&lt;li&gt;RECONDDATE: empty for a non-refurbished phone&lt;/li&gt;
&lt;li&gt;RECONDSTATUS: &lt;b&gt;no&lt;/b&gt; for a non-refurbished phone&lt;/li&gt;
&lt;li&gt;MEID: ESN(HEX) of the phone&lt;/li&gt;
&lt;li&gt; MDN: page plus phone number&lt;/li&gt;
&lt;li&gt;WARRANTYDATECODE&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;WebOS Quick Install (WOSQI)&lt;ul&gt;
&lt;li&gt;USB mode for WOSQI: When there is a prompt on the device for the USB 
mode, I tap on &quot;Just Charge&quot;. I only switch it to USB drive 
mode when necessary since packages won&#39;t install properly from WOSQI if the device is on USB drive mode.&amp;nbsp; &lt;/li&gt;
&lt;li&gt;&amp;nbsp;Install Preware: Click on the third button (shown next) &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYrKHGJoa6tCPLEjbk_zMHg-39-4xZhq-OV-9pzuuVDKN3g6Gy01-VBCSwEZ0gfootLE1cwG3gZM40XXmclYhQsxnw-yZk5KxzLO3QfQVl0V1RPahEHZwMmsB9NHsXx24hb7BNO8bTzCMl/s1600/wosqi-01.jpg&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/AVvXsEhYrKHGJoa6tCPLEjbk_zMHg-39-4xZhq-OV-9pzuuVDKN3g6Gy01-VBCSwEZ0gfootLE1cwG3gZM40XXmclYhQsxnw-yZk5KxzLO3QfQVl0V1RPahEHZwMmsB9NHsXx24hb7BNO8bTzCMl/s1600/wosqi-01.jpg&quot; /&gt;&lt;/a&gt;
 to obtain a list of packages available for directly download and 
installation from internet. Search for Preware and select it then click 
on the Install button. It should take less than a minute to finish if the device
 is &lt;b&gt;not&lt;/b&gt; on the USB drive mode.&lt;/li&gt;
&lt;li&gt;Uninstall packages or patches: Select the menu item Tools-&amp;gt;Device Management (shown below) for this task. &lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizw_OoGM8nNTD7fAS-rXv_v30_OZaxrLLNtDA8TnuqHnmNpLjKGN26uhF6gnQkcOGQ4X3G37pAdUbYzrcD4WIv74XIT4H5m9Eg9NkFKPNw2wxy11hWifNF6e_um3q64Ohk-iJsDJC2ahs-/s1600/wosqi-02.jpg&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/AVvXsEizw_OoGM8nNTD7fAS-rXv_v30_OZaxrLLNtDA8TnuqHnmNpLjKGN26uhF6gnQkcOGQ4X3G37pAdUbYzrcD4WIv74XIT4H5m9Eg9NkFKPNw2wxy11hWifNF6e_um3q64Ohk-iJsDJC2ahs-/s1600/wosqi-02.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/4934373793341620258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/4934373793341620258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/4934373793341620258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/4934373793341620258'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2011/11/notes-on-my-palm-pixi-plus.html' title='Notes on my Palm Pixi Plus'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYrKHGJoa6tCPLEjbk_zMHg-39-4xZhq-OV-9pzuuVDKN3g6Gy01-VBCSwEZ0gfootLE1cwG3gZM40XXmclYhQsxnw-yZk5KxzLO3QfQVl0V1RPahEHZwMmsB9NHsXx24hb7BNO8bTzCMl/s72-c/wosqi-01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1608453358814706341.post-5712059923666555587</id><published>2011-11-11T20:43:00.001-05:00</published><updated>2011-11-24T15:56:07.749-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Change MAC address of an interaface in Mandriva</title><content type='html'>First I tried the command&lt;br /&gt;
&lt;code&gt;ifconfig eth1 hw ether 00:01:02:03:04:05&lt;/code&gt;&lt;br /&gt;
and I got the following error &lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;SIOCSIFHWADDR: Device or resource busy&lt;/code&gt;&lt;br /&gt;
Then I tried the following command&lt;br /&gt;
&lt;code&gt;&lt;b&gt;ifconfig eth1 down hw ether 00:01:02:03:04:05&lt;/b&gt;&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;b&gt;ifup eth1&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
and it worked!&lt;br /&gt;
&lt;br /&gt;
I also updated the file &lt;b&gt;/etc/iftab&lt;/b&gt; with the new MAC address for eth1. Otherwise the system will be confused after a reboot.</content><link rel='replies' type='application/atom+xml' href='http://piiis.blogspot.com/feeds/5712059923666555587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1608453358814706341/5712059923666555587' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/5712059923666555587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1608453358814706341/posts/default/5712059923666555587'/><link rel='alternate' type='text/html' href='http://piiis.blogspot.com/2011/11/change-mac-address-of-interaface-in.html' title='Change MAC address of an interaface in Mandriva'/><author><name>PIII</name><uri>http://www.blogger.com/profile/09182501831044422104</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>