<?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-9007181493315547867</id><updated>2023-09-07T16:32:05.161-07:00</updated><category term="VMware"/><category term="Linux"/><category term="Tomcat"/><category term="Active Directory"/><category term="Script"/><category term="VoIP"/><category term="生命"/><category term="Apache"/><category term="Backup"/><category term="DNS"/><category term="Exchange"/><category term="Misc"/><category term="NAS"/><category term="Network"/><category term="Plone"/><category term="SAN"/><category term="Virtualization"/><category term="Web"/><category term="Zabbix"/><category term="phone"/><category term="router"/><category term="AWS"/><category term="App-V"/><category term="Citrix"/><category term="Cryptocurrency"/><category term="FTP"/><category term="Laptop"/><category term="OpenFiler"/><category term="Printer"/><category term="Slack"/><category term="Tools"/><category term="Translation"/><category term="Wiki"/><category term="Windows"/><category term="hardware"/><category term="security"/><title type='text'>Hugh&#39;s Notes</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><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>63</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9007181493315547867.post-1414333891346188214</id><published>2023-04-11T12:15:00.002-07:00</published><updated>2023-04-11T12:17:20.112-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Check if SSL CSR, Key and CRT match</title><content type='html'>&lt;p style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: 16px; margin: 0px 0px 0.7em; padding: 0px;&quot;&gt;&lt;span style=&quot;border: 0px; box-sizing: border-box; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;To view the md5 hash of the modulus&amp;nbsp;of the private key:&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-l-generic enlighter-hover enlighter-linenumbers &quot; style=&quot;background-color: white; border-radius: 8px; border: 1px solid rgb(224, 224, 224); box-sizing: border-box; color: #939393; direction: ltr; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 1.35em; margin: 0px 0px 20px; overflow-wrap: break-word; padding: 0px; position: relative; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;enlighter-code&quot; style=&quot;border: 0px; box-sizing: border-box; margin: 0px; overflow: hidden; padding: 0px;&quot;&gt;&lt;div class=&quot;enlighter&quot; style=&quot;border-collapse: collapse; border-spacing: 0px; border: 0px; box-sizing: border-box; counter-reset: enlighter 0; display: table; empty-cells: show; font-size: 1em; margin: 0px; min-width: 100%; padding: 0px; width: 677.984px;&quot;&gt;&lt;div class=&quot;&quot; style=&quot;border-radius: 0px 0px 8px 8px; border: 0px solid rgb(255, 255, 255); box-sizing: border-box; color: #aaaaaa; display: table-row; font-size: inherit; line-height: 1.35em; list-style: none; margin: 0px; min-height: 14px; padding: 0px;&quot;&gt;&lt;div style=&quot;border: 0px; box-sizing: border-box; display: table-cell; margin: 0px; padding: 0px 0px 0px 10px;&quot;&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;$ openssl rsa -noout -modulus -&lt;/span&gt;&lt;span class=&quot;enlighter-k1&quot; style=&quot;border: 0px; box-sizing: border-box; color: #286491; font-family: inherit; font-size: 1em; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; mykey.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;key&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;enlighter-g0&quot; style=&quot;border: 0px; box-sizing: border-box; color: #777777; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; openssl md5&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: 16px; margin: 0px 0px 0.7em; padding: 0px;&quot;&gt;&lt;span style=&quot;border: 0px; box-sizing: border-box; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;To view the md5 hash of the modulus of the CSR:&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-l-generic enlighter-hover enlighter-linenumbers &quot; style=&quot;background-color: white; border-radius: 8px; border: 1px solid rgb(224, 224, 224); box-sizing: border-box; color: #939393; direction: ltr; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 1.35em; margin: 0px 0px 20px; overflow-wrap: break-word; padding: 0px; position: relative; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;enlighter-code&quot; style=&quot;border: 0px; box-sizing: border-box; margin: 0px; overflow: hidden; padding: 0px;&quot;&gt;&lt;div class=&quot;enlighter&quot; style=&quot;border-collapse: collapse; border-spacing: 0px; border: 0px; box-sizing: border-box; counter-reset: enlighter 0; display: table; empty-cells: show; font-size: 1em; margin: 0px; min-width: 100%; padding: 0px; width: 677.984px;&quot;&gt;&lt;div class=&quot;&quot; style=&quot;border-radius: 0px 0px 8px 8px; border: 0px solid rgb(255, 255, 255); box-sizing: border-box; color: #aaaaaa; display: table-row; font-size: inherit; line-height: 1.35em; list-style: none; margin: 0px; min-height: 14px; padding: 0px;&quot;&gt;&lt;div style=&quot;border: 0px; box-sizing: border-box; display: table-cell; margin: 0px; padding: 0px 0px 0px 10px;&quot;&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;$ openssl req -noout -modulus -&lt;/span&gt;&lt;span class=&quot;enlighter-k1&quot; style=&quot;border: 0px; box-sizing: border-box; color: #286491; font-family: inherit; font-size: 1em; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; mycsr.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;csr&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;enlighter-g0&quot; style=&quot;border: 0px; box-sizing: border-box; color: #777777; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; openssl md5&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: 16px; margin: 0px 0px 0.7em; padding: 0px;&quot;&gt;&lt;span style=&quot;border: 0px; box-sizing: border-box; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;To view the md5 hash of the modulus of the certificate:&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-l-generic enlighter-hover enlighter-linenumbers &quot; style=&quot;background-color: white; border-radius: 8px; border: 1px solid rgb(224, 224, 224); box-sizing: border-box; color: #939393; direction: ltr; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 1.35em; margin: 0px 0px 20px; overflow-wrap: break-word; padding: 0px; position: relative; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;enlighter-code&quot; style=&quot;border: 0px; box-sizing: border-box; margin: 0px; overflow: hidden; padding: 0px;&quot;&gt;&lt;div class=&quot;enlighter&quot; style=&quot;border-collapse: collapse; border-spacing: 0px; border: 0px; box-sizing: border-box; counter-reset: enlighter 0; display: table; empty-cells: show; font-size: 1em; margin: 0px; min-width: 100%; padding: 0px; width: 677.984px;&quot;&gt;&lt;div class=&quot;&quot; style=&quot;border-radius: 0px 0px 8px 8px; border: 0px solid rgb(255, 255, 255); box-sizing: border-box; color: #aaaaaa; display: table-row; font-size: inherit; line-height: 1.35em; list-style: none; margin: 0px; min-height: 14px; padding: 0px;&quot;&gt;&lt;div style=&quot;border: 0px; box-sizing: border-box; display: table-cell; margin: 0px; padding: 0px 0px 0px 10px;&quot;&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;$ openssl x509 -noout -modulus -&lt;/span&gt;&lt;span class=&quot;enlighter-k1&quot; style=&quot;border: 0px; box-sizing: border-box; color: #286491; font-family: inherit; font-size: 1em; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; mycert.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;crt&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;enlighter-g0&quot; style=&quot;border: 0px; box-sizing: border-box; color: #777777; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; openssl md5&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: 16px; margin: 0px 0px 0.7em; padding: 0px;&quot;&gt;&lt;span style=&quot;border: 0px; box-sizing: border-box; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;If all three hashes match, the CSR, certificate, and private key are compatible.&lt;/span&gt;&amp;nbsp;You can use&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;enlighter-default enlighter-v-inline enlighter-t-enlighter enlighter-l-generic &quot; style=&quot;background-color: #fafafa; border-radius: 3px; border: 1px solid rgb(224, 224, 224); box-sizing: border-box; color: #939393; direction: ltr; display: inline-block; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 1.35em; margin: 0px; overflow-wrap: break-word; overflow: inherit; padding: 0px; position: relative; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;enlighter&quot; style=&quot;border: 0px; box-sizing: border-box; display: inline-block; margin: 0px 2px; padding: 3px 5px 1px;&quot;&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;diff3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&amp;nbsp;to compare the moduli from all three files at once:&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-l-generic enlighter-hover enlighter-linenumbers &quot; style=&quot;background-color: white; border-radius: 8px; border: 1px solid rgb(224, 224, 224); box-sizing: border-box; color: #939393; direction: ltr; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 1.35em; margin: 0px 0px 20px; overflow-wrap: break-word; padding: 0px; position: relative; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;enlighter-code&quot; style=&quot;border: 0px; box-sizing: border-box; margin: 0px; overflow: hidden; padding: 0px;&quot;&gt;&lt;div class=&quot;enlighter&quot; style=&quot;border-collapse: collapse; border-spacing: 0px; border: 0px; box-sizing: border-box; counter-reset: enlighter 0; display: table; empty-cells: show; font-size: 1em; margin: 0px; min-width: 100%; padding: 0px; width: 677.984px;&quot;&gt;&lt;div class=&quot;&quot; style=&quot;border-radius: 8px 8px 0px 0px; border: 0px solid rgb(255, 255, 255); box-sizing: border-box; color: #aaaaaa; display: table-row; font-size: inherit; line-height: 1.35em; list-style: none; margin: 0px; min-height: 14px; padding: 0px;&quot;&gt;&lt;div style=&quot;border: 0px; box-sizing: border-box; display: table-cell; margin: 0px; padding: 0px 0px 0px 10px;&quot;&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;$ openssl req -noout -modulus -&lt;/span&gt;&lt;span class=&quot;enlighter-k1&quot; style=&quot;border: 0px; box-sizing: border-box; color: #286491; font-family: inherit; font-size: 1em; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; mycsr.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;csr&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;enlighter-g1&quot; style=&quot;border: 0px; box-sizing: border-box; color: #777777; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; csr-mod.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;txt&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;border: 0px solid rgb(255, 255, 255); box-sizing: border-box; color: #aaaaaa; display: table-row; font-size: inherit; line-height: 1.35em; list-style: none; margin: 0px; min-height: 14px; padding: 0px;&quot;&gt;&lt;div style=&quot;border: 0px; box-sizing: border-box; display: table-cell; margin: 0px; padding: 0px 0px 0px 10px;&quot;&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;enlighter-g0&quot; style=&quot;border: 0px; box-sizing: border-box; color: #777777; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; openssl x509 -noout -modulus -&lt;/span&gt;&lt;span class=&quot;enlighter-k1&quot; style=&quot;border: 0px; box-sizing: border-box; color: #286491; font-family: inherit; font-size: 1em; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; mycert.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;crt&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;enlighter-g1&quot; style=&quot;border: 0px; box-sizing: border-box; color: #777777; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; cert-mod.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;txt&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;border: 0px solid rgb(255, 255, 255); box-sizing: border-box; color: #aaaaaa; display: table-row; font-size: inherit; line-height: 1.35em; list-style: none; margin: 0px; min-height: 14px; padding: 0px;&quot;&gt;&lt;div style=&quot;border: 0px; box-sizing: border-box; display: table-cell; margin: 0px; padding: 0px 0px 0px 10px;&quot;&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;enlighter-g0&quot; style=&quot;border: 0px; box-sizing: border-box; color: #777777; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; openssl rsa -noout -modulus -&lt;/span&gt;&lt;span class=&quot;enlighter-k1&quot; style=&quot;border: 0px; box-sizing: border-box; color: #286491; font-family: inherit; font-size: 1em; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; mykey.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;key&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;enlighter-g1&quot; style=&quot;border: 0px; box-sizing: border-box; color: #777777; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; privkey-mod.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;txt&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;border-radius: 0px 0px 8px 8px; border: 0px solid rgb(255, 255, 255); box-sizing: border-box; color: #aaaaaa; display: table-row; font-size: inherit; line-height: 1.35em; list-style: none; margin: 0px; min-height: 14px; padding: 0px;&quot;&gt;&lt;div style=&quot;border: 0px; box-sizing: border-box; display: table-cell; margin: 0px; padding: 0px 0px 0px 10px;&quot;&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;enlighter-g0&quot; style=&quot;border: 0px; box-sizing: border-box; color: #777777; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; diff3 csr-mod.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;txt&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; cert-mod.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;txt&lt;/span&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt; privkey-mod.&lt;/span&gt;&lt;span class=&quot;enlighter-m3&quot; style=&quot;border: 0px; box-sizing: border-box; color: #0086b3; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;txt&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: 16px; margin: 0px 0px 0.7em; padding: 0px;&quot;&gt;If all three files are identical,&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;enlighter-default enlighter-v-inline enlighter-t-enlighter enlighter-l-generic &quot; style=&quot;background-color: #fafafa; border-radius: 3px; border: 1px solid rgb(224, 224, 224); box-sizing: border-box; color: #939393; direction: ltr; display: inline-block; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 1.35em; margin: 0px; overflow-wrap: break-word; overflow: inherit; padding: 0px; position: relative; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;enlighter&quot; style=&quot;border: 0px; box-sizing: border-box; display: inline-block; margin: 0px 2px; padding: 3px 5px 1px;&quot;&gt;&lt;span class=&quot;enlighter-text&quot; style=&quot;border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: 1em; line-height: inherit; margin: 0px; padding: 0px;&quot;&gt;diff3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&amp;nbsp;will produce no output.&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/1414333891346188214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=1414333891346188214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1414333891346188214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1414333891346188214'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2023/04/check-if-ssl-csr-key-and-crt-match.html' title='Check if SSL CSR, Key and CRT match'/><author><name>Unknown</name><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-9007181493315547867.post-525427904912818763</id><published>2023-03-07T20:29:00.003-08:00</published><updated>2023-03-07T20:29:38.623-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Quickly Expand Linux Volume</title><content type='html'>&lt;p&gt;&amp;nbsp;There are various complicated ways to expand a Linux volume. Here is an easy one using &lt;i&gt;parted.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;First, use command &lt;i&gt;lsblk&lt;/i&gt;&amp;nbsp;to show disk volume info, for example:&lt;/p&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: calc(1.5em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--_pr-code-fs); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;$ lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
fd0           2:0    1    4K  0 disk 
sda           8:0    0   40G  0 disk 
├─sda1        8:1    0    1G  0 part /boot
└─sda2        8:2    0   19G  0 part 
  ├─cl-root 253:0    0   17G  0 lvm  /
  └─cl-swap 253:1    0    2G  0 lvm  [SWAP]
&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: calc(1.5em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--_pr-code-fs); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;To expand cl-root volume, enter command:&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: calc(1.5em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--_pr-code-fs); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;parted ---pretend-input-tty /dev/sda resizepart 2 100%;
partx -u /dev/sda; pvresize /dev/sda2;
lvextend -r /dev/cl/root /dev/sda2&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: calc(1.5em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--_pr-code-fs); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;If the command does not work, just update &lt;/code&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--_pr-code-fs); font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;i&gt;parted &lt;/i&gt;&lt;/code&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--_pr-code-fs); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;by &lt;/code&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--_pr-code-fs); font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;i&gt;yum update parted&lt;/i&gt;&lt;/code&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--_pr-code-fs); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;. This works in CentOS 7.&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/525427904912818763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=525427904912818763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/525427904912818763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/525427904912818763'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2023/03/quickly-expand-linux-volume.html' title='Quickly Expand Linux Volume'/><author><name>Unknown</name><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-9007181493315547867.post-547399656155332522</id><published>2023-01-10T14:09:00.004-08:00</published><updated>2023-01-10T14:23:18.522-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Share mapped network drive for all users</title><content type='html'>&lt;p&gt;&amp;nbsp;Normally a shared network drive is only accessible to the user who mapped it. Even when you use &lt;i&gt;net use&lt;/i&gt;&amp;nbsp;command in Command Prompt or PowerShell to map a network drive as Administrator, you will be surprised to find the drive is only available within the elevated Command Prompt or PowerShell window itself. It will not show in File Explorer.&lt;/p&gt;&lt;p&gt;In a small network environment, it is useful to allow all users using the same computer have ready access to the same mapped network drive, for example you have a team file server. You could use a login script to map drives for each and every user, or use a registry setting to share the mapped drive for all users.&lt;/p&gt;&lt;p&gt;Just create HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLinkedConnections DWORD and set the value to 1. Restart the computer to take effect.&lt;/p&gt;&lt;p&gt;You could use File Explorer to map network drives, or use command to do the same with option to enter different credential for access.&lt;/p&gt;&lt;p&gt;&lt;i&gt;net use z: \\file_server\share_name password_here /user:username_here /persistent:Yes&lt;/i&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/547399656155332522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=547399656155332522' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/547399656155332522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/547399656155332522'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2023/01/share-mapped-network-drive-for-all-users.html' title='Share mapped network drive for all users'/><author><name>Unknown</name><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-9007181493315547867.post-380990246856653133</id><published>2021-04-18T15:01:00.005-07:00</published><updated>2021-04-18T15:01:36.998-07:00</updated><title type='text'>Change Password Complexity Setting in Local Group Policy</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px;&quot;&gt;The Password complexity is a Local Policy setting named &quot;&lt;/span&gt;&lt;strong style=&quot;background-color: white; border: 0px; color: #2a2a2a; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Passwords must meet complexity requirements&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px;&quot;&gt;&quot; under Computer Configuration/Windows Settings/Security Settings/Account Policies/Password Policy.&lt;/span&gt;&lt;/p&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px;&quot;&gt;In a Server Core installation there is no graphical user interface to set this policy.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px;&quot;&gt;Instead use secedit to import and export the security settings from a Full Installation of Windows Server 2008.&lt;/span&gt;&lt;ol style=&quot;background-color: white; border: none; color: #2a2a2a; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 17.5px; list-style-type: none; margin: 0px 0px 0px 3em; outline: 0px; padding: 0px;&quot;&gt;&lt;li style=&quot;border: none; font-family: inherit; font-style: inherit; font-weight: inherit; list-style-image: none; list-style-type: decimal; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;First export your security configuration using the following command:&lt;br /&gt;&lt;br /&gt;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;secedit /export /cfg C:\securityconfig.cfg&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/li&gt;&lt;li style=&quot;border: none; font-family: inherit; font-style: inherit; font-weight: inherit; list-style-image: none; list-style-type: decimal; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Then open notepad.exe and edit the C:\securityconfig.cfg file.&lt;br /&gt;Under [System Access] you should find PAssword complexity = 1&lt;br /&gt;Change the value to 0 and save the file.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li style=&quot;border: none; font-family: inherit; font-style: inherit; font-weight: inherit; list-style-image: none; list-style-type: decimal; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Then fire up the next command to import the configuration:&lt;br /&gt;&lt;br /&gt;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;secedit /configure /db C:\Windows\security\new.sdb /cfg C:\securityconfig.cfg /areas SECURITYPOLICY&lt;/strong&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/380990246856653133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=380990246856653133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/380990246856653133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/380990246856653133'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2021/04/change-password-complexity-setting-in.html' title='Change Password Complexity Setting in Local Group Policy'/><author><name>Unknown</name><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-9007181493315547867.post-53602110927156354</id><published>2020-07-17T10:07:00.001-07:00</published><updated>2020-07-17T10:07:28.374-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Plone"/><title type='text'>Unlock and install custom ROM on LG G6 H872</title><content type='html'>Lots of steps to get it done. I love it when everything is done. My LG G6 H872 abandoned by T-Mobile is now running Android 10 using Havoc OS 3.7 smoothly.&lt;br /&gt;
&lt;br /&gt;
Generally followed the steps from &lt;a href=&quot;https://forum.xda-developers.com/tmobile-g6/how-to/root-h872-to-including-11g-t3775518&quot;&gt;https://forum.xda-developers.com/tmobile-g6/how-to/root-h872-to-including-11g-t3775518&lt;/a&gt;. For simplicity and memory, below is my steps in brief.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Download and install ADB platform on Windows computer.&lt;/li&gt;
&lt;li&gt;Download and install LG G6 USB driver.&lt;/li&gt;
&lt;li&gt;Plug in LG G6 via USB to ensure the connection is stable and USB driver loads correctly.&lt;/li&gt;
&lt;li&gt;In phone Settings, tap Software Build six time to enable Developer Mode.&lt;/li&gt;
&lt;li&gt;In phone Settings, get into Developer Mode to enable Developer Connection and Debugging &lt;/li&gt;
&lt;li&gt;With phone plugged in USB, run ADB command &lt;i&gt;adb devices &lt;/i&gt;to verify the phone is online.&lt;/li&gt;
&lt;li&gt;Run ADB command &lt;i&gt;adb reboot bootloader&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;When the phone is rebooted into Download Mode, enter command &lt;i&gt;fastboot oem unlock. &lt;/i&gt;Command &lt;i&gt;fastboot devices &lt;/i&gt;may not show the phone, but it works with oem unlock command. Finally &lt;i&gt;adb reboot&lt;/i&gt; to reboot the phone. This completes &lt;b&gt;bootloader unlock&lt;i&gt;.&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Hold Volume Up button, without touching power button, plug in phone to USB. It will get phone into download mode.&lt;/li&gt;
&lt;li&gt;Download the special LGUP program.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run it detect the plugged in phone in Download Mode,&lt;/li&gt;
&lt;li&gt;Download the image of another LG phone with laf&lt;/li&gt;
&lt;li&gt;Flash LG G6 with the image for laf only. Be careful with laf flashing. As soon as&amp;nbsp; laf flashing step is over, pull the USB cable immediately. The process only take one or two seconds. So be careful to pull quickly.&lt;/li&gt;
&lt;li&gt;Download the current stock ROM the phone is using.&lt;/li&gt;
&lt;li&gt;Flash the ROM using LGUP to phone again but without laf.&lt;/li&gt;
&lt;li&gt;Download FWULL and burn it into USB flash drive.&lt;/li&gt;
&lt;li&gt;Boot computer using FWUL USB flash drive.&lt;/li&gt;
&lt;li&gt;Make sure the computer has wire connection to Internet &lt;/li&gt;
&lt;li&gt;Connect phone in Download Mode to FWUL computer.&lt;/li&gt;
&lt;li&gt;Enter a few commands (search online) in FWUL to download and install TWRP recovery system onto laf partition. This completes &lt;b&gt;TWRP installation&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Reboot computer into Windows for more ADB commands.&lt;/li&gt;
&lt;li&gt;Hold Volume Up button and plugin phone to get into Download Mode. Wait a while, it will go into TWRP.&lt;/li&gt;
&lt;li&gt;In TWRP, ignore password, do a factory reset.&lt;/li&gt;
&lt;li&gt;Download custom ROM Havoc OS for LG G6 and GAPPS 10 for ARM micro. Copy them into ADB folder.&lt;/li&gt;
&lt;li&gt;Put phone into Sideload mode,&lt;/li&gt;
&lt;li&gt;Run ADB command to sideload custom ROM zip file and GAPPS zip file: &lt;i&gt;adb sideload filename.zip&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;Reboot when sideload is complete by command &lt;i&gt;adb reboot&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;This completes custom &lt;b&gt;ROM installation&lt;/b&gt;. Enjoy.&lt;/li&gt;
&lt;/ol&gt;
Note: TWRP is only installed in laf partition, to get into TWRP in future, must plug in USB to computer while holding Volume Up key. </content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/53602110927156354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=53602110927156354' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/53602110927156354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/53602110927156354'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2020/07/unlock-and-install-custom-rom-on-lg-g6.html' title='Unlock and install custom ROM on LG G6 H872'/><author><name>Unknown</name><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-9007181493315547867.post-3777347640302804016</id><published>2020-07-13T09:30:00.002-07:00</published><updated>2020-07-13T09:31:43.623-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Zabbix"/><title type='text'>Zabbix Monitor IIS Application with Anti-Forgery Token Log In Process</title><content type='html'>&lt;div&gt;Use Variables and some regex manipulation, Zabbix Web Monitor can follow the IIS Web Application&#39;s Log In process. It takes four steps:&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Step 1, Front Page. Get Anti-Forgery token for log in.&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Variable Name: {token} &lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Value:&amp;nbsp; regex:&quot;__RequestVerificationToken&quot; type=&quot;hidden&quot; value=&quot;([A-Za-z0-9+=\-\_]+?)&quot;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Step 2, Login. Post all values needed for login and virtually click Submit.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;The value names can be found through Inspect function in Chrome. Submit button does not need value. Lastly, the anti-forgery value name is __RequestVerificationToken, value is {token}&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Step 3, Look for strings on page to see if it is logged in sate.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Step 4, Log out. Usually the logout is just a simple log out URL like https://my.domainname.com/account/logoff/?returnUrl=/&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/3777347640302804016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=3777347640302804016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/3777347640302804016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/3777347640302804016'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2020/07/zabbix-monitor-iis-application-with.html' title='Zabbix Monitor IIS Application with Anti-Forgery Token Log In Process'/><author><name>Unknown</name><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-9007181493315547867.post-8046623262871820166</id><published>2020-07-10T07:12:00.003-07:00</published><updated>2020-07-10T07:25:53.560-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Slack"/><category scheme="http://www.blogger.com/atom/ns#" term="Zabbix"/><title type='text'>Zabbix Slack Integration</title><content type='html'>&lt;div&gt;Have been using&lt;a href=&quot;https://github.com/ericoc/zabbix-slack-alertscript&quot; target=&quot;_blank&quot;&gt; Zabbix Slack AlertScript&lt;/a&gt; for sending alert to Slack happily on Zabbix 3.4. On a new install of Zabbix 4.4, tried the built-in Slack Media Type utilizing new Bot User instead of custom Incoming Webhook. After testing, I went back to install AlertScript on Zabbix 4.4 to get everything working as expected, although AlertScript documentation says Zabbix 4.4 should use the built-in Slack Media Type. &lt;a href=&quot;https://www.zabbix.com/documentation/current/manual/config/notifications/media/script&quot; target=&quot;_blank&quot;&gt;Zabbix documentation&lt;/a&gt; indicates that custom alertscripts is still an option in later version of Zabbix.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Below are issues I found with built-in Slack Media Type:&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Concurrent sessions setting in Slack Media Type must be higher than the number of Slack recipients of a single alert.&lt;/li&gt;
&lt;li&gt;With multiple Slack recipients, often some recipients miss recovery notification.&lt;/li&gt;
&lt;li&gt;With a single Slack recipient, recovery notification could also fail. The error message on Zabbix is &quot;channel not found&quot;.&lt;/li&gt;
&lt;li&gt;The notification content template is a custom script instead of standard Zabbix Action Operations template. The custom script is difficult to customize.&lt;/li&gt;
&lt;/ol&gt;
The missing recovery notification is probably caused by the new behaviour of recovery notification,which, instead of sending a new one of recovery, it searches for the previous problem notification and replace it with a recovery one. The search often fails, probably due to permission and Slack&#39;s upgrade of its internal working. hence the failure of recovery notification. Another downside of replacing previous notification with recovery one is the original notification is lost. As alert history, it is important to see when the original alert happened.</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/8046623262871820166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=8046623262871820166' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/8046623262871820166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/8046623262871820166'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2020/07/zabbix-slack-integration.html' title='Zabbix Slack Integration'/><author><name>Unknown</name><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-9007181493315547867.post-1970766300947610885</id><published>2020-05-07T15:26:00.002-07:00</published><updated>2020-05-07T15:29:04.463-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><title type='text'>AWS Linux WorkSpaces Creation Failure</title><content type='html'>With a quick setup of WorkSpaces and AD Connector, Windows WorkSpaces could be created without too much hassle. However Linux WorkSpaces creation may fail, or has very high failure rate. Out of ten attempts, I only got one successful. Each attempt took two hours. After spent some time, I figured it out.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;The AD directory service account must be a member of Domain Admins group or with equivalent permissions in managing domain computers. Using a basic AD account, Windows WorksSpaces can be joined into domain, but Liunx WorkSpace can not be joined. When it fails, WorkSpaces console displays an error message about lack of permission of AD account.&lt;/li&gt;
&lt;li&gt;The subnets of WorkSpaces must be present in AD Site and Service&#39;s Subnet list. Again, Windows can join AD without correct subnet setup, Linux can not. When Linux WorkSpaces fails to join domain, WorkSpaces console just show a generic error and suggest contacting Amazon Support if it keeps failing.&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/1970766300947610885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=1970766300947610885' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1970766300947610885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1970766300947610885'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2020/05/aws-linux-workspaces-creation-failure.html' title='AWS Linux WorkSpaces Creation Failure'/><author><name>Unknown</name><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-9007181493315547867.post-7356608045367524539</id><published>2019-09-29T20:54:00.003-07:00</published><updated>2019-09-29T20:58:03.516-07:00</updated><title type='text'>Power on/off/reboot Android phone without using power button</title><content type='html'>Works without rooting the phone.&lt;br /&gt;
&lt;h4&gt;
Power Off and Reboot&lt;/h4&gt;
In Google Play Store, install app&amp;nbsp;&lt;i&gt;Button Mapper: Remap your keys. &lt;/i&gt;Remap one of the volume key to Power Dialogue. You can set Up Volume Long Press to bring up Power Dialogue.&lt;br /&gt;
&lt;h4&gt;
Power On&amp;nbsp;&lt;/h4&gt;
It may not work with every phone. Plug in power cable to charge it. When it show a simple charging (flash) icon on screen but not yet showing animated charging picture with percentage, unplug the cable. Wait a while, the phone will boot.&lt;br /&gt;
&lt;br /&gt;
If your phone supports wireless charging, simply put it on charger. It will boot the phone right away.</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/7356608045367524539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=7356608045367524539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/7356608045367524539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/7356608045367524539'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2019/09/how-to-power-onoffreboot-android-phone.html' title='Power on/off/reboot Android phone without using power button'/><author><name>Unknown</name><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-9007181493315547867.post-4519206399812974411</id><published>2019-09-10T17:28:00.000-07:00</published><updated>2019-09-20T09:21:36.101-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cryptocurrency"/><title type='text'>Running Bitcoin Full Node on 10 year old Netbook</title><content type='html'>Recently installed a fully functioning Bitcoin Full Node on a ten year old Asus Eee PC 900HA. The hardware and software are lower than official requirement, but they work fine.&lt;br /&gt;
&lt;br /&gt;
CPU: Intel Atom N270 (32bit, 1.7GHz)&lt;br /&gt;
Memory: 2GB&lt;br /&gt;
Hard Drive: 500GB HD not SSD&lt;br /&gt;
OS: 32bit Centos 6&lt;br /&gt;
&lt;br /&gt;
Bitcoin Core has a 32bit installer.&lt;br /&gt;
&lt;br /&gt;
The only catch is autostarting bitcoind daemon using non-root user at boot. After some research this command worked.&lt;br /&gt;
&lt;br /&gt;
Edit /etc/rc.d/rc.local, add one line:&lt;br /&gt;
&amp;nbsp; &lt;i&gt;su - user -c &quot;bitcoind -daemon&quot;.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
If using SSD instead of regular hard drive, it is nice to include a scheduled trim&lt;i&gt; &lt;/i&gt;script in /etc/cron.weekly.&lt;br /&gt;
&lt;i&gt;nano dofstrim&lt;/i&gt;&lt;br /&gt;
Add content:&lt;i&gt; &lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;#! /bin/sh&lt;br /&gt;#for mount in / /boot /home; do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fstrim $mount&lt;br /&gt;#done&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Make it excutable:&lt;br /&gt;
&lt;i&gt;chkmod +x dofstrim&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
Lastly, set up forward forwarding in router and add TCP 8333 to firewall&amp;nbsp;&lt;i&gt;iptables:&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;nano /etc/sysconfig/iptables&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT&lt;/i&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;i&gt;&lt;/i&gt;
Running Bitcoin Full Node with weak hardware only affects the initial block download and verification time. It took my netbook two weeks. When it is fully running and accepting incoming traffic, it handles 30 traffic without sweat.</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/4519206399812974411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=4519206399812974411' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/4519206399812974411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/4519206399812974411'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2019/09/running-bitcoin-full-node-on-10-year.html' title='Running Bitcoin Full Node on 10 year old Netbook'/><author><name>Unknown</name><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-9007181493315547867.post-2853544369678363282</id><published>2019-08-28T07:55:00.001-07:00</published><updated>2019-12-03T06:48:11.151-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="phone"/><title type='text'>Be careful buying phones from Aliexpress</title><content type='html'>&lt;br /&gt;
Recently bought two refurbished LG G6 H873 from Aliexpress for CAD$130. Both of them are defective and I can&#39;t return them because I updated the ROM trying to fix the problem myself. Although I just updated to a later version of official ROM without rooting, the seller denied my request for return and refund&lt;br /&gt;
&lt;br /&gt;
Below is the brief recount of my unfortunate experience:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Placed an order for a H873 to a seller. The seller did not respond for a week.&lt;/li&gt;
&lt;li&gt;After waiting for a week, I cancelled the first order and placed second order to another seller review says responds quickly. Yes, the seller responded in a few hours and within 24 hours the phone is shipped.&lt;/li&gt;
&lt;li&gt;The first seller responded that my cancellation of first order is rejected because the phone has been shipped, although online status did not show.&lt;/li&gt;
&lt;li&gt;So I waited for the two phones thinking I could use them both or sell one of them on Kijiji.&lt;/li&gt;
&lt;li&gt;The second phone arrived in two weeks. Quick delivery.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;I found I can&#39;t make and receive calls on Freedom Mobile. After a lot of testing, I determined the 3G Band 4 AWS/1700 is dead on this phone.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Attempted to fix the issue through resetting and updating to the latest official ROM. All failed.&lt;/li&gt;
&lt;li&gt;Contacted the second seller for return and refund. The seller&#39;s response is:&lt;br /&gt;&lt;i&gt;&quot;upgrading the system by yourself or auto updating is not supported since we have tested the phone carefully and upgraded the system to the most stable stytem before shipment.and we will not be responsible for such case.&quot;&lt;/i&gt;&lt;br /&gt;So essentially even automatic official update is not supported and void warranty.&lt;/li&gt;
&lt;li&gt;The first phone came. It works with voice calls, but its Wi-Fi and Bluetooth is dead. After a lot of attempts to fix it myself, including updating to the latest official ROM, I came to realize it is a hardware defect, caused by bad contacts of wifi/bluetooth ic on the motherboard.&lt;br /&gt;&lt;a class=&quot;im-message-link&quot; href=&quot;https://forum.xda-developers.com/general/help/qa-wifi-stuck-mac-020000000000-g2-g3-g4-t3452133&quot; style=&quot;background-color: #e3f0ff; border: 0px; box-sizing: border-box; color: #ff9900; font-family: Roboto, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;&quot; target=&quot;_blank&quot;&gt;https://forum.xda-developers.com/general/help/qa-wifi-stuck-mac-020000000000-g2-g3-g4-t3452133&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Also contacted the first seller for return and refund. The seller offered a 20% refund. This is better than the second seller, because it is better than nothing,&amp;nbsp;so I accepted the offer. Then I cracked open the phone to fix it myself following above mentioned instructions. Voila! The phone is clearly assembled out of used parts, and most importantly, there NO wifi/bluetooth chip on the motherboard!&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Lesson learned.&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
I was wrong about the second phone that I thought had bad 3G Band 4. Last week I updated it to official ROM Android 9. Everything starts to work. Incoming and outgoing voice calls work well.&amp;nbsp; Also Android 9 works noticeably faster than Android 8. So the takeaway from this incident is still, be careful when buying phones from Aliexpress.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/2853544369678363282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=2853544369678363282' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/2853544369678363282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/2853544369678363282'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2019/08/be-careful-buying-phones-from-aliexpress.html' title='Be careful buying phones from Aliexpress'/><author><name>Unknown</name><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-9007181493315547867.post-1715517693004474306</id><published>2019-02-12T07:50:00.001-08:00</published><updated>2021-11-04T07:43:57.748-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Useful OpenSSL Commands</title><content type='html'>Generate new SSL private key and CSR file:&lt;br /&gt;
&lt;br /&gt;
openssl req -new -newkey rsa:4096 -nodes -keyout mydomain.key -out mydomain.csr&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Convert RSA private key to PEM format:&lt;br /&gt;
&lt;br /&gt;
openssl rsa -in mydomain.key -text &amp;gt; mydomain-key.pem&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Convert key, cert and ca-bundle into pfx format to be imported into IIS:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
openssl pkcs12 -export -out mydomain.pfx -inkey mydomain.key -in mydomain.crt -certfile intermediateCA.crt&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Convert everything into Tomcat keystore file such as for JIRA:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
In Linux, concatenate all *.pem files (cert first, followed by interca cert) into one pem file, like all.pem Then create keystore in p12 format with private key + all.pem&lt;br /&gt;&lt;br /&gt;openssl pkcs12 -export -inkey private.key -in all.pem -name test -out test.p12&lt;br /&gt;&lt;br /&gt;Then go into Windows, use Java included keytool to export p12 into jks&lt;br /&gt;&lt;br /&gt;keytool -importkeystore -srckeystore test.p12 -srcstoretype pkcs12 -destkeystore test.jks&lt;br /&gt;&lt;br /&gt;For Jira, make sure the &quot;name&quot; is &quot;alias&quot;, use &quot;jira&quot; as &quot;name&quot;.&lt;br /&gt;&lt;br /&gt;The path of keystool.exe in Windows is at C:\Program Files\Java\jre7\bin&lt;br /&gt;&lt;br /&gt;When done, list the content of the keystore file:&lt;br /&gt;&lt;br /&gt;Keytool -list -keystore test.jks</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/1715517693004474306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=1715517693004474306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1715517693004474306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1715517693004474306'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2019/02/useful-openssl-commands.html' title='Useful OpenSSL Commands'/><author><name>Unknown</name><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-9007181493315547867.post-366343734260931622</id><published>2019-02-04T12:46:00.000-08:00</published><updated>2019-02-04T12:46:00.409-08:00</updated><title type='text'>A Perfect ROM for Asus Zenfone 2 ZE551ML(Z00A)</title><content type='html'>Recently upgraded my three year old Asus Zenfone 2 ZE551ML(Z00A) from Android 6 CleanStock to Android 7.1.2 Groovy Android. It works perfectly. All around better than Android 6 CleanStock which has stopped updating long ago. Groovy Android seems will keep updating.&lt;br /&gt;
&lt;br /&gt;
https://forum.xda-developers.com/zenfone2/development/rom-groovy-android-t3756429&lt;br /&gt;
&lt;br /&gt;
Why do you need a $1000 new phone like iPhone while a $100 old phone works perfectly well with a good ROM.</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/366343734260931622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=366343734260931622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/366343734260931622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/366343734260931622'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2019/02/a-perfect-rom-for-asus-zenfone-2.html' title='A Perfect ROM for Asus Zenfone 2 ZE551ML(Z00A)'/><author><name>Unknown</name><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-9007181493315547867.post-1501583997806739808</id><published>2018-12-08T09:14:00.002-08:00</published><updated>2019-08-28T07:07:05.947-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="phone"/><title type='text'>Freedom Mobile and Choice of Phones</title><content type='html'>Freedom Mobile in Canada has a very useful plan for $15 per month. It is called Home 250. It includes 100 minutes outgoing call air time, unlimited incoming, unlimited short messages and 256M full speed (30Mbps) data. After using 256M full speed data, there are no overage charge, the speed is just throttled down to 256Kbps, which is good enough for voice calls over Internet, such as Hangout Dialer calls, not to mention all messaging such as WhatsApp and Wechat. So essentially, the $15 covers most of people&#39;s smart phone plan requires except video watching, which will use up bigger data plan pretty fast too.&lt;br /&gt;
&lt;br /&gt;
Having found and tested this plan, the next step is finding a right phone. The choice is limited if you want to find a cheap and good one by yourself due to requirement of cellular network. Unlike big carriers like Rogers and Bell, Freedom Mobile&#39;s network requirement is rather special.&lt;br /&gt;
&lt;br /&gt;
Check this out:&lt;br /&gt;
https://www.reddit.com/r/freedommobile/comments/8ao4tu/a_guide_to_freedom_mobiles_network/&lt;br /&gt;
&lt;br /&gt;
So we need:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Must support&amp;nbsp;UMTS1700/2100 (Band 4). This band is used for voice calls. Without both 1700 and 2100 in Band 4, even the phone has Internet network, calls will fail. It will dial but the receiving end will never ring. Data works on this band if all other bands are not available. Please note there is the misconception that some phone lists UMTS2100 and claim to work with Freedom Mobile. It won&#39;t. UMTS1700 is more important than UMTS2100.&lt;/li&gt;
&lt;li&gt;Should support&amp;nbsp;LTE1700/2100 (Band 4). This band is used for high speed data network for better data connection.&lt;/li&gt;
&lt;li&gt;Better support&amp;nbsp;&amp;nbsp;LTE1700/2100 (Band 66). This band is the new high speed band for data network. It has much more space to avoid congestion. Not many phones support this band.&lt;/li&gt;
&lt;li&gt;Nice to support&amp;nbsp;&amp;nbsp;LTE700 (Band 13), LTE2600 (Band 7) and LTE2600 (Band 41). Freedom Mobile is using these bands in congested area like shopping malls.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
I found phonedb.net has most accurate and readable specification data on phones. GSMArena.com is confusing or occasionally not correct.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
There are a few good choice of phones supporting Freedom Mobile currently available. They all support UMTS Band 4, LTE Band 4 and LTE Band 66:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;OnePlus5/5T&lt;/li&gt;
&lt;li&gt;Sony Xperia XA2&lt;/li&gt;
&lt;li&gt;Essential Phone PH-1&lt;/li&gt;
&lt;li&gt;Xiaomi Mi A2&lt;/li&gt;
&lt;li&gt;LG G6 H873&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/1501583997806739808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=1501583997806739808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1501583997806739808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1501583997806739808'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2018/12/freedom-mobile-and-choice-of-phones.html' title='Freedom Mobile and Choice of Phones'/><author><name>Unknown</name><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-9007181493315547867.post-5148791130152882636</id><published>2018-09-23T08:56:00.002-07:00</published><updated>2018-10-01T06:42:47.058-07:00</updated><title type='text'>Configuring AWS VPN with Cisco ASA</title><content type='html'>&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px; white-space: pre-wrap;&quot;&gt;Recently configured Amazon AWS VPN connection with Cisco ASA 5500 series. The documentation provided by Amazon is correct. The downloaded configuration for ASA is also good. However the troubleshooting information from Amazon is useless by just stating the general rules which experienced Network Admins are fully aware.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px; white-space: pre-wrap;&quot;&gt;Below are the catches that got me stumped for some time.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;There are no logs on both sides of VPN, making the whole work difficult to troubleshoot when not working.&lt;/li&gt;
&lt;li&gt;The local subnets on both AWS VPC and office network must be fully operational including routing and firewall before the VPN connection comes up.&lt;/li&gt;
&lt;li&gt;The VPN must see a round-trip packet initiated from office internal subnet outside ASA or from the internal network interface on ASA, and SUCCESSFULLY returned from VPC subnet to truly bring up the VPN connection.&lt;/li&gt;
&lt;li&gt;Pinging from ASA without specifying originating port toward VPC has no effect. Ping from VPC toward office network has no effect either. Amazon provided ASA configuration file contains a sla monitor for ASA to ping VPC every 5 seconds to maintain the connection works. But when troubleshooting, better use a OS in office internal network to ping an live OS instance IP on AWS VPC. AWS&#39; local gateway x.x.0.1 and DNS IP x.x.0.2 do not respond to pings from remote subnets so do not ping them to bring up VPN&lt;/li&gt;
&lt;li&gt;Disable Public Network Firewall in Windows on AWS VPC to respond to pings.&lt;/li&gt;
&lt;li&gt;Check connection status on ASA using command show crypto isakmp sa and show crypto ipsec sa. They shows no sa when VPN is not up even when all configuration are correct. It just needs a ping. The Connection Status on AWS VPN Connection has a big time lag of several minutes to show correct status.&lt;/li&gt;
&lt;li&gt;Use show access-list to see the hit count of both VPN mapped access-list and VPN filter access-list to help determining where the packets have reached&lt;/li&gt;
&lt;li&gt;Don’t forget adding route outside rules and no-nat-in rules.&lt;/li&gt;
&lt;li&gt;VPN traffic access control should be done using group policy filter access list, not through mapped VPN Access List.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;The syntax of group policy filter access list is different from regular access list. For example, to allow local subnet to SSH to remote subnet, the command is&amp;nbsp;&lt;i&gt;access-list acl_amzn-vpn-filter extended permit tcp [remote_subnet] [remote_mask] eq ssh [local_subnet] [local_mask]. &lt;/i&gt;The access list rule syntax for inbound traffic is the same as regular command, like this&amp;nbsp;&lt;i&gt;access-list acl_amzn-vpn-filter extended permit tcp [remote_subnet] [remote_mask] [local_subnet] [local_mask] eq ssh. &lt;/i&gt;Some documentation say the outbound is implicitly added when inbound is permitted. It is not the case for me.&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/5148791130152882636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=5148791130152882636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/5148791130152882636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/5148791130152882636'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2018/09/recently-configured-amazon-aws-vpn.html' title='Configuring AWS VPN with Cisco ASA'/><author><name>Unknown</name><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-9007181493315547867.post-7781352180606509944</id><published>2018-04-11T11:27:00.001-07:00</published><updated>2018-04-11T11:28:56.598-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat"/><title type='text'>Convert Apache SSL certificates into Tomcat keystore</title><content type='html'>Found a quick way on some online forum to convert PEM format SSL certificates into Tomcat NIO keystore format.&lt;br /&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;background-color: white; line-height: 1.2; margin-bottom: 11pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #242729; font-family: &amp;quot;arial&amp;quot;; font-size: 11.5pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;In Linux, concatenate all *.pem files (cert first, followed by interca cert) into one pem file, like all.pem Then create keystore in p12 format with private key + all.pem&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;background-color: white; line-height: 1.2; margin-bottom: 11pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #eff0f1; color: #242729; font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;openssl pkcs12 -export -inkey private.key -in all.pem -name test -out test.p12&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;background-color: white; line-height: 1.2; margin-bottom: 11pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #242729; font-family: &amp;quot;arial&amp;quot;; font-size: 11.5pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Then go into Windows, use Java included keytool to export p12 into jks&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-3fd3d0f9-b5f4-b90e-fcd7-3d8af35fef8b&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;background-color: white; line-height: 1.2; margin-bottom: 11pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #eff0f1; color: #242729; font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;keytool -importkeystore -srckeystore test.p12 -srcstoretype pkcs12 -destkeystore test.jks&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/7781352180606509944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=7781352180606509944' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/7781352180606509944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/7781352180606509944'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2018/04/found-quick-way-on-some-online-forum-to.html' title='Convert Apache SSL certificates into Tomcat keystore'/><author><name>Unknown</name><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-9007181493315547867.post-3243285821478498465</id><published>2018-04-11T11:19:00.003-07:00</published><updated>2018-04-11T11:22:44.153-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat"/><title type='text'>BitBucket Environment Variable Change</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;BitBucket is based on Tomcat, but for version 5.6 and higher, its environment variable including Java Local Machine location is configured in new ways instead running &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 11pt; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;i&gt;tomcat.exe&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;Java Home variable is easy to configure. It is in System Properties - Advanced system settings - Environment Variables - System variables - JAVA_HOME. This variable will be used in installation of Bitbucket. However if Bitbucket is already installed, it will not be automatically used by existing Bitbucket services.&lt;/span&gt;&lt;/div&gt;
&lt;b id=&quot;docs-internal-guid-92b8360e-b5ea-f958-cd0e-165ca3e4ede1&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;Their Java Virtual Machine location has to be manually specified.&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;Start with &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;AtlassianBitbucketElasticsearch first. &lt;/span&gt;&lt;/div&gt;
&lt;ol style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li&gt;Copy the text string in &quot;Path to executable&quot; in Services console . It is &quot;C:\path\elasticsearch-service-x64.exe //RS//AtlassianBitbucketElasticsearch&quot;.&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;Paste it into Command Prompt window, edit it to: C:\path\elasticsearch-service-&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; vertical-align: baseline; white-space: pre;&quot;&gt;mgr&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;.exe //&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; vertical-align: baseline; white-space: pre;&quot;&gt;ES&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;//AtlassianBitbucketElasticsearch. Execute It.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;In the configuration windows, go to Java tab, edit the Java Virtual Machine box with correct path to jvm.dll, for example, c:\program files\java\jdk1.8.0_71\bin\server\jvm.dll&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;Apply and OK. You can start &lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;the service now.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;Second configure AtlassianBitbucket.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;Copy the text string in &quot;Path to executable&quot; in Services console . It is &quot;C:\path\bserv64.exe //RS//AtlassianBitbucket&quot;.&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;Paste it into Command Prompt window, edit it to: C:\path\bserv&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; vertical-align: baseline; white-space: pre;&quot;&gt;mgr&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;.exe //&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; vertical-align: baseline; white-space: pre;&quot;&gt;ES&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;// &lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt;AtlassianBitbucket&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot;; font-size: 9.5pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;&quot;&gt; . Execute it.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;In the configuration windows, go to Java tab, edit the Java Virtual Machine box with correct path to jvm.dll, for example, c:\program files\java\jdk1.8.0_71\bin\server\jvm.dll&lt;/li&gt;
&lt;li&gt;Apply and OK. You can start the service now.&lt;/li&gt;
&lt;/ol&gt;
&lt;ol style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;/ol&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/3243285821478498465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=3243285821478498465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/3243285821478498465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/3243285821478498465'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2018/04/bitbucket-is-based-on-tomcat-but-for.html' title='BitBucket Environment Variable Change'/><author><name>Unknown</name><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-9007181493315547867.post-6524396759087054185</id><published>2018-03-26T12:58:00.001-07:00</published><updated>2018-03-26T13:04:20.235-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Use iptables on Linux to port forward</title><content type='html'>IPTABLES on Linux can be configured to replace Web Reverse Proxy in some cases to redirect ports. Below is how on Ubuntu.&lt;br /&gt;
&lt;br /&gt;
Enter command below in SSH session to redirect port 80 to port 8080. Port 8080 will keep working.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080&lt;/code&gt;&lt;/pre&gt;
Verify it it is working. Then make sure the configuration will be loaded every time Linux starts.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #111111; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;sudo iptables-save | sudo tee /etc/iptables.conf&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #111111; font-family: Ubuntu, Arial, &amp;quot;libra sans&amp;quot;, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
to save your current iptables rules to&amp;nbsp;&lt;code style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;/etc/iptables.conf&lt;/code&gt;&amp;nbsp;and then insert these lines in&amp;nbsp;&lt;code style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;/etc/rc.local&lt;/code&gt;:&lt;/div&gt;
&lt;pre style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #111111; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;# Load iptables rules from this file
iptables-restore &amp;lt; /etc/iptables.conf&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/6524396759087054185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=6524396759087054185' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/6524396759087054185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/6524396759087054185'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2018/03/use-iptables-on-linux-to-port-forward.html' title='Use iptables on Linux to port forward'/><author><name>Unknown</name><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-9007181493315547867.post-6329372749533746736</id><published>2018-03-25T13:00:00.000-07:00</published><updated>2018-03-25T13:00:27.870-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Network"/><title type='text'>Cisco UCS Blade Server Setup Hints</title><content type='html'>The online information for&amp;nbsp;Cisco UCS mainly covers concepts, but lacking on specifics, like cabling and admin access issues. Here is my notes.&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
Java Compatibility&lt;/h4&gt;
Cisco UCS Admin Console is only compatible with Java 7, not Java 8.&lt;br /&gt;
&lt;br /&gt;
The KVM console also requires Flash, so Firefox with Flash has the best compatibility. Chrome does not work with KVMconsole&lt;br /&gt;
&lt;h4&gt;
Cabling&amp;nbsp;&lt;/h4&gt;
Plug two, four or eight ports on the first network module on Chassis to Fabric Interconnect A, starting from left. If Fabric Interconnect is configured in cluster mode, two, four or eight ports on the second network module connect to Fabric Interconnect B.&lt;br /&gt;
&lt;br /&gt;
In UCS Admin Console, set these ports on Fabric Interconnect as Server Ports. When done, chassis will show.&lt;br /&gt;
&lt;br /&gt;
In UCS Admin Console, set some ports on Fabric Interconnect as Uplink Ports for connection into company network. Set speed to 1Gb if company network is 1Gb, otherwise the link will come up.&lt;br /&gt;
&lt;br /&gt;
Use copper Ethernet SFP+ transceiver to connect Fabric Interconnect quickly into copper network.&lt;br /&gt;
&lt;h4&gt;
Network Setup&lt;/h4&gt;
Use LAN Pin Group to assign ports to network.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/6329372749533746736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=6329372749533746736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/6329372749533746736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/6329372749533746736'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2018/03/cisco-ucs-blade-server-setup-hints.html' title='Cisco UCS Blade Server Setup Hints'/><author><name>Unknown</name><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-9007181493315547867.post-4865283911988685593</id><published>2018-03-25T10:30:00.000-07:00</published><updated>2018-03-25T10:38:19.231-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Small Cron Job Tricks</title><content type='html'>While troubleshooting a Linux script that fails to run, learned following three tricks about cron job:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Check system log at /var/log/cron to see if the job has been executed on time.&lt;/li&gt;
&lt;li&gt;The last cron command in file, say a file in /etc/cron.d, must be followed by an empty line. Otherwise the last cron command will not be executed.&lt;/li&gt;
&lt;li&gt;Add&amp;nbsp;&amp;nbsp;“2&amp;gt;&amp;amp;1” to the end of cron command to disable sending STD to email. By default, root receives email, or address specified by &quot;MAILTO=user@somehost.tld&quot;&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/4865283911988685593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=4865283911988685593' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/4865283911988685593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/4865283911988685593'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2018/03/small-cron-job-tricks.html' title='Small Cron Job Tricks'/><author><name>Unknown</name><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-9007181493315547867.post-7245680546922451025</id><published>2018-03-25T10:17:00.001-07:00</published><updated>2018-03-25T10:19:00.399-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="router"/><title type='text'>Chinese Wireless Router LB-Link</title><content type='html'>Recently I bought a couple cheap wireless router LB-Link BL-600N from China during my trip there. I bought it because I found people were discussing on Chinese &lt;a href=&quot;http://www.right.com.cn/forum/forum.php&quot; target=&quot;_blank&quot;&gt;router forum&lt;/a&gt;&amp;nbsp;saying it is the cheapest router (less than CAD$10) with very high spec (dual band 600M, gigabit Lan and USB) and supports Tomato firmware. Although people says it runs super hot and suffers from wireless dropouts, I bought it anyway because I have been always pretty lucky buying cheap routers and configure them with 3rd party firmware to run stably. I believe I can attach heatsink to it to solve the heat problem and the wireless dropout issue seems to be heat related.&lt;br /&gt;
&lt;br /&gt;
After a months of effect, I admit my confidence is defeated.&lt;br /&gt;
&lt;br /&gt;
First is the temperature. One guy on the forum used a laser thermometer tested the running temperature. Without heatsink mod, the inner metal shield case runs 90 degree celcius. With heatsink covering the entire metal shield case, the temperature lowers to 70 degrees celcius. I do not have thermometer but by touching, it can attest the claim. Without heatsink mod, in other words with stock setup, the router starts to restart itself randomly after two weeks obviously due to high temperature. And it keeps restarting every &amp;nbsp;few hours as long as the temperature is not lowered. With heatsink mod, it does not restart itself anymore.&lt;br /&gt;
&lt;br /&gt;
Second, after restarting problem solved, I come to realize the wifi dropouts. It is happening with and without heatsink mod and on both of my routers. The heatsink I used is from an old Nvidia fanless video card and it almost as big as the router itself. It does not runs too hot to touch. So either the wifi part of the router is defective or the temperature should be even lower, which I will try if I come across a giant heatsink in future, LOL.&lt;br /&gt;
&lt;br /&gt;
Edit after a year.&lt;br /&gt;
&lt;br /&gt;
I have now been running this LB-Link BL-600N for a year without rebooting. I ended up sticking a big heatsink onto the metal shield of the router, with plastic case removed of course. Wi-Fi is also disabled because it is not stable with or without heatsink. I plugged a dual band Lenovo Newfi router configured as AP for wireless signal. This setup has been rock solid ever since.&lt;br /&gt;
&lt;br /&gt;
The firmware running on LB-Link BL-600N is Tomato Shibby for&amp;nbsp;&lt;span style=&quot;background-color: #fafafa; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 12px;&quot;&gt;Tenda N60.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/7245680546922451025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=7245680546922451025' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/7245680546922451025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/7245680546922451025'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2018/03/crappy-chinese-wireless-router-lb-link.html' title='Chinese Wireless Router LB-Link'/><author><name>Unknown</name><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-9007181493315547867.post-1945508089951385747</id><published>2016-07-12T13:09:00.001-07:00</published><updated>2016-07-12T13:09:52.231-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><title type='text'>Microsoft AD Replication Status Tool Is Very Useful</title><content type='html'>Having been fighting with Active Directory replication issues lately. I was surprised I did not catch up with good handy tools for AD troubleshooting.&lt;br /&gt;
&lt;br /&gt;
Microsoft actually made AD Replication Status Tool a couple years back to help with troubleshooting. It even has Microsoft Replication Error Guide and knowledgebase integrated. It becomes an easier job with this tool on one side and Command prompt window on the other running all types of &lt;i&gt;repadmin&lt;/i&gt;&amp;nbsp;commands.&lt;br /&gt;
&lt;br /&gt;
https://www.microsoft.com/en-ca/download/details.aspx?id=30005</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/1945508089951385747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=1945508089951385747' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1945508089951385747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/1945508089951385747'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2016/07/microsoft-ad-replication-status-tool-is.html' title='Microsoft AD Replication Status Tool Is Very Useful'/><author><name>Unknown</name><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-9007181493315547867.post-4207630834568936115</id><published>2016-07-05T07:53:00.002-07:00</published><updated>2018-03-25T10:10:30.064-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="VoIP"/><title type='text'>Unlock iTalkBB&#39;s VoIP Adapter Linksys SPA2012-R Through Phone Reset</title><content type='html'>Got an old Linksys SPA2012-R VoIP phone adaptor locked to iTalkBB from a friend. Successfully unlocked it. Below is what I found.&lt;br /&gt;
&lt;br /&gt;
Older versions of SPA2012-R can be unlocked by sniffing network traffic to find its admin password because the adaptor tries to log on iTalkBB&#39;s provision server using unencrypted message. It is not the case for &amp;nbsp;my SPA2012-R. After DNS resolution, the provisioning logon starts establishing SSL tunnel first.&lt;br /&gt;
&lt;br /&gt;
My SPA2012-R does not accept all user and admin login password found on internet, but it can be reset using a phone attached to it. On the phone, enter the configuration menu (****) and try a user reset (877778#) removes user password. Factory reset (73738#) removes admin password. The reset process does not ask for any password. This is that simple! It is important that the adaptor must not connect to Internet when and after reset because as long as provision server is not removed from configuration, it always auto-provisions and locks itself right away.&lt;br /&gt;
&lt;br /&gt;
After unlocking user and admin password, log into the Web GUI, remove the provision server. The Restricted Access Domain is greyed out and can not be removed. Fortunately, this restriction only applies to phone port 1 not port 2. So just configure port 2 with a SIP account and you are good to go.</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/4207630834568936115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=4207630834568936115' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/4207630834568936115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/4207630834568936115'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2016/07/unlock-italkbbs-voip-adapter-linksys.html' title='Unlock iTalkBB&#39;s VoIP Adapter Linksys SPA2012-R Through Phone Reset'/><author><name>Unknown</name><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-9007181493315547867.post-8882094601517915729</id><published>2016-06-06T12:20:00.000-07:00</published><updated>2016-06-06T12:31:26.149-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="生命"/><title type='text'>佛道说的是什么</title><content type='html'>宗教不是崇拜，不是信仰，不是迷信，是改造自我潜意识中的不合理之处，以实现更完美的生命状态。&lt;br /&gt;
&lt;br /&gt;
经书是指引，是提示，让我们看到我们潜意识中的错误。&lt;br /&gt;
&lt;br /&gt;
在进入自己潜意识的过程中，我们会产生幻觉，同时也会产生新的更准确和深入视野。这种幻觉和新视野的杂合，就是神话。也就是说，神话中有幻觉，也有真实。真实的部分只有能自主掌控自己潜意识的人才能看到，一般人无法了解。因为绝大多数人只对自己的表层意识有自主的感觉，所以大众公认的见解常常是错误的，比如在地心说的年代，地球是宇宙的中心才是正确的，其它都是异端邪说，说疯人说梦话。&lt;br /&gt;
&lt;br /&gt;
那些能自主掌控自己潜意识的人，当他们把自己的潜意识净化之后，他们看到的世界才是真实的。这个真实的世界，就是佛教说的“实相”，而普通人则生活在“颠倒梦想的世界”。&lt;br /&gt;
&lt;br /&gt;
潜意识看到的世界比普通人的表层意识看到的世界要恢宏得多，因为潜意识占据了人脑大部分的脑细胞，所以潜意识视野的广度和深度远远超出普通人对世界的理解。佛教说“不可思议”，“不可言说”。&lt;br /&gt;
&lt;br /&gt;
阻碍人们进入潜意识的屏障是人们的自我心理，即各种情绪。佛家说的“贪嗔痴”就是自我情绪的典型表现。快乐、悲伤、嫉妒、骄傲等等七情六欲都是屏障。佛道的修炼要让人们静下心来，看清这些情绪的变化只是水面的波浪，是不平衡的表现，是暂时的，不是真正的水。看清之后人们得以放下对情绪目标的执着，深入自己的内心。&lt;br /&gt;
&lt;br /&gt;
各种宗教名词的高深莫测，一方面出于当年没有心理学时人们对心理状态描述的困难，一方面出于以讹传讹的偏差积累。同时我们也要明白，现在心理学的研究也是有限的，在发展的，以后会发现更多更深的内容，而修炼者进入自己的潜意识后看到的内外“实相”，远超过现在心理学的范围。&lt;br /&gt;
&lt;br /&gt;
“实相”是什么？佛道都不说，其实已经说了，但普通人也没有明白。不说是因为普通人的理解能力会误解看到“实相”者说的内容，就象成人很难向儿童解释成人的世界。已经说了是因为“实相”已经摆在每个人面前，得道者们也在努力地说，只是普通人因各种情绪的“障”而看不见，听不到。而悟道者到处见法，所有人所有事物都在讲法讲道，“道在屎溺”，一切皆法。&lt;br /&gt;
&lt;br /&gt;
佛家和道家的区别在于说和不说，以及对身体的重视程度。道家源于讲究实干的中华，也注重强身健体，所以道不说。佛家源于喋喋不休的印度，同时印度的气候炎热，不必太注重身体，静心就好。</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/8882094601517915729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=8882094601517915729' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/8882094601517915729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/8882094601517915729'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2016/06/blog-post.html' title='佛道说的是什么'/><author><name>Unknown</name><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-9007181493315547867.post-34029522268362680</id><published>2015-01-26T07:09:00.000-08:00</published><updated>2015-01-26T07:09:19.253-08:00</updated><title type='text'>ASUSWRT vs Tomato</title><content type='html'>Tried ASUS RT-N10P with stock ASUSWRT and Tomato. ASUSWRT is a fork of Tomato. ASUS put a fancy and heavy GUI to Tomato, and cut off many useful Tomato features. After a week of using ASUSWRT, I finally switched back to good and old Tomato. Below are some grips that make me ditched ASUSWRT.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;ASUSWRT&#39;s Admin GUI only supports single logged-in session. If you closed the admin GUI on one computer, you will not be able to login on another computer unless you log out the GUI session from the first computer.&lt;/li&gt;
&lt;li&gt;ASUSWRT&#39;s QoS does not support classification based on source port. It is critical for remote admin on a router swamped with traffic. On Tomato, you can set TCP 8080 highest to ensure you remote admin session from office to home router is always responsive.&lt;/li&gt;
&lt;li&gt;ASUSWRT&#39;s QoS rules can not be re-ordered for best execution efficiency.&lt;/li&gt;
&lt;li&gt;When configuring ASUSWRT without WAN port plugged in, the admin GUI is very slow.&lt;/li&gt;
&lt;li&gt;ASUSWRT only has PPTP VPN server and client. There is no OpenVPN support.&lt;/li&gt;
&lt;li&gt;ASUSWRT&#39;s QoS does not have the useful QoS gragh/pie chart.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
There are actually tons of features in Tomato that you may find useful but can not be found in ASUSWRT. Nevertheless, it is a good thing for average home users who just want to set up and go in a few minutes. And QoS in ASUSWRT works well while most of QoS in other home routers fail. For people who wants and enjoy tweaking, Tomato wins hand down.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I eventually flashed Tomato Shibby into my RT-N10P bought for $10 from TigerDirect, and have a big smile on my face.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hughnote.oldtank.com/feeds/34029522268362680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9007181493315547867&amp;postID=34029522268362680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/34029522268362680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9007181493315547867/posts/default/34029522268362680'/><link rel='alternate' type='text/html' href='http://hughnote.oldtank.com/2015/01/asuswrt-vs-tomato.html' title='ASUSWRT vs Tomato'/><author><name>Unknown</name><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>