tag:blogger.com,1999:blog-68028448138925277472024-03-13T02:43:15.663-06:00GavinHollinger.comPerfecting the art of rural communications using Linux, cloud, internet, wireless technologies since 1993Unknownnoreply@blogger.comBlogger60125tag:blogger.com,1999:blog-6802844813892527747.post-37802190236033380862022-12-08T15:15:00.004-07:002022-12-08T15:15:48.995-07:00Fast secure erase of /dev/nvme0n1 using Ubuntu 22.04 LTS live<br />
<blockquote style="background-color: black; border: 1px solid rgb(153, 153, 153); color: #eeeeee; font-family: "Lucida Console", Consolas, Monaco, "Courier New"; padding: 10px;">
<pre>
Check your disk:
sudo -i
apt install nvme-cli
nvme list
Erase your disk:
nvme format -s1 /dev/nvme0n1
Verify it is really all zeros:
cmp /dev/nvme0n1 /dev/zero
Verify with a progress bar:
apt install pv
pv /dev/nvme0n1 | cmp /dev/zero
Really all zeros:
cmp: EOF on after byte 512110190592, in line 1
Not really all zeros:
/dev/zero differ: byte 449, line 1
</pre>
</blockquote>
<a href="https://manpages.ubuntu.com/manpages/jammy/en/man1/nvme-format.1.html" target="_blank">Thanks</a><br />
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-62356353278969383752022-09-30T07:50:00.002-06:002022-09-30T07:55:31.881-06:00No Get-FileHash? Use CertUtil instead. Built in Windows 7, 10, and 11 Without power tools.<br />
<blockquote style="background-color: black; border: 1px solid rgb(153, 153, 153); color: #eeeeee; font-family: "Lucida Console", Consolas, Monaco, "Courier New"; padding: 10px;">
<pre>
Most are familiar with
Get-FileHash .\Linux.iso
What about an old or restricted windows system that does not have it and you
cannot install programs?
CertUtil is a another pre-installed Windows utility that can be used to
generate hash checksums:
certutil -hashfile .\Linux.iso SHA256
HashAlgorithm choices: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
</pre>
</blockquote>
<a href="http://www.pc-tools.net/win32/md5sums/" target="_blank">You can also drop files on the tiny md5sums</a><br />
<a href="https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil" target="_blank">Thanks</a><br />
<a href="https://superuser.com/questions/245775/is-there-a-built-in-checksum-utility-on-windows-7" target="_blank">Thanks</a><br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-77895936806936898042022-09-24T04:39:00.003-06:002022-09-24T04:39:55.898-06:00YouTube Theatre view by default without extensions<br />
<blockquote style="background-color: black; border: 1px solid rgb(153, 153, 153); color: #eeeeee; font-family: "Lucida Console", Consolas, Monaco, "Courier New"; padding: 10px;">
<pre>Go to https://www.youtube.com
Open dev tools of the browser you are using (Press F12 or Right-click -> Inspect)
Select Console tab
Paste below code and Enter:
document.cookie = 'wide=1; expires='+new Date('3099').toUTCString()+'; path=/';
</pre>
</blockquote>
<a href="http://blog.ercanopak.com/how-to-make-theater-mode-the-default-for-youtube/" target="_blank">Thanks</a>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-55146303778532609452022-07-26T21:52:00.004-06:002022-07-26T21:52:49.470-06:00grub2 can remember last choice<br />
<blockquote style="background-color: black; border: 1px solid rgb(153, 153, 153); color: #eeeeee; font-family: "Lucida Console", Consolas, Monaco, "Courier New"; padding: 10px;">
<pre>Put the following in /etc/default/grub
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
Then run:
update-grub
</pre>
</blockquote>
<a href="https://askubuntu.com/questions/148662/how-to-get-grub2-to-remember-last-choice" target="_blank">Thanks</a>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-79020806747870786102022-05-07T12:23:00.000-06:002022-05-07T12:23:53.959-06:00Connecting Line Level audio to Voice Meeter Potato over WiFi with VBAN Talkie and an old Android phone. <p> </p><p>I needed to bring a high quality low noise unbalanced audio source into a Windows 11 PC from a mile away. I like very low cost or free when possible. Unbalanced audio over great distances has several challenges including the induction of noise, cable installation costs, installation time, signal loss, and other factors. Combining the following techniques worked well for me. Note that latency added by traversing multiple cellular and internet connections over VPN was not a concern for me for this project. Keeping the audio connection on a Local Area Network would reduce latency a lot but not match that of a simple cable, or FM radio.</p><p><b>Items Used:</b></p><p></p><ol style="text-align: left;"><li><a href="https://vb-audio.com/Voicemeeter/potato.htm">Voice Meeter Potato</a> running on the PC (<a href="https://vb-audio.com/Voicemeeter/vban.htm">VBAN</a> over <a href="https://www.wireguard.com/">VPN</a>)</li><li><a href="https://voicemeeter.com/vban-talkie-advanced-intercom-on-your-mobile-device/">Talkie</a> running on the old android phone (LG V10)</li><li>Optional VPN software. (<a href="https://www.wireguard.com/">WireGuard</a>)</li><li>Line to Mic adaptor Circuit (50K Pot and 10uF Capacitor Soldered in middle of a TRRS cable. (Made my own design to use parts I had laying around with <a href="https://play.google.com/store/apps/details?id=com.proto.circuitsimulator">Proto Circuit Simulator</a>)</li></ol><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsw_5oCYy5t2Hj0NvMHCx-jvsxisUPEGM14EVyMCtHtsYgAF-jO1YybtsJICrZ50muRXJgZePFsNwPQcXVOPGdOBGNeiHysstC2ahvgsTJeeXTvzzP3FvuQVGO36kxeY3ugJRKcnSp8VuxJLrkPV8PHMPiLM4hjrhDysQhswYSFo4u6g1WRbcVf6n9/s2400/Screenshot_20220507-115832.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1080" data-original-width="2400" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsw_5oCYy5t2Hj0NvMHCx-jvsxisUPEGM14EVyMCtHtsYgAF-jO1YybtsJICrZ50muRXJgZePFsNwPQcXVOPGdOBGNeiHysstC2ahvgsTJeeXTvzzP3FvuQVGO36kxeY3ugJRKcnSp8VuxJLrkPV8PHMPiLM4hjrhDysQhswYSFo4u6g1WRbcVf6n9/w640-h288/Screenshot_20220507-115832.jpg" width="640" /></a></div><br /><p><br /></p><p><b>Helpful Videos:</b></p><p><a href="https://youtu.be/mCk50RTtrT0?t=509">2 Capacitors in Parallel for better audio quality</a></p><p><a href="https://www.youtube.com/watch?v=rgfZb1pEIrU">Balanced vs unbalanced audio.</a><br /></p><p>No analog level adjustment in <a href="https://www.youtube.com/watch?v=aovtGu_pG4w">this design</a>, and I wanted it really hot, two components that I could cut an old cable in half and solder them in the middle. <br /></p><p><br /></p><p><b>Helpful articles:</b></p><p><a href="https://en.wikipedia.org/wiki/Line_level">https://en.wikipedia.org/wiki/Line_level</a></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjbiWgdmK7MauoHKWMafK8LGK6YMiPOHLwUbauwl4cIbai-3JFwPVhqTWlf0Ex_uG6WSMmS2uya9IlufgnhGzElM7oPdgoT2U38o4IbrcjVjfHw3o7_Ty9jyGz0RfaKP8Zf6CLVpf8TDoIAg5kxSY1QwBzwZmH-IOjtDfHakey9U62wrGJ5q9826c0/s1756/2022-05-07%2011_31_46-Line%20level%20-%20Wikipedia.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1756" data-original-width="580" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjbiWgdmK7MauoHKWMafK8LGK6YMiPOHLwUbauwl4cIbai-3JFwPVhqTWlf0Ex_uG6WSMmS2uya9IlufgnhGzElM7oPdgoT2U38o4IbrcjVjfHw3o7_Ty9jyGz0RfaKP8Zf6CLVpf8TDoIAg5kxSY1QwBzwZmH-IOjtDfHakey9U62wrGJ5q9826c0/w212-h640/2022-05-07%2011_31_46-Line%20level%20-%20Wikipedia.png" width="212" /></a></div><br /><p><a href="https://www.epanorama.net/blog/2014/09/15/android-device-external-mic-wiring/">https://www.epanorama.net/blog/2014/09/15/android-device-external-mic-wiring/</a></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgk08RuLV-aKALupsViI9d2dIIBx3L_GxJBZJ3rtCsSXA2kF92F7G9sKka98Nl1HYHJtcdB1_W4TT9fs5t32nsUBElvTihkeCYWzLvp4no944rYNe6iOTxYnIUNtWPbDzWHy5XAsF3Ki9d8sbh2yZL6EdCUkoxDz0qUw9VcfqxbhVxu9pp5So7kUns/s2117/2022-05-07%2010_52_56-Android%20device%20external%20mic%20wiring%20_.png" imageanchor="1" style="display: inline !important; margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="2117" data-original-width="772" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgk08RuLV-aKALupsViI9d2dIIBx3L_GxJBZJ3rtCsSXA2kF92F7G9sKka98Nl1HYHJtcdB1_W4TT9fs5t32nsUBElvTihkeCYWzLvp4no944rYNe6iOTxYnIUNtWPbDzWHy5XAsF3Ki9d8sbh2yZL6EdCUkoxDz0qUw9VcfqxbhVxu9pp5So7kUns/w233-h640/2022-05-07%2010_52_56-Android%20device%20external%20mic%20wiring%20_.png" width="233" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;"><a href="https://www.shure.com/en-MEA/conferencing-meetings/ignite/tell-me-about-mic-and-line-level">https://www.shure.com/en-MEA/conferencing-meetings/ignite/tell-me-about-mic-and-line-level</a><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><a href="https://en.wikipedia.org/wiki/List_of_free_electronics_circuit_simulators">https://en.wikipedia.org/wiki/List_of_free_electronics_circuit_simulators</a><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><a href="https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code">Resistor color code</a><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><a href="https://www.instructables.com/A-Preamplifier-for-Smartphone-Oscilloscopes/">Preamplifier for Smartphone Oscilloscopes</a><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><a href="https://www.circuitbasics.com/how-to-hack-a-headphone-jack/">How to hack a headphone jack</a><br /></div><p></p><div><a href="https://geoffthegreygeek.com/audio-levels/">https://geoffthegreygeek.com/audio-levels/</a><br /></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizYYDhQeFigq6uneYAmtpfzmyKtOQZrriqiEheh0zPjUTp7IGD7glpPzAtEOZEULPMyYiwqB7gwLSQzi5HqjLMBM35QI5eWHr8f5MspGJChFbsB-8-sQ-Pw7ravwfa-KtM1r4KrdR0fHj3kqF7vtNdJBtzArQBrVfZyD2Zdjge3gFHE8efQ6RnpJhC/s1412/2022-05-07%2012_10_18-Understanding%20Audio%20Level.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1412" data-original-width="731" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizYYDhQeFigq6uneYAmtpfzmyKtOQZrriqiEheh0zPjUTp7IGD7glpPzAtEOZEULPMyYiwqB7gwLSQzi5HqjLMBM35QI5eWHr8f5MspGJChFbsB-8-sQ-Pw7ravwfa-KtM1r4KrdR0fHj3kqF7vtNdJBtzArQBrVfZyD2Zdjge3gFHE8efQ6RnpJhC/w332-h640/2022-05-07%2012_10_18-Understanding%20Audio%20Level.png" width="332" /></a></div><br /><div><br /></div><div><br /></div><div><br /></div><div><br /></div><a href="https://www.epanorama.net/circuits/line_to_mic.html">https://www.epanorama.net/circuits/line_to_mic.html</a><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-yfnISCQ9D-dhMZwTi8Wgr4aSsd89w2UULfqyI4VLqPXmcNcAnBFiBLPA3tt5qybqOoftBNtQtErCShSY2i_k1BvIvjiKKJjIB7K2qFV-vC877Md7rKz_I0SvyMFyx-NE8bl9wmUtY7MuRHAkYeIC2LIBGC-8HaMe4Jd_mbHRHWVTt_ZHAlDZ2g2s/s2160/2022-05-07%2011_13_45-Line%20signal%20to%20microphone%20input.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-yfnISCQ9D-dhMZwTi8Wgr4aSsd89w2UULfqyI4VLqPXmcNcAnBFiBLPA3tt5qybqOoftBNtQtErCShSY2i_k1BvIvjiKKJjIB7K2qFV-vC877Md7rKz_I0SvyMFyx-NE8bl9wmUtY7MuRHAkYeIC2LIBGC-8HaMe4Jd_mbHRHWVTt_ZHAlDZ2g2s/s2160/2022-05-07%2011_13_45-Line%20signal%20to%20microphone%20input.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-yfnISCQ9D-dhMZwTi8Wgr4aSsd89w2UULfqyI4VLqPXmcNcAnBFiBLPA3tt5qybqOoftBNtQtErCShSY2i_k1BvIvjiKKJjIB7K2qFV-vC877Md7rKz_I0SvyMFyx-NE8bl9wmUtY7MuRHAkYeIC2LIBGC-8HaMe4Jd_mbHRHWVTt_ZHAlDZ2g2s/s2160/2022-05-07%2011_13_45-Line%20signal%20to%20microphone%20input.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-yfnISCQ9D-dhMZwTi8Wgr4aSsd89w2UULfqyI4VLqPXmcNcAnBFiBLPA3tt5qybqOoftBNtQtErCShSY2i_k1BvIvjiKKJjIB7K2qFV-vC877Md7rKz_I0SvyMFyx-NE8bl9wmUtY7MuRHAkYeIC2LIBGC-8HaMe4Jd_mbHRHWVTt_ZHAlDZ2g2s/s2160/2022-05-07%2011_13_45-Line%20signal%20to%20microphone%20input.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-yfnISCQ9D-dhMZwTi8Wgr4aSsd89w2UULfqyI4VLqPXmcNcAnBFiBLPA3tt5qybqOoftBNtQtErCShSY2i_k1BvIvjiKKJjIB7K2qFV-vC877Md7rKz_I0SvyMFyx-NE8bl9wmUtY7MuRHAkYeIC2LIBGC-8HaMe4Jd_mbHRHWVTt_ZHAlDZ2g2s/s2160/2022-05-07%2011_13_45-Line%20signal%20to%20microphone%20input.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="2160" data-original-width="945" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-yfnISCQ9D-dhMZwTi8Wgr4aSsd89w2UULfqyI4VLqPXmcNcAnBFiBLPA3tt5qybqOoftBNtQtErCShSY2i_k1BvIvjiKKJjIB7K2qFV-vC877Md7rKz_I0SvyMFyx-NE8bl9wmUtY7MuRHAkYeIC2LIBGC-8HaMe4Jd_mbHRHWVTt_ZHAlDZ2g2s/w280-h640/2022-05-07%2011_13_45-Line%20signal%20to%20microphone%20input.png" width="280" /></a></div><p><br /></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-49150557702768808192021-12-18T21:43:00.004-07:002022-06-27T00:01:33.925-06:00Accurate time on Windows 11 and Windows 10<a href="https://time.is/" target="_blank">https://time.is/ - Your time is exact!</a>
<br />
<blockquote style="background-color: black; border: 1px solid rgb(153, 153, 153); color: #eeeeee; font-family: "Lucida Console", Consolas, Monaco, "Courier New"; padding: 10px;">
<pre>As a linux user, it bothered me that my windows 11 and windows 10 time was
often several seconds off. If you would like to have more accurate time in
windows, Load this in Registry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config]
"FrequencyCorrectRate"=dword:00000002
"MaxPollInterval"=dword:0000000a
"MinPollInterval"=dword:00000006
"UpdateInterval"=dword:00000064
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"NtpServer"="0.us.pool.ntp.org 1.us.pool.ntp.org 2.us.pool.ntp.org 3.us.pool.ntp.org"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient]
"SpecialPollInterval"=dword:00000040
Run these commands in an administrator cmd window:
sc config W32Time start=auto
net start W32Time
w32tm /query /configuration
w32tm /query /status
time /t
To Put things back:
sc config W32Time start=demand
net stop W32Time
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config]
"FrequencyCorrectRate"=dword:00000004
"MaxPollInterval"=dword:0000000f
"MinPollInterval"=dword:0000000a
"UpdateInterval"=dword:00057e40
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"NtpServer"="time.windows.com,0x9"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient]
"SpecialPollInterval"=dword:00008000
</pre>
</blockquote>
<a href="https://www.ntppool.org/en/use.html" target="_blank">Thanks</a>
<a href="https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/configuring-systems-for-high-accuracy" target="_blank">Thanks</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-45221566833041049842021-10-22T14:23:00.004-06:002022-01-25T22:46:51.498-07:00request the Payee to add their EFT details via the Online Donations system<p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX5lpKKgzYrjOn9BwU2QAodh154ICQzMvE_E98hGWztZkHB_m_SKUkNOHKFmmthLRSwayl7xkYHKDpNC8Ahjog-vCYYswjTi2YLip7ZblNyhx3sKTOmVdGyzBg77phva_CUCJGNakM1fo/" style="margin-left: 1em; margin-right: 1em;"><img alt="No EFT details exist for this Participant for the Payment Type selected. Please select a different Payment Type or request the Payee to add their EFT details via the Online Donations system." data-original-height="131" data-original-width="1012" height="83" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX5lpKKgzYrjOn9BwU2QAodh154ICQzMvE_E98hGWztZkHB_m_SKUkNOHKFmmthLRSwayl7xkYHKDpNC8Ahjog-vCYYswjTi2YLip7ZblNyhx3sKTOmVdGyzBg77phva_CUCJGNakM1fo/w640-h83/2021-10-22+13_12_40-Window.png" title="Error" width="640" /></a></div><br />More people are using the <a href="https://play.google.com/store/apps/details?id=org.lds.ldstools" target="_blank">tools app</a> to submit receipts to the clerk than ever before. If your ward clerk is unable to process the expense reimbursement request you submitted electronically with your phone due to the error message "No EFT details exist for this Participant for the Payment Type selected. Please select a different Payment Type or request the Payee to add their EFT details via the Online Donations system." This is what you need to do:<p></p><p><br /></p><p>Open the web browser of your choice:</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdgVy_JG9bihMT0nkAQhyOuaYbpTHEdUbmYmPISa0TIDyMkADRhReggXXhISNW-R1HT-2mm1ZD_zij6LLfh8czKIr2owrfdOllosTEi7IxB4BtUKjvPPTtr7EGLu21cXFUsu7PNlFHuG4/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="147" data-original-width="103" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdgVy_JG9bihMT0nkAQhyOuaYbpTHEdUbmYmPISa0TIDyMkADRhReggXXhISNW-R1HT-2mm1ZD_zij6LLfh8czKIr2owrfdOllosTEi7IxB4BtUKjvPPTtr7EGLu21cXFUsu7PNlFHuG4/" width="168" /></a></div><br /><br /><p></p><p>Go to the church web site: <a href="https://www.churchofjesuschrist.org/" target="_blank">https://www.churchofjesuschrist.org/</a></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBqMwc6r1svses32IZkEpnzllnrwu5UAQC1350Bs5coYYrj_1Phtmhc2I8_WMO1OK1AkSzkEkP5_AnKV10C55iLc-poRDt06EWCdnRmxbBxtNStIGFBtdRJ0mIo_6oOmmr_822BcTBq7s/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="248" data-original-width="640" height="124" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBqMwc6r1svses32IZkEpnzllnrwu5UAQC1350Bs5coYYrj_1Phtmhc2I8_WMO1OK1AkSzkEkP5_AnKV10C55iLc-poRDt06EWCdnRmxbBxtNStIGFBtdRJ0mIo_6oOmmr_822BcTBq7s/" width="320" /></a></div><br /><br /><p></p><p>Log in to your account:</p><p><br /></p><p>Top Right corner:</p><p><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbOPUyCqPJs1_QoJ35jHzF98-pFk178Ze_a0In8CS6FAsnxxhf3vFeh_GMT9ZZSurY8THY-yjSv8znoDM1z12m-o-aEmsWOuugOLNVORwRM8so5_8J9ww8aO_dYY9XJOhIpqnIDx2uZM/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="110" data-original-width="108" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbOPUyCqPJs1_QoJ35jHzF98-pFk178Ze_a0In8CS6FAsnxxhf3vFeh_GMT9ZZSurY8THY-yjSv8znoDM1z12m-o-aEmsWOuugOLNVORwRM8so5_8J9ww8aO_dYY9XJOhIpqnIDx2uZM/" width="236" /></a></div><br />Sign In:<br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh3UZmPS98qajbwpnfgKgDKv7gZuiNAkhmGu92CjE9_Jzu9y_g9qZaZKFibTK8dpRheNgnPgIRie2JIEev84Pyd_icz4E5P-bOrfM_NXxdqeNtq4DJ6HuXmuaw6-K0ev0OOi3q9zUobyc/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="97" data-original-width="357" height="87" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh3UZmPS98qajbwpnfgKgDKv7gZuiNAkhmGu92CjE9_Jzu9y_g9qZaZKFibTK8dpRheNgnPgIRie2JIEev84Pyd_icz4E5P-bOrfM_NXxdqeNtq4DJ6HuXmuaw6-K0ev0OOi3q9zUobyc/" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;">Enter your Username:</div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyCwLQT16GZddAGuAhmMZHXesKSSD953DCGalu_Lff4nBUaFPsnZMOZoYLFliRzjH1VtzUTQxC1LguLuCKmDL1Lm8wg-inZU0TfNVXtRFFVHh1Jwl4fle8tV7DLxTAJcTX4aRXUPYaz4g/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="68" data-original-width="205" height="106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyCwLQT16GZddAGuAhmMZHXesKSSD953DCGalu_Lff4nBUaFPsnZMOZoYLFliRzjH1VtzUTQxC1LguLuCKmDL1Lm8wg-inZU0TfNVXtRFFVHh1Jwl4fle8tV7DLxTAJcTX4aRXUPYaz4g/" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div style="text-align: left;">Click Next:</div><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzfqZMdCBaKa2FZL7_cXU46nphKKv3heVR8r_jSAV3hJ7RRRCifpN00BUNJGBaRsN5aiVbgQSeOpZpzz8ZTYxlSVvqNhVX3fx9oWTRtLw7I16184hil9Mbj6BCBQLU9_Iek3POg8x32rY/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="83" data-original-width="148" height="179" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzfqZMdCBaKa2FZL7_cXU46nphKKv3heVR8r_jSAV3hJ7RRRCifpN00BUNJGBaRsN5aiVbgQSeOpZpzz8ZTYxlSVvqNhVX3fx9oWTRtLw7I16184hil9Mbj6BCBQLU9_Iek3POg8x32rY/" width="320" /></a></div><div style="text-align: left;">Enter your Password:</div><div style="text-align: left;"><br /></div><div style="text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1ncZu9cGbPvyG6dLu9Vf5gGvP4v6c9X_-orX8S4gZ91-sZVPvF_aaVQTtn7rlUh8kg7oEKkOAErFXa_vYv-AJ9Wnw0YqjTU6C2PYcGBJgBa2taJBA6NMMaIcqjfDjF1b6QmfXQ0u7w9s/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="146" data-original-width="276" height="169" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1ncZu9cGbPvyG6dLu9Vf5gGvP4v6c9X_-orX8S4gZ91-sZVPvF_aaVQTtn7rlUh8kg7oEKkOAErFXa_vYv-AJ9Wnw0YqjTU6C2PYcGBJgBa2taJBA6NMMaIcqjfDjF1b6QmfXQ0u7w9s/" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;">Click Verify:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAhh5qLSXPgP5ztxPSucVmXlumFon9sqwutusG_mkpBwJpvDWw3NXeNvAYHzGJfRjoq51aL1NUL7D3zFtZvNeaj0-7bjLMhQPFA8J4ll4f7Cv8Xxc-XmhPaTzwQlC20KUPvMc1pJW3KKI/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="91" data-original-width="172" height="169" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAhh5qLSXPgP5ztxPSucVmXlumFon9sqwutusG_mkpBwJpvDWw3NXeNvAYHzGJfRjoq51aL1NUL7D3zFtZvNeaj0-7bjLMhQPFA8J4ll4f7Cv8Xxc-XmhPaTzwQlC20KUPvMc1pJW3KKI/" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Click your photo in the top right hand corner:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwbkCFIbvRWcUZzGTBy_vozGRT2P_iweUlxbHUmdgiAmeEIUOFVRNM5z-bqv-bQfix3X7wFU-T7R9MvUdl7s_FAjzMpXGO1Z_sKM9pG5SEmXIFbpLCFPcM2mH7hvjAnBKkIUcJd5ed4dU/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="118" data-original-width="104" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwbkCFIbvRWcUZzGTBy_vozGRT2P_iweUlxbHUmdgiAmeEIUOFVRNM5z-bqv-bQfix3X7wFU-T7R9MvUdl7s_FAjzMpXGO1Z_sKM9pG5SEmXIFbpLCFPcM2mH7hvjAnBKkIUcJd5ed4dU/" width="212" /></a></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Click Donations:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9iC7WHlOrhdJf_pngEI9la0iO7Lz_NYvJskEyRDsw91T2EXB93aonF0bAvtYpZFnNKn1w7BqelWw6P0VVIZjOP_NTfqeKIVz0WlbWDuyJsPB77fRBim5pTdeRy6kVNZ7nH-2gVSUD5Vo/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="73" data-original-width="183" height="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9iC7WHlOrhdJf_pngEI9la0iO7Lz_NYvJskEyRDsw91T2EXB93aonF0bAvtYpZFnNKn1w7BqelWw6P0VVIZjOP_NTfqeKIVz0WlbWDuyJsPB77fRBim5pTdeRy6kVNZ7nH-2gVSUD5Vo/" width="320" /></a></div><br />Open the Donations menu:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOoG6FQ9iMvsW8ZeBXl8n3IrfByVkMAgRkXO_TrgYklhyjMJnTnDRqivmYxXUtZ1v8VSaXgAhB646bJND41psy1F-PztEdvKMnxg4GXsNiz2Iu7XJUx-SV8ABxb376K6RcnRVc0lNhTj8/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="92" data-original-width="123" height="239" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOoG6FQ9iMvsW8ZeBXl8n3IrfByVkMAgRkXO_TrgYklhyjMJnTnDRqivmYxXUtZ1v8VSaXgAhB646bJND41psy1F-PztEdvKMnxg4GXsNiz2Iu7XJUx-SV8ABxb376K6RcnRVc0lNhTj8/" width="320" /></a></div><br />Click Settings:</div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTshmRhI2B2viHVk1NFfBgzVmZmQ4zFX8G1b-iFbrHBNi0LCbUuZ1DWHCErODXkGCf5B-d09Xg7n40Wm7VG79KaXzP74uK5xxW9edcZZdbD8bCNUOMUoCycKd5UShZTq9N6hyphenhyphenDbl2Rnfg/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="63" data-original-width="117" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTshmRhI2B2viHVk1NFfBgzVmZmQ4zFX8G1b-iFbrHBNi0LCbUuZ1DWHCErODXkGCf5B-d09Xg7n40Wm7VG79KaXzP74uK5xxW9edcZZdbD8bCNUOMUoCycKd5UShZTq9N6hyphenhyphenDbl2Rnfg/" width="320" /></a></div><br />Scroll WAY WAY down to "Add Reimbursement Account":</div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXIo2O0JmMezaRz9MrBaqknUwH5pila0fo0VSFN4gwMiVKbB1EjaZAALqzlJoucC3ontL4OUMd6FmgL65UEptBFElj8xkz4bR5YSF7XAZIREXb3ApbEE3CLs41by6iUiMOKXRzKRdosYQ/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="92" data-original-width="365" height="81" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXIo2O0JmMezaRz9MrBaqknUwH5pila0fo0VSFN4gwMiVKbB1EjaZAALqzlJoucC3ontL4OUMd6FmgL65UEptBFElj8xkz4bR5YSF7XAZIREXb3ApbEE3CLs41by6iUiMOKXRzKRdosYQ/" width="320" /></a></div>Select an existing account:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmJ46yDzyeItfEuhzZ36tzaC3kWA-Sm9wNBtUTnaU1Me00cFwgaNR3UZA1SPa_HV4YyiMIGhce2cR-HPqpC6Hk0Z6eh0peqbSfmZeDeMbAnVPguonWraT-n1yPmm1G05TaPq-_gJkuh7o/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="79" data-original-width="268" height="94" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmJ46yDzyeItfEuhzZ36tzaC3kWA-Sm9wNBtUTnaU1Me00cFwgaNR3UZA1SPa_HV4YyiMIGhce2cR-HPqpC6Hk0Z6eh0peqbSfmZeDeMbAnVPguonWraT-n1yPmm1G05TaPq-_gJkuh7o/" width="320" /></a></div><br />If you do not have an account, add a new account instead:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6UJOjlth8qEnXhKYk_4mc9nbVlrtozh3l0lWBoiMRLOj7rcXek7DbGHrsVxdXZpHU7l40K18MG9KQontHhKlrekmFJejdB4ee8I8Ws1s59TfaEib61uqM1OVxuC8it91V2q-J9n8VT98/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="116" data-original-width="299" height="124" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6UJOjlth8qEnXhKYk_4mc9nbVlrtozh3l0lWBoiMRLOj7rcXek7DbGHrsVxdXZpHU7l40K18MG9KQontHhKlrekmFJejdB4ee8I8Ws1s59TfaEib61uqM1OVxuC8it91V2q-J9n8VT98/" width="320" /></a></div><br />Agree to the terms:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6tlU5FaEwoCssb5JKciJ_kc1SliB-qC-6eyHHEoUpggWz2697uIAiF2cVkUkDMOevYJSd_ahXs7Jj7HJC6m4Xs1V8sncLXrJ1WTDg4ERLEy8VpLabXri0ssn4nLR4a3Uqil9jBaUNuN0/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="73" data-original-width="190" height="123" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6tlU5FaEwoCssb5JKciJ_kc1SliB-qC-6eyHHEoUpggWz2697uIAiF2cVkUkDMOevYJSd_ahXs7Jj7HJC6m4Xs1V8sncLXrJ1WTDg4ERLEy8VpLabXri0ssn4nLR4a3Uqil9jBaUNuN0/" width="320" /></a></div><br /><br /><br /></div><div class="separator" style="clear: both; text-align: left;">Save your changes:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7o6V-GFGCoyP1Ct3V_HQLIJmrW0PO0zulRfBujWceD4Z2TPAWeD76bvm005iHeEpdK77TMlOcD_OcTKHnQ9l0wrotqM20nN0BVb6ruyZoDMLjCtDBj0rDtiJAqP3dUqwURxn2k-qf_vg/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="99" data-original-width="196" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7o6V-GFGCoyP1Ct3V_HQLIJmrW0PO0zulRfBujWceD4Z2TPAWeD76bvm005iHeEpdK77TMlOcD_OcTKHnQ9l0wrotqM20nN0BVb6ruyZoDMLjCtDBj0rDtiJAqP3dUqwURxn2k-qf_vg/" width="320" /></a></div>Verify your account is now shown:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQLbO34mSoG4eahP8a2Fai11nTBXtxERdbsJ_4Eb0o7J-UMnmbaQvnl1Oj1vgq5zlJ24I0v5uMRRr9oGPqYcZnec9J57LiCtm9nGKApUqyn6QDgK2aukNCZg46LdKmODbcszeX56ntKws/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="441" data-original-width="641" height="220" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQLbO34mSoG4eahP8a2Fai11nTBXtxERdbsJ_4Eb0o7J-UMnmbaQvnl1Oj1vgq5zlJ24I0v5uMRRr9oGPqYcZnec9J57LiCtm9nGKApUqyn6QDgK2aukNCZg46LdKmODbcszeX56ntKws/" width="320" /></a></div><br /><br />Call / Text/ Talk to your clerk to let them know the error should be gone and they may try again.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><br /><br /></div><br /><br /></div><br /><br /></div><br /></div><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-82985954373076370192020-11-13T10:21:00.002-07:002020-11-13T10:21:57.226-07:00Pass Raw Physical disks on a windows host to a linux virtualbox<br />
<blockquote style="background-color: black; border: 1px solid #999999; color: #eeeeee; font-family: 'Lucida Console', Consolas, Monaco, 'Courier New'; padding: 10px;">
<pre>
With the VM shut down, and all managers and services like VBoxVmService stopped:
Optional when disk numbers have changed: Delete the existing TINY vmdk files with the same exact names you will be re creating from the file system and inside the .vbox file
Open power shell prompt as admin then run the following:
cd 'C:\Program Files\Oracle\VirtualBox\'
.\VBoxManage internalcommands createrawvmdk -filename "C:\0.vmdk" -rawdisk \\.\PhysicalDrive0
.\VBoxManage internalcommands createrawvmdk -filename "C:\1.vmdk" -rawdisk \\.\PhysicalDrive1
.\VBoxManage internalcommands createrawvmdk -filename "C:\2.vmdk" -rawdisk \\.\PhysicalDrive2
.\VBoxManage internalcommands createrawvmdk -filename "C:\3.vmdk" -rawdisk \\.\PhysicalDrive3
.\VBoxManage internalcommands createrawvmdk -filename "C:\4.vmdk" -rawdisk \\.\PhysicalDrive4
..... How ever many you have
Add the disks back in to the VM definition using the GUI.
Be sure you do not use any disks that windows might try to use.
Test the VM, boot, run, power off
restart the services like VBoxVmService
</pre>
</blockquote>
<a href="https://github.com/onlyfang/VBoxVmService" target="_blank">Thanks</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-28576358406282216872020-05-25T18:19:00.000-06:002020-05-25T18:29:30.393-06:00Ubuntu 20.04 LTS 64 on a Raspberry Pi 4<br />
<blockquote style="background-color: black; border: 1px solid #999999; color: #eeeeee; font-family: 'Lucida Console', Consolas, Monaco, 'Courier New'; padding: 10px;">
<pre>
Install Ubuntu Server on a Raspberry Pi 2, 3 or 4
https://ubuntu.com/download/raspberry-pi
Scan your LAN to find the IP then SSH
ssh -p 22 ubuntu@192.168.1.2
Password is ubuntu
Set Time zone:
dpkg-reconfigure tzdata
Configure your advanced network:
If using Netplan: https://netplan.io/examples
If using NetworkManager:
apt install network-manager
nmtui
If you get the error:
Connection is not available on device eth0 because device is strictly unmanaged
find related config files of interest:
grep -r eth0 /etc/
Comment out everything, or delete file:
vi /etc/netplan/50-cloud-init.yaml
vi /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
# Set and change netplan renderer to NetworkManager GUI tool
network:
version: 2
renderer: NetworkManager
reboot
root@rpi4-ubuntu:~# grep -r eth0 /etc/
/etc/initramfs-tools/initramfs.conf:# Specify a specific network interface, like eth0
/etc/NetworkManager/system-connections/eth0 no VLAN.nmconnection:id=eth0 no VLAN
/etc/NetworkManager/system-connections/eth0 no VLAN.nmconnection:interface-name=eth0
/etc/NetworkManager/system-connections/VLAN connection 1.nmconnection:interface-name=eth0.5
/etc/NetworkManager/system-connections/VLAN connection 1.nmconnection:parent=eth0
/etc/dhcp/dhclient.conf:# interface "eth0";
/etc/dhcp/dhclient.conf:# interface "eth0";
/etc/netplan/50-cloud-init.yaml:# eth0:
root@rpi4-ubuntu:~#
</pre>
</blockquote>
<a href="https://ubuntu.com/download/raspberry-pi" target="_blank">Thanks</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-91941648052270419902019-09-12T18:16:00.001-06:002019-09-12T18:16:18.424-06:00STMicroelectronics Joystick in FS Mode<br />
<blockquote style="background-color: black; border: 1px solid #999999; color: #eeeeee; font-family: 'Lucida Console', Consolas, Monaco, 'Courier New'; padding: 10px;">
<pre>
Son's flight controller not connecting to his simulator under Windows 10.
This is how we tested the hardware under linux:
$ lsusb | grep -i joy
Bus 001 Device 006: ID 0483:5710 STMicroelectronics Joystick in FS Mode
$
$ sudo apt install joystick
$ ls /dev/input/by-id/*-joystick
/dev/input/by-id/usb-FrSky_FrSky_Taranis_Joystick_00000000001B-event-joystick /dev/input/by-id/usb-FrSky_FrSky_Taranis_Joystick_00000000001B-joystick
$
$ jstest /dev/input/by-id/usb-FrSky_FrSky_Taranis_Joystick_00000000001B-joystick
Driver version is 2.1.0.
Joystick (FrSky FrSky Taranis Joystick) has 7 axes (X, Y, Z, Rx, Ry, Rz, Throttle)
and 24 buttons (BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR, ?, (null), (null), (null), (null), (null), (null), (null), (null)).
Testing ... (interrupt to exit)
Axes: 0: 20606 1: 16215 2: 16552 3: 16215 4: 0 5: 0 6: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off ^C
$
$ lsusb -v -d 0483:5710
Bus 001 Device 006: ID 0483:5710 STMicroelectronics Joystick in FS Mode
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0483 STMicroelectronics
idProduct 0x5710 Joystick in FS Mode
bcdDevice 2.00
iManufacturer 1 FrSky
iProduct 2 FrSky Taranis Joystick
iSerial 3 00000000001B
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 54
Report Descriptors:
* UNAVAILABLE *
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000b 1x 11 bytes
bInterval 10
Device Status: 0x0001
Self Powered
$
</pre>
</blockquote>
<a href="https://linux.die.net/man/1/jstest" target="_blank">Thanks</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-1784791350596570402018-09-14T17:21:00.000-06:002018-09-14T17:22:44.143-06:00Mount dd dump of disk in linux or other remote storage represented as a file. <br />
<blockquote style="background-color: black; border: 1px solid #999999; color: #eeeeee; font-family: 'Lucida Console', Consolas, Monaco, 'Courier New'; padding: 10px;">
<pre>
So you have a remote storage or a file based dd backup and you want to
mount a part of it in the middle.
# parted /dev/mapper/hitachi_asdf1 unit b print
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/hitachi_asdf1: 42949672960B
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1048576B 26214399B 25165824B primary bios_grub
2 26214400B 235929599B 209715200B primary msftdata
3 235929600B 445644799B 209715200B ext2 primary msftdata
4 445644800B 20913848319B 20468203520B primary msftdata
5 20913848320B 42871029759B 21957181440B primary msftdata
6 42871029760B 42892001279B 20971520B primary msftdata
#
# mount -o ro,loop,offset=235929600 /dev/mapper/hitachi_asdf1 /mnt
#
# losetup --offset 235929600 /dev/loop2 /dev/mapper/hitachi_asdf1
# fsck /dev/loop2
</pre>
</blockquote>
<a href="https://major.io/2010/12/14/mounting-a-raw-partition-file-made-with-dd-or-dd_rescue-in-linux/" target="_blank">Thanks</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-40913312392560187332018-08-21T13:24:00.000-06:002018-08-21T13:24:42.611-06:00Calibrating low cost Software Defined Radios like the r820t<ol>
<li>Local LTE carriers are carefully frequency corrected. You will see a quiet spot in the energy right in the center. Example: 737,000,000 Hz</li>
<li><a href="https://en.wikipedia.org/wiki/Television_channel_frequencies" target="_blank">TV Carriers have a ATSC pilot </a>that is very distinct and easy to tune to. Examples: 470,309,441 Hz and 174,306,000 Hz</li>
</ol>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-8090990803092482942018-06-24T11:34:00.001-06:002022-01-14T03:44:16.541-07:00ethernet > tcpdump > Linux > ssh > Windows > wiresharkStreaming a remote packet capture on a linux system over ssh to a windows system is as easy as creating a one line batch file. When wireshark opens click the "-" interface.
<br />
<blockquote style="background-color: black; border: 1px solid #999999; color: #eeeeee; font-family: 'Lucida Console', Consolas, Monaco, 'Courier New'; padding: 10px;">
<pre>
"C:\Program Files\PuTTY\plink.exe" -batch -ssh -P 22 username@your.fqdn.com "/usr/bin/sudo /usr/sbin/tcpdump -s 0 -i enp2s0 -w - 'port not 22'" | "C:\Program Files\Wireshark\Wireshark.exe" -i -
</pre>
</blockquote>
<br />
Should work with much older and newer of all components but tested with Ubuntu 18.04, Putty 0.70, WireShark 2.6.1, Windows 10 Pro 1803 17134.112<br />
Adding -batch to prevent "Data written to the pipe is neither in a supported pcap format nor in pcapng format" error.<br />
Thanks:<br />
<a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html">https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html</a><br />
<a href="https://www.wireshark.org/download.html">https://www.wireshark.org/download.html</a>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-83156964464189286182017-09-03T22:36:00.001-06:002017-09-03T22:36:34.449-06:00Generating a Google Sunset Calendar using R on UbuntuNotes for generating a Google Sunset Calendar using R. Note, I adjusted the start time 10 min earlier. <a href="https://hilaryparker.com/2014/05/27/sunsets-in-google-calendar-using-r/">Thanks to Hilary Parker</a>
<br />
<blockquote style="background-color: black; border: 1px solid #999999; color: #eeeeee; font-family: 'Lucida Console', Consolas, Monaco, 'Courier New'; padding: 10px;">
<pre>
https://www.timeanddate.com/sun/usa/parowan
https://hilaryparker.com/2014/05/27/sunsets-in-google-calendar-using-r/
https://www.digitalocean.com/community/tutorials/how-to-install-r-on-ubuntu-16-04-2
http://blog.samsandberg.com/2014/06/04/sunsets-in-google-calendar-for-r-noobs/
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
#sudo add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu trusty/'
#sudo add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
sudo apt update
sudo apt upgrade
sudo apt install r-base
wget https://raw.githubusercontent.com/hilaryparker/hilary/master/R/create_sunset_cal.R
vi create_sunset_cal.R
sudo -i R
install.packages("StreamMetabolism")
library(StreamMetabolism)
install.packages("gpclib")
library(maptools)
source("/YourPath/create_sunset_cal.R")
create_sunset_cal()
q()
head /YourPath/sunset.csv
Subject,Start Date,Start Time,End Date,End Time,All Day Event,Description,Location,Private
Sunset,2017-09-03,19:47:54 PM,2017-09-03,20:27:54 PM,False,Sunset Calendar,YourAddress,False
Sunset,2017-09-04,19:46:24 PM,2017-09-04,20:26:24 PM,False,Sunset Calendar,YourAddress,False
Sunset,2017-09-05,19:44:54 PM,2017-09-05,20:24:54 PM,False,Sunset Calendar,YourAddress,False
cat /YourPath/create_sunset_cal.R
#' Create a sunset calendar
#'
#' This function creates a .CSV of sunset appointments--with a user-specified location--that can be imported into Google Calendar.
#' @param date Date at which you want the calendar to start, in yyyy/mm/dd format.
#' @param lat Latitude of location (for sunset time calculation)
#' @param long Longitude of location (for sunset time calculation, will be negative for continental US)
#' @param timezone Timezone of location (for sunset time calculation).
#' @param num.days Number of days you want sunset appointments for.
#' @param file Filename for outputted .CSV file (to be uploaded to Google Calendar).
#' @param location Location of sunset appointment. Will be input into Google Calendar event as the event location.
#' @importFrom StreamMetabolism sunrise.set
#' @export
#' @examples \dontrun{
#' create_sunset_cal(location = "40.7127, -74.0059")
#'}
#'
create_sunset_cal <- function(date="2017/09/03",
lat = 40.7127,
long = -74.0059,
timezone = "America/Denver",
num.days = 365,
file="sunset.csv",
location = "YourAddress"){
location <- gsub(",", "", location)
dates <- seq(
as.Date(date),
by = "day",
length.out = num.days
)
sunset_times <- sunrise.set(
lat = lat,
long = long,
date = date,
timezone = timezone,
num.days = num.days
)$sunset
nms <- c(
'Subject',
'Start Date',
'Start Time',
'End Date',
'End Time',
'All Day Event',
'Description',
'Location',
'Private'
)
mat <- matrix(
nrow = length(dates),
ncol = length(nms)
)
mat <- data.frame(mat)
colnames(mat) <- nms
mat$Subject <- "Sunset"
mat$"Start Date" <- dates
mat$"End Date" <- dates
mat$"All Day Event" <- "False"
mat$Description <- "Sunset Calendar"
mat$Location <- location
mat$Private <- "False"
starts <- strftime(sunset_times-60*10, format="%H:%M:%S %p")
ends <- strftime(sunset_times+60*30, format="%H:%M:%S %p")
mat$"Start Time" <- starts
mat$"End Time" <- ends
write.csv(
mat,
file=file,
quote=FALSE,
row.names=FALSE
)
}
</pre>
</blockquote>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-53725704053991839892017-07-04T13:48:00.004-06:002019-02-16T09:36:47.354-07:00Time problems when dual booting Ubuntu Linux and Windows 10Some OS like Linux set the hardware clock to UTC. Others like Windows use Local time. There are <a href="https://help.ubuntu.com/community/UbuntuTime#Ubuntu_15.04_systems_and_above_.28e.g._Ubuntu_16.04_LTS.29:" target="_blank">several ways</a> to work around this issue but the easiest for me is below: <br />
<br />
<h3 id="Make_Linux_use_.27Local.27_time" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 1em 0px 8px; padding: 0px; vertical-align: baseline;">
Change Windows 10:</h3>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
Windows Registry Editor Version 5.00</div>
<div>
<br /></div>
<div>
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]</div>
<div>
"RealTimeIsUniversal"=dword:00000001</div>
</div>
<div>
<br /></div>
<h3 id="Make_Linux_use_.27Local.27_time" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 1em 0px 8px; padding: 0px; vertical-align: baseline;">
<br /></h3>
<h3 id="Make_Linux_use_.27Local.27_time" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 1em 0px 8px; padding: 0px; vertical-align: baseline;">
or</h3>
<h3 id="Make_Linux_use_.27Local.27_time" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 1em 0px 8px; padding: 0px; vertical-align: baseline;">
<br /></h3>
<h3 id="Make_Linux_use_.27Local.27_time" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 16px; font-weight: normal; line-height: 20px; margin: 1em 0px 8px; padding: 0px; vertical-align: baseline;">
Make Linux use 'Local' time</h3>
<div class="line874" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 13px; line-height: 1.5; margin-bottom: 8px; padding: 0px; vertical-align: baseline;">
To tell your Ubuntu system that the hardware clock is set to 'local' time:<span class="anchor" id="line-173" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-174" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span></div>
<div class="line867" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 13px; line-height: 1.5; margin-bottom: 8px; padding: 0px; vertical-align: baseline;">
</div>
<h4 id="Pre-Ubuntu_15.04_systems_.28e.g._Ubuntu_14.04_LTS.29:" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 12px; font-weight: normal; line-height: 14px; margin: 1em 0px 0px; padding: 0px; vertical-align: baseline;">
Pre-Ubuntu 15.04 systems (e.g. Ubuntu 14.04 LTS):</h4>
<ol style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 13px; line-height: 1; list-style-image: initial; list-style-position: initial; margin: 0px 0px 8px; padding: 0px; vertical-align: baseline;" type="0">
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5; margin: 0px 0px 0px 2.4em; padding: 0px; text-align: left; vertical-align: baseline;">edit /etc/default/rcS<span class="anchor" id="line-177" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span></li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5; margin: 0px 0px 0px 2.4em; padding: 0px; text-align: left; vertical-align: baseline;">add or change the following section<span class="anchor" id="line-178" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-179" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-180" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-181" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><pre style="background-color: #f3f3f3; border: 1px dashed rgb(193, 180, 150); font-family: UbuntuMono, courier, monospace; font-style: inherit; font-weight: inherit; line-height: 16px; margin-bottom: 8px; padding: 4pt; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;"><span class="anchor" id="line-1-11" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span># Set UTC=yes if your hardware clock is set to UTC (GMT)
<span class="anchor" id="line-2-5" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span>UTC=no</pre>
<span class="anchor" id="line-182" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-183" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span></li>
</ol>
<div class="line867" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 13px; line-height: 1.5; margin-bottom: 8px; padding: 0px; vertical-align: baseline;">
</div>
<h4 id="Ubuntu_15.04_systems_and_above_.28e.g._Ubuntu_16.04_LTS.29:" style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 12px; font-weight: normal; line-height: 14px; margin: 1em 0px 0px; padding: 0px; vertical-align: baseline;">
Ubuntu 15.04 systems and above (e.g. Ubuntu 16.04 LTS):</h4>
<span class="anchor" id="line-171" style="background-color: white; border: 0px; color: #333333; font-family: "ubuntu" , "ubuntu beta" , "bitstream vera sans" , "dejavu sans" , "tahoma" , sans-serif; font-size: 13px; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-172" style="background-color: white; border: 0px; color: #333333; font-family: "ubuntu" , "ubuntu beta" , "bitstream vera sans" , "dejavu sans" , "tahoma" , sans-serif; font-size: 13px; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-175" style="background-color: white; border: 0px; color: #333333; font-family: "ubuntu" , "ubuntu beta" , "bitstream vera sans" , "dejavu sans" , "tahoma" , sans-serif; font-size: 13px; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-176" style="background-color: white; border: 0px; color: #333333; font-family: "ubuntu" , "ubuntu beta" , "bitstream vera sans" , "dejavu sans" , "tahoma" , sans-serif; font-size: 13px; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-184" style="background-color: white; border: 0px; color: #333333; font-family: "ubuntu" , "ubuntu beta" , "bitstream vera sans" , "dejavu sans" , "tahoma" , sans-serif; font-size: 13px; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-185" style="background-color: white; border: 0px; color: #333333; font-family: "ubuntu" , "ubuntu beta" , "bitstream vera sans" , "dejavu sans" , "tahoma" , sans-serif; font-size: 13px; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><br />
<ol style="background-color: white; border: 0px; color: #333333; font-family: Ubuntu, "Ubuntu Beta", "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif; font-size: 13px; line-height: 1; list-style-image: initial; list-style-position: initial; margin: 0px 0px 8px; padding: 0px; vertical-align: baseline;" type="0">
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5; margin: 0px 0px 0px 2.4em; padding: 0px; text-align: left; vertical-align: baseline;">open a terminal and execute the following command<span class="anchor" id="line-186" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-187" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span class="anchor" id="line-188" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span><pre style="background-color: #f3f3f3; border: 1px dashed rgb(193, 180, 150); font-family: UbuntuMono, courier, monospace; font-style: inherit; font-weight: inherit; line-height: 16px; margin-bottom: 8px; padding: 4pt; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;"><span class="anchor" id="line-1-12" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1; margin: 0px; padding: 0px; vertical-align: baseline;"></span>timedatectl set-local-rtc 1</pre>
</li>
</ol>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-82953893201528663802017-06-24T23:58:00.000-06:002017-06-24T23:58:23.570-06:00systemd upstart sysvinit start stop serviceSo you have lots of Linux servers and want a quick way to know if the one you are on at the moment is running systemd or upstart or sysvinit. How should you start / stop / that service? It can be confusing with all the distro variations out there but perhaps some of these will help:<br />
<br />
Perhaps <a href="https://unix.stackexchange.com/questions/196166/how-to-find-out-if-a-system-uses-sysv-upstart-or-systemd-initsystem" target="_blank">this</a> will help:<br />
<br />
/usr/lib/systemd tells you you're on a systemd based system.<br />
/usr/share/upstart is a pretty good indicator that you're on an Upstart-based system.<br />
/etc/init.d tells you the box has SysV init in its history<br />
<br />
<br />
The init process is always assigned PID 1. The /proc filesystem provides a way to obtain the path to an executable given a PID.<br />
<br />
In other words:<br />
<br />
nathan@nathan-desktop:~$ sudo stat /proc/1/exe<br />
File: '/proc/1/exe' -> '/sbin/upstart'<br />
As you can see, the init process on my Ubuntu 14.10 box is Upstart. Ubuntu 15.04 uses systemd, so running that command instead yields:<br />
<br />
nathan@nathan-gnome:~$ sudo stat /proc/1/exe<br />
File: '/proc/1/exe' -> '/lib/systemd/systemd'<br />
If the system you're on gives /sbin/init as a result, then you'll want to try statting that file:<br />
<br />
nathan@nathan-gnome:~$ sudo stat /proc/1/exe<br />
File: '/proc/1/exe' -> '/sbin/init'<br />
nathan@nathan-gnome:~$ stat /sbin/init<br />
File: ‘/sbin/init’ -> ‘/lib/systemd/systemd’<br />
You can also execute it to find out more:<br />
<br />
[user@centos ~]$ /sbin/init --version<br />
init (upstart 0.6.5)<br />
<br />
<br />
<br />
So <a href="https://askubuntu.com/questions/19320/how-to-enable-or-disable-services" target="_blank">this is the newer in Ubuntu</a>:<br />
<br />
Starting with Ubuntu 15.04, Upstart will be deprecated in favor of Systemd. With Systemd to manage the services we can do the following:<br />
<br />
systemctl start SERVICE - Use it to start a service. Does not persist after reboot<br />
<br />
systemctl stop SERVICE - Use it to stop a service. Does not persist after reboot<br />
<br />
systemctl restart SERVICE - Use it to restart a service<br />
<br />
systemctl reload SERVICE - If the service supports it, it will reload the config files related to it without interrupting any process that is using the service.<br />
<br />
systemctl status SERVICE - Shows the status of a service. Tells whether a service is currently running.<br />
<br />
systemctl enable SERVICE - Turns the service on, on the next reboot or on the next start event. It persists after reboot.<br />
<br />
systemctl disable SERVICE - Turns the service off on the next reboot or on the next stop event. It persists after reboot.<br />
<br />
systemctl is-enabled SERVICE - Check if a service is currently configured to start or not on the next reboot.<br />
<br />
systemctl is-active SERVICE - Check if a service is currently active.<br />
<br />
systemctl show SERVICE - Show all the information about the service.<br />
<br />
sudo systemctl mask SERVICE - Completely disable a service by linking it to /dev/null; you cannot start the service manually or enable the service.<br />
<br />
sudo systemctl unmask SERVICE - Removes the link to /dev/null and restores the ability to enable and or manually start the service.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-63413054399948970412016-11-26T18:29:00.000-07:002016-11-26T18:33:36.443-07:00Virtual Audio Patching in Windows<br />
<center>
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/h883l3PUJ50" width="560"></iframe>
</center>
<br />
I first found Jack audio on Linux, this video shows it on Windows. Simple use may only need the ASIO Bridge, for that skip to 10m49s<br />
<br />
HERE ARE THE LINKS MENTIONED IN THIS VIDEO:<br />
1. download for windows version of JACK AUDIO CONNECTION KIT<br />
<a href="http://jackaudio.org/downloads/">http://jackaudio.org/downloads/</a><br />
2. tutorial on installing JACK AUDIO on windows<br />
<a href="http://www.jackaudio.org/faq/jack_on_windows.html">http://www.jackaudio.org/faq/jack_on_windows.html</a><br />
3. download for KXSTUDIO Carla, and Cadence(Catia) for windows<br />
<a href="http://kxstudio.sourceforge.net/Downloads">http://kxstudio.sourceforge.net/Downloads</a><br />
5. download VB-AUDIO ASIO BRIDGE<br />
<a href="http://vb-audio.pagesperso-orange.fr/Cable/">http://vb-audio.pagesperso-orange.fr/Cable/</a><br />
6. download ASIO4ALL (optional) if you don't have a "true" ASIO SOUND CARD<br />
<a href="http://www.asio4all.com/">http://www.asio4all.com/</a><br />
<br />
In SDR, you may need to patch from one application to another. Here are some other ways to do it:<br />
<a href="http://www.rtl-sdr.com/a-list-of-5-free-virtual-audio-cable-software-programs/">http://www.rtl-sdr.com/a-list-of-5-free-virtual-audio-cable-software-programs/</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-12599421124192240192016-10-20T11:59:00.001-06:002017-01-05T07:25:13.457-07:00PCAP over IP to NetworkMinerMost are familiar with <a href="https://www.wireshark.org/download.html">WireShark</a> and how to use <a href="https://www.wireshark.org/docs/man-pages/dumpcap.html">dumpcap</a> to remotely create a pcap file. Below, see a remote dumpcap session streaming via <a href="http://netcat.sourceforge.net/">NetCat</a> to <a href="https://sourceforge.net/projects/networkminer/">NetworkMiner packet analyzer</a> by <a href="http://www.netresec.com/?page=NetworkMiner">netresec.com</a>. NetworkMiner is a forensics tool that decodes the real time pcap stream and displays the images, videos, files, sessions, and DNS traffic that it contains. <br />
<br />
On NetworkMiner:<br />
File > Receive Pcap over IP > Start<br />
<br />
On your router:<br />
<blockquote style="background-color: black; border: 1px solid #999999; color: #eeeeee; font-family: 'Lucida Console', Consolas, Monaco, 'Courier New'; padding: 10px;">
<pre>dumpcap -i eth0 -P -w - -f "ether host 90:b6:86:24:61:86" | nc 10.0.5.2 57012
</pre>
</blockquote>
Where:<br />
eth0 = The interface.vlan you want to capture. Leave the vlan off to capture all vlans and the vlan tags.<br />
eth0.4 = Capture vlan 4 on the first physical ethernet interface. <br />
90:b6:86:24:61:86 = The MAC address of the device you want<br />
10.0.5.2 = The host running NetworkMiner (Do Not capture the traffic you are streaming. Loop)<br />
57012 = the port NetworkMiner is listening on.<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPxmdMDWb9qYiY5FiKr955-_JeQeglnfydskNDgakMJLk9BTQO2rBlDXlz0QFKFKf7LGPj_1zUq97oJ9XZWF-XiJHetPiTCcgoqpaARfMLD8sda5oPZEAdx8VTGRznwV4hrhtdVJBVuLs/s1600/pcap+over+IP+to+NetworkMiner+2.0+.png" imageanchor="1"><img border="0" height="482" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPxmdMDWb9qYiY5FiKr955-_JeQeglnfydskNDgakMJLk9BTQO2rBlDXlz0QFKFKf7LGPj_1zUq97oJ9XZWF-XiJHetPiTCcgoqpaARfMLD8sda5oPZEAdx8VTGRznwV4hrhtdVJBVuLs/s640/pcap+over+IP+to+NetworkMiner+2.0+.png" width="640" /></a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-62794879708036867512016-04-02T20:48:00.003-06:002020-09-19T15:52:21.838-06:00Install GrubNotes for installing Grub on a disk that has already had basic files copied to it. <a href="https://help.ubuntu.com/community/Grub2/Installing">More details</a>
<br />
<blockquote style="background-color: black; border: 1px solid #999999; color: #eeeeee; font-family: 'Lucida Console', Consolas, Monaco, 'Courier New'; padding: 10px;">
<pre>
#Dump the Windows key from a PC Motherboard to use in your windows VM after you get linux installed:
tail -c+57 /sys/firmware/acpi/tables/MSDM
#Local Disk Copy with progress indicator, but not verbose file by file detail:
rsync -aSWxHAX --info=progress2 --numeric-ids /source-dir/ /target-dir/
#mount the partitions you use, skip those you do not
sudo mount /dev/sdXY /mnt
sudo mount /dev/sdXY /mnt/boot
sudo mount /dev/sdXY /mnt/boot/efi
#Mount the critical virtual file systems. Run the following as a single command:
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
#Chroot into your normal system device:
sudo chroot /mnt
#Reinstall GRUB 2 (substitute the correct device with sda, sdb, etc.
#Do not specify a partition number):
grub-install /dev/sdX
#Recreate the GRUB 2 menu file (grub.cfg)
update-grub
#Exit chroot: CTRL-D on keyboard
#Reboot.
sudo reboot
</pre>
</blockquote>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-85782596771027978272016-02-18T23:09:00.001-07:002016-02-18T23:09:08.029-07:002015 LinuxQuestions.org Members Choice Award WinnersThere are usually lots of cool Open Source Software projects in the LinuxQuestions.org Members Choice Award Winners list. Check them out: <a href="http://www.linuxquestions.org/questions/2015mca.php" target="_blank">http://www.linuxquestions.org/questions/2015mca.php</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-87931518603043382162016-02-16T11:29:00.002-07:002018-01-08T12:33:35.314-07:00SWR - Standing Wave Ratio in antenna systems explained using physics. I remember watching this AT&T video in engineering school. It was fun to find it again. Simple explanations of Standing Wave Ratio or SWR. Thanks WA7GTU for teaching me years ago in school and still today at radio club!
<br />
<center>
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/DovunOxlY1k" width="560"></iframe>
</center>
<br />
Dr. J.N. Shive of Bell Labs demonstrates and discusses the following aspects of wave behavior:
<br />
<ul>
<li>Energy loss by impedance mismatching</li>
<li>Reflection of waves from free and clamped ends</li>
<li>Superposition</li>
<li>Standing waves and resonance</li>
<li>Reduction of energy loss by quarter-wave and tapered-section transformers</li>
</ul>
Original audience: college students<br />
Produced at Bell Labs<br />
Footage courtesy of AT&T Archives and History Center, Warren, NJ
<br />
<a href="http://techchannel.att.com/play-video.cfm/2011/3/7/AT&T-Archives-Similarities-of-Wave-Behavior" target="_blank">http://techchannel.att.com/play-video.cfm/2011/3/7/AT&T-Archives-Similarities-of-Wave-Behavior</a><br />
<a href="https://www.youtube.com/watch?v=DovunOxlY1k">https://www.youtube.com/watch?v=DovunOxlY1k</a><br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-48282940150983096962016-01-27T19:15:00.000-07:002016-01-27T21:38:53.474-07:00Change default application for all plain text files to flmsg on Debian 8.2 Cinnamon<div class="separator" style="clear: both; text-align: center;">
<iframe width="640" height="532" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/yqa8f3FAebI/0.jpg" src="https://www.youtube.com/embed/yqa8f3FAebI?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-7538224055206947012016-01-12T14:24:00.003-07:002016-01-12T14:46:52.007-07:00Tiny Core Virtual Machine in VirtualBox on Ubuntu<div style="text-align: center;">
Create a Virtual Machine at home in under 3 min</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.gavinhollinger.com/video/Tiny%20Core%20Virtual%20Machine%20in%20VirtualBox%20on%20Ubuntu.ogv" target="_blank">Much Clearer, downloadable and Very Small (13Meg) ogg version.</a> Try Firefox or chrome </div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/Kdl6FqWHG1g" width="560"></iframe></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.gavinhollinger.com/video/Tiny%20Core%20Virtual%20Machine%20in%20VirtualBox%20on%20Ubuntu.ogv" target="_blank">Much Clearer, downloadable and Very Small (13Meg) ogg version.</a> Try Firefox or chrome </div>
<div style="text-align: center;">
<a href="https://www.virtualbox.org/wiki/Downloads" target="_blank">https://www.virtualbox.org/wiki/Downloads</a></div>
<div style="text-align: center;">
<a href="http://tinycorelinux.net/downloads.html" target="_blank">http://tinycorelinux.net/downloads.html</a></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6802844813892527747.post-31327968404400412742014-04-09T22:37:00.002-06:002014-04-09T23:14:02.563-06:00Reset the toner light on Brother HL-2240 printerI purchased the Brother HL-2240 printer on close out sale and love it. I use it attached to my router via <a href="http://p910nd.sourceforge.net/">http://p910nd.sourceforge.net/</a> for secure printing over SSH tunnel remotely, and native printing via <a href="http://www.cups.org/documentation.php/doc-1.7/network.html">CUPS</a> AppSocket/JetDirect Protocol socket://192.168.1.1:9100 on home network. Tonight the starter cartridge ran out just as my kids were needing to print homework at 10pm. As you likely know, it is not really out, just reached the 700 page limit in a memory counter of the printer to encourage me to buy toner and keep the land fill full. Thanks to below and added power cycle at step 10, homework got printed.
<br />
<a href="http://iamdotnetcrazy.blogspot.com/2012/09/how-to-reset-your-brother-hl-2240-after.html">http://iamdotnetcrazy.blogspot.com/2012/09/how-to-reset-your-brother-hl-2240-after.html</a>
<br />
<blockquote style="background-color: black; border: 1px solid #999999; color: #eeeeee; font-family: 'Lucida Console', Consolas, Monaco, 'Courier New'; padding: 10px;">
<pre>
Here we go. Here is how you reset the toner light on your Brother HL 2240:
1. Turn your Brother HL-2240 off
2. Open the front cover of the printer
3. Press and hold Go and turn power on. Do not let the button go.
4. When all 3 lights light up, release the Go button.
5. Press the Go button twice (You will see the Ready light blink
green every time you press the Go button)
6. All of the lights will light up
7. With all of the lights on, press and release the Go button 5
times (You will see the Ready light blink green every time
you press the Go button)
8. The Error light will start blinking
(Don't be alarmed. This is expected.)
9. Close door and wait. The printer will cycle through and make
the sound it makes when you initially cut it on. After that
sound stops, your green Ready light will be on and solid.
10. If Linux computer is searching for maintenance mode driver,
power off printer, wait 5 seconds and turn it back on.
11. You are now ready to print.
So there you go! Support the Brother corporation because they make fantastic printers! Go out and purchase a Brother HL-2240 printer - they are great -, BUT keep your hard earned money in your pocket when it comes to refilling your toner. Buy your toner off of eBay and refill the Brother cartridge that came with the printer. You will save yourself a TON of money over the long haul.
UPDATE - 7/3/2013 - BHL2 MAINTENANCE MODE
If you are having an issue in addition to the Toner reset problem, have mistakenly placed your printer into maintenance mode by pressing the Go button an incorrect number of times or you are encountering another problem, you can try resetting the printer to the factory default settings.
To perform a factory reset on your Brother HL-2240, you can follow these instructions:
Check that the front cover of the printer is closed.
Turn OFF the power switch on the right side of the printer.
Press and hold the GO button, and keep holding it down, as you turn on the power switch.
Keep the GO button pressed down until all the LEDs light up and the Ready LED turns off. Release the GO button. Make sure that all the LEDs turn off.
Press the GO button 10 times. The Ready LED will flash while the printer is reset. After the printer is reset the Ready LED will be lit.
Smooches,
Kila Morton
Problem:
The toner light on your Brother HL-2240 is on.
You need to reset your Brother HL-2240.
Solution:
Follow the steps listed above.
Seeing the BHL2 Maintenance Mode message?
Reset your printer using the steps outlined above and THEN follow the instructions to reset your toner cartridge.
</pre>
</blockquote>
<br />Unknownnoreply@blogger.com7tag:blogger.com,1999:blog-6802844813892527747.post-7240542825397911932014-02-18T00:24:00.003-07:002022-06-17T05:47:23.940-06:00R820T with HDSDRI went to <a href="http://www.rcarc.info/" target="_blank">Radio Club</a> and a few people were interested in the use of the R820T with <a href="http://hdsdr.de/" target="_blank">HDSDR</a> so this post is for them. <br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://hdsdr.de/screenshots.html" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="476" src="https://hdsdr.de/pic/hdsdr_rtl.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<ol>
<li style="text-align: left;">Visit <a href="http://hdsdr.de/" target="_blank">http://hdsdr.de/</a> and click the download link at the bottom of the page. Download and install. </li>
<li style="text-align: left;">Play around with it using <a href="http://hh.gavinhollinger.com/KC7IHE/HDSDR/BaseBand/" target="_blank">pre recorded I/Q base-band files</a> to decide if this is for you. </li>
<li style="text-align: left;">Order: I have purchased a few of these, the best quality and fastest delivered unit came from <a href="http://www.nooelec.com/store/software-defined-radio/sdr-receivers/nooelec-nesdr-nano-sdr-dvb-t-usb-stick-r820t-w-antenna-and-remote-control.html" target="_blank">nooelec.com</a> I used the <a href="http://www.ebay.com/sch/m.html?_odkw=&_osacat=0&_armrs=1&_ssn=nooelec&_trksid=p2046732.m570.l1313.TR11.TRC1.A0.H0.Xr820t&_nkw=r820t&_sacat=0&_from=R40" target="_blank">ebay store</a> to get free shipping, total cost $17.95. I also purchased from <a href="http://www.ebay.com/sch/m.html?_odkw=&_osacat=0&_armrs=1&_ssn=fiveseason88&_trksid=p2046732.m570.l1313.TR11.TRC1.A0.H0.Xr820t&_nkw=r820t&_sacat=0&_from=R40" target="_blank">China seller on ebay</a> same chips, larger package, $8.75 delivered. Frequency was off by more in the China version but both need to be adjusted in software anyway so it did not make much difference in the end. While both of the units come with an antenna, you will likely want to attach your own, so you will need <a href="http://www.ebay.com/sch/i.html?_nkw=MCX+Male" target="_blank">MCX Male</a> adapter or connectors. My favorite wide band RX only antenna is the amplified TV antenna that is already plumbed in every room of the house. For that I purchased <a href="http://www.ebay.com/itm/160986742753?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649" target="_blank">6in F female jack to MCX right angle male Jumper pigtail RG316 cable</a></li>
<li style="text-align: left;">Once the unit arrives, do not install the software that comes with it. Follow these instructions to get it going. <a href="http://hdsdr.de/RTLSDR_with_HDSDR.pdf" target="_blank">http://hdsdr.de/RTLSDR_with_HDSDR.pdf</a></li>
</ol>
<br />
<div class="separator" style="clear: both; text-align: left;">
Other links you might like:</div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<ol>
<li><a href="http://youtu.be/tshlXgarnBQ" target="_blank">RTL-SDR AS A CHEAP PANADAPTER</a></li>
<li>My other posts on <a href="http://www.gavinhollinger.com/search?q=r820t&max-results=20&by-date=true" target="_blank">R820T</a></li>
<li><a href="http://www.rtl-sdr.com/about-rtl-sdr/" target="_blank">http://www.rtl-sdr.com/about-rtl-sdr/</a></li>
<li><a href="http://superkuh.com/rtlsdr.html" target="_blank">http://superkuh.com/rtlsdr.html</a></li>
<li><a href="http://sdr.osmocom.org/trac/wiki/rtl-sdr" target="_blank">http://sdr.osmocom.org/trac/wiki/rtl-sdr</a></li>
<li><a href="http://www.sdrsharp.com/" target="_blank">http://www.sdrsharp.com/</a></li>
<li><a href="https://www.youtube.com/watch?v=IaKEYEyrRgk" target="_blank">SDR# Demo by Clayton Smith VE3IRR</a></li>
<li><a href="http://greatscottgadgets.com/sdr/" target="_blank">http://greatscottgadgets.com/sdr/</a></li>
<li><a href="http://greatscottgadgets.com/hackrf/" target="_blank">http://greatscottgadgets.com/hackrf/</a></li>
<li><a href="http://www.ettus.com/kb/detail/software-defined-radio-usrp-and-gnu-radio-tutorial-set" target="_blank">http://www.ettus.com/kb/detail/software-defined-radio-usrp-and-gnu-radio-tutorial-set</a></li>
<li><a href="http://www.ettus.com/product/details/UB200-KIT" target="_blank">http://www.ettus.com/product/details/UB200-KIT</a></li>
<li><a href="http://sdr.5sn.com/" target="_blank">http://sdr.5sn.com/</a></li>
<li><a href="http://www.websdr.org/" target="_blank">http://www.websdr.org/</a></li>
<li><a href="http://radarspotting.com/forum/index.php?topic=2978.0" target="_blank">ModeSDeco2</a></li>
</ol>
Unknownnoreply@blogger.com0