tag:blogger.com,1999:blog-52666630834234424682024-03-13T09:26:21.876+00:00The Foley House BlogI'm just a simple techie who sometimes forgets things.
I use this as a notepad to remember things by.
I hope it helps you too.
I post as myself, not as any organisation.Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.comBlogger496125tag:blogger.com,1999:blog-5266663083423442468.post-67999568617923331582022-09-24T11:04:00.003+01:002022-09-24T11:04:39.463+01:00Ping not working in WSL2 Kali Linux<p> I found the answer <a href="https://www.reddit.com/r/Kalilinux/comments/tchtlh/ping_does_not_work_in_wsl2_kali_linux/" target="_blank">here</a>:</p><div><span> </span><span> </span><span> </span> sudo setcap cap_net_raw+ep /usr/bin/ping</div>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-58281235599352479262022-09-24T10:44:00.006+01:002022-09-24T10:51:54.886+01:00Issues with WSL2 Networking<p> WSL2 networking continues to be problematic, be it DNS not working or network connectivity being lost with the wider network. I also had an issue where WSL2 seemed to prefer a disconnected WiFi connection over a connected Ethernet one.</p><p>Things I have done:</p><p>1. Disable the unused WiFi Adaptor, this has prevented WSL2 from trying to use it.</p><p>2. Turned off Windows Fast Start - This is accessed from the power butttons options underneath power plan. Apparantly it helps fix issues if you shutdown\startup the machine with WSL2 rather than restart.</p><p style="text-align: left;">3. Configured static DNS for WSL2 machines. I created a /etc/wsl.conf file containing the following (replace the name servers with what you want): <br /><span> </span><span> <span> </span> </span>[network]<br /><span> </span><span> <span> </span></span>generateResolvConf = false<br /><span> </span><span> <span> </span></span>nameserver 192.168.1.3<br /><span> </span><span> <span> </span> </span>nameserver 192.168.1.4</p><p style="text-align: left;">4. Networking still craps out but I find this network stack reset recommendation from <a href="https://stackoverflow.com/questions/57633406/unable-to-access-network-from-wsl2" target="_blank">stackOverflow</a> helps:<br /><span> </span><span> </span><span> </span><span color="var(--black-800)" face="var(--ff-mono)" style="font-size: var(--fs-body1); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;">wsl --shutdown<br /></span><span color="var(--black-800)" face="var(--ff-mono)" style="font-size: var(--fs-body1); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;"><span> </span><span> </span><span> </span>netsh winsock reset<br /></span><span color="var(--black-800)" face="var(--ff-mono)" style="font-size: var(--fs-body1); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;"><span> </span><span> </span><span> </span>netsh int ip reset all<br /></span><span color="var(--black-800)" face="var(--ff-mono)" style="font-size: var(--fs-body1); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;"><span> </span><span> </span><span> </span>netsh winhttp reset proxy<br /></span><span color="var(--black-800)" face="var(--ff-mono)" style="font-size: var(--fs-body1); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;"><span> </span><span> </span><span> </span>ipconfig /flushdns<br /><span> </span><span> </span><span> Windows Search > Network Reset<br /><span> </span><span> </span><span> Restart Windows</span></span></span></p><p style="text-align: left;"><span color="var(--black-800)" face="var(--ff-mono)" style="font-size: var(--fs-body1); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;"><span><span><br /></span></span></span></p>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-29325790553892180452022-03-27T11:48:00.001+01:002022-03-27T11:48:07.271+01:00NALA v0.7 Relased<p> I've been using NALA for a little while on my Ubuntu distros as it compacts the update process and makes it much more obvious what's going on than if you use APT alone.</p><p>Up until now, the "nala fetch" command wasn't working on ARM\Pi as it set some repo's that either had no, or broken arm packages. </p><p>With v0.7, "nala fetch" now sets up the repos correctly so ARM\Pi users can make use of features like parallel downloads etc.</p><p>Find NALA on GitLab <a href="https://gitlab.com/volian/nala" target="_blank">here</a>.</p><p><br /></p>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-91638066108400288682022-01-30T14:16:00.000+00:002022-01-30T14:16:00.259+00:00Unable to upgrade Google Apps Legacy to Google Workspace Starter with UK billing<p> I had discovered by accident that the old free Google Apps Legacy edition which I've been using since 2013 was being discontinued this year and that I had to upgrade to at least Google Workspace Starter before the end of July this year or potentially lose access to the service.</p><p>I have four family members using this, so losing access to email and purchased apps\media would be a big deal, so I had to go through the upgrade process.</p><p>The problem was, every time I ran through the upgrade wizard, I was being asked for a US, rather than a UK billing address. I did not have that.</p><p>I posted a question on the Google community forums, and having run around in circles for a few days I had my post closed as the duplicate for another question, again with no real answers. </p><p>I came back today to thankfully find an answer. It turns out that at the top of the page where you select you Workspace edition there is a country\currency selection drop down. It looks like this is easily missed as the page in the browser can be displayed slightly scrolled down with this option scrolled off the top:</p><p>Here's the post with the answer <a href="https://support.google.com/a/thread/147305222/gsuite-to-google-workspaces-billing-address-issue?product_name=UnuFlow&visit_id=637791475195274466-2900137520&rd=1&src=supportwidget0" target="_blank">here</a>.</p><p>Now, a small rant. </p><p>I'm very grateful to Google for providing this service for the 9 years or so, and I certainly have no issues paying a fair price for the service. Not at all. It just doesn't seem very competitive to other options out there, so I get the distinct impression Google want the legacy apps account holders to disappear.</p><p>List price for Google Workspace Starter is currently about £4.60 per user, per month. So for my family of four, this is £4.60*4*12=£220.80 per year. Compare this against £79.99 for up to 6 users on Microsoft 365 and that is nearly three times the cost. You also only get 30GB on Workspace starter vs M365 family. I also get the latest MS Office desktop apps on M365 family as well...</p><p>The only thing that has stopped me moving for now is:</p><p></p><ul style="text-align: left;"><li>Upgrade is free until end of July 2022</li><li>Upgrade is half price until July 2023</li><li>You can't move apps\media purchases to a new account</li></ul><div>I might be able to justify this July 22-23 at £110.40 for they year, but I will most probably have to move and sacrifice apps\media in 2023.</div><div><br /></div><div>I'm going to head over to the Google suggestions community page ans suggest that Google create a Workspace Family edition, but I won't hold my breath. The last time I tried, I couldn't register because of some mainteance</div><p></p>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-7100633686331918332021-11-24T19:27:00.001+00:002021-11-24T19:31:32.888+00:00Chia Daemon Not StartingI have been busy recovering from a 5 * 16TB Segate Exos drive crash, and had just updated Chia to v1.2.11. <div><br /></div><div>After a reboot and an attempt to restart Chia, I was only getting two lines in the log file:</div><div><span> </span>1: Starting Chia Daemon</div><div><span> </span>2: Not Implemented</div><div><br /></div><div>The Wallet remained stuck on a "Connecting" message.</div><div><br /></div><div>Turns out the Chia Daemon port 55400 had been blocked by the WINNAT service.</div><div><br /></div><div>It was confirmed by running the following command from an elevated CMD prompt: </div><div><span> </span>netsh interface ipv4 show excludedportrange protocol=tcp</div><div><br /></div><div>The following commands also ran from the same elevated CMD prompt fixed it:</div><div><span> </span>net stop winnat</div><div><span> </span>[Now stat Chia]</div><div><span> n</span>et start winnat </div><div><br /></div><div> Thanks to MrGreenApe and his post here:</div><div><span> </span><a href="https://github.com/Chia-Network/chia-blockchain/issues/2269#issuecomment-838645580">https://github.com/Chia-Network/chia-blockchain/issues/2269#issuecomment-838645580</a></div>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-47082356367668729412021-09-27T10:51:00.002+01:002021-09-27T10:51:08.872+01:00World Community Grid<iframe src="https://www.worldcommunitygrid.org/getDynamicImage.do?memberName=Karl Foley&mnOn=true&stat=3&imageNum=2&rankOn=false&projectsOn=true&special=true&link=2&memberId=448108" frameborder="0" name="di" scrolling="no" width="405px" height="190px"></iframe>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-18075789904794367722021-02-17T10:40:00.000+00:002021-02-17T10:40:06.008+00:00How to change Microsoft 365 Channel from command line<p>Good article here on how to change Microsoft 365 without worrying about registry keys.</p><p></p><ol style="text-align: left;"><li>Run a CMD prompt</li><li>type <b>cd C:\Program Files\Common Files\Microsoft Shared\ClickToRun</b></li><li>To change to e.g. Current channel do the following</li><li>Type <b>OfficeC2RClient.exe /changesetting Channel=Current</b></li><li>Type <b>OfficeC2RClient.exe /update user</b></li></ol>This allowed me to easy change form SemiAnnual to Current channel.<p></p><p>More details here: <a href="https://www.fmsinc.com/microsoft-office/change-office-365-channel.html#CommandPrompt">https://www.fmsinc.com/microsoft-office/change-office-365-channel.html#CommandPrompt</a></p>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-73761311697622584562020-12-22T12:01:00.001+00:002020-12-22T12:01:06.467+00:00Prepare and create a RAID5 Array of 5 * 4TB Segate Barracuda Disks<p> We need to prepare the disks as GPT labeled as they are > 2TB.</p><p>For each disk:</p><p></p><ul style="text-align: left;"><li>parted -a optimal /dev/sd<i>x</i></li><li>mklabel gpt</li><li>mkpart primary 0% 100%</li><li>set 1 raid on</li><li>align-check optimal 1</li><li>print</li><li>quit</li></ul><div><br /></div><div>Create the array:</div><div><ul style="text-align: left;"><li>mdadm --create /dev/md0 --level=raid5 --raid-devices=5 /dev/sd<i>x</i>1 /dev/sd<i>x</i>1 /dev/sd<i>x</i>1 /dev/sd<i>x</i>1 /dev/sd<i>x</i>1 </li></ul><div><br /></div></div><div>In all of the above replace /dev/sd<i>x</i>1 with appropriates devices, e.g /dev/sda1 /dev/sda2 etc.</div><p></p>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-61118256542973837162020-12-08T17:55:00.003+00:002020-12-08T17:57:59.912+00:00Restrict ASUS laptop charge to 60% in Linux<p> Dual booting my ASUS TUF laptop between Windows and Ubuntu 10.</p><p>The tools supplied by ASUS with Windows allows the battery charge to be limited to a specified %, the most agressive being 60%, in a bid to preserve battery life. Most laptops that are docked keep the battery at 100% and this kills the battery.</p><p>Found a good answer here:</p><p><a href="https://askubuntu.com/questions/1006778/set-battery-thresholds-on-ubuntu-asus/1230442#1230442">https://askubuntu.com/questions/1006778/set-battery-thresholds-on-ubuntu-asus/1230442#1230442</a></p><p>I didn't have enough reputation on the site to leave a like or comment so I'm showing my appreciation here.</p><p>I did install tlp using "sudo apt install tlp" but not certain this is required.</p><div style="text-align: left;">After issuing the command "<span class="hljs-built_in" color="var(--highlight-literal)" style="border: 0px; box-sizing: inherit; font-family: inherit; font-size: 13px; 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;">echo</span><span color="var(--highlight-color)" style="font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;"> 60 | sudo tee /sys/class/power_supply/BAT1/charge_control_end_threshold" and adding the line "</span><span color="var(--highlight-color)" style="font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;">@reboot root </span><span class="hljs-built_in" color="var(--highlight-literal)" style="border: 0px; box-sizing: inherit; font-family: inherit; font-size: 13px; 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;">echo</span><span color="var(--highlight-color)" style="font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;"> 60 > /sys/class/power_supply/BAT1/charge_control_end_threshold" to /etc/crontab, the output of "sudo tlp-stat -b" showed the charge at 78% and that the charge now was 0mA. It still shows as charging in the system tray but the % remains unchanging.</span></div><p><span color="var(--highlight-color)" style="font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;">The reason I am not certain that TLP is required is because all the kernal modules listed in "tlp-stat -b" are showing as inactive and laptop not supported.</span></p><p><span color="var(--highlight-color)" style="font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;">I've just unplogged my laptop and will let the percentage drop to below 60%, reconnect to the mains and see if the charging stops as hoped.</span></p>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com1tag:blogger.com,1999:blog-5266663083423442468.post-14595697633250686662020-12-07T14:23:00.002+00:002020-12-07T14:23:41.810+00:00Setup MTA-STS on a GSuite hosted domain<p> Excellent step-by-step guide here:</p><p><a href="https://kenbonny.net/2020/02/17/set-up-mta-sts-on-a-gsuite-hosted-github-pages/">https://kenbonny.net/2020/02/17/set-up-mta-sts-on-a-gsuite-hosted-github-pages/</a></p><p>Many thanks for this great content.</p>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-48105616030231882572020-11-22T09:07:00.004+00:002020-11-22T09:07:31.547+00:00Getting Hyper-V to recognise a physical disk<p> I'm running WSL2 and docker on my main machine and have noticed that even though Virtual Box will run, the reliability of the VMs is somewhat sub-par and often involves crashing.</p><p>I have taken to installing various Linux distros such as Ubuntu and Parrot on SSD drives in removable USB3 housings.</p><p>The main issue with installing Linux from USB boot media is the installation interferes with the Windows UEFI boot loader and can leave Windows unbootable without repairing this. However, if you do fix the Windows boot loader it stop Linux booting. There is probably a way to fix this but I haven't spent the time to do so yet.</p><p>My workaround has been to use Hyper-V to install Linux to a the removeable drive, however Hyper-V has an issue seeing the drive to add sometimes.</p><p>I found the answer <a href="https://social.technet.microsoft.com/Forums/en-US/fe0b45b4-8c61-4364-86c1-d72f8554ef78/hyperv-quotphysical-hard-diskquot-option-not-enabled" target="_blank">here</a>.<br /></p><p>By following the proceedure at the bottom of the post, Hyper-V is able to see and add an SSD drive in a USB3 enclosure. This is limited to disks though, removable devices won't work in my experience.</p><p>Thanks to <a href="https://social.technet.microsoft.com/profile/reid1000/?ws=usercard-mini" target="_blank">reid1000</a> you can follow the steps below:</p><blockquote style="border: none; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;"><p></p><ol style="text-align: left;"><li>In Disk Management, offline the disk</li><li>Right-click the disk and go to Properties > Policies tab</li><li>Select the option "Better performance" then click OK. If prompted to restart your computer, click No.</li><li>Again right-click the disk, go to Properties > Policies tab</li><li>Select the option "Quick removal (default)" then click OK. If prompted to restart your computer, click No.</li><li>In Hyper-V Manager, turn off the virtual machine. Then, open its settings and add the physical hard disk to the SCSI Controller.</li></ol><p></p></blockquote><p><br /></p>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-26663830377408583242019-08-07T09:37:00.000+01:002019-08-07T09:37:15.767+01:00Microsoft Teams Crashing on Startup\Sign inTeams developed a crash on startup.<br />
Saw various messages such as an Azure AD sign in failure whch s strange as we don't use Azure AD for local domain authenticaton.<br />
We do use a centrally provided Azure sign in for Office 365 applicatons though.<br />
<br />
Finally tracked down this article on the excellent Petri site:<br />
<a href="https://www.petri.com/debugging-teams-clients">https://www.petri.com/debugging-teams-clients</a><br />
<br />
Gave the option to delete the Teams cache at %AppData%\Microsoft\Teams and this fixed the issue straight away.<br />
<br />
The teams client did initially come up wth my AD logon, so perhaps it was trying to authenticate my domain logon against Azure?Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-36280372046333584672019-07-17T07:09:00.002+01:002019-07-17T07:09:53.329+01:00Chrome ReaperKilling the misbehaved in Chrome:<br />
<a href="https://www.theregister.co.uk/2019/07/17/dont_fear_the_chrome_reaper/">https://www.theregister.co.uk/2019/07/17/dont_fear_the_chrome_reaper/</a><br />
<br />
Instructions and install files here:<br />
<a href="https://github.com/usnistgov/Metrology/tree/master/Reaper">https://github.com/usnistgov/Metrology/tree/master/Reaper</a>Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-10154962500608550212019-04-12T19:49:00.000+01:002019-04-12T19:49:25.552+01:00How to hide an entire drive from prying eyes on Windows 10<h1 class="article-header__title" style="background-color: white; box-sizing: inherit; color: #101010; font-family: acumin-pro, Helvetica, Arial, sans-serif; font-size: 50px; line-height: 1.1; margin: 5px 0px; word-break: break-word;">
How to hide an entire drive from prying eyes on Windows 10</h1>
<div>
<a href="https://m.windowscentral.com/how-hide-entire-drive-prying-eyes-windows-10">https://m.windowscentral.com/how-hide-entire-drive-prying-eyes-windows-10</a><a href="https://m.windowscentral.com/how-hide-entire-drive-prying-eyes-windows-10">https://m.windowscentral.com/how-hide-entire-drive-prying-eyes-windows-10</a></div>
Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-6049518441490184972019-04-12T19:46:00.001+01:002019-04-12T19:46:28.391+01:00How to Disable the “Low Disk Space” Warning on Windows 10Playing with Windows to go and need to disable the constant "Disk is full" messages:<br />
<a href="https://www.faqforge.com/windows/windows-10/how-to-disable-the-low-disk-space-warning-on-windows-10/">https://www.faqforge.com/windows/windows-10/how-to-disable-the-low-disk-space-warning-on-windows-10/</a><br />
<br />Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-90232756192172835412019-02-24T12:11:00.001+00:002019-02-24T12:11:16.147+00:00Boinc on Cosmic 18.10I'm sufering from OPENCL failures on Ubuntu 18.10 running Boinc so will try these third party drivers:<br />
<br />
https://linuxconfig.org/how-to-install-amd-radeon-drivers-on-ubuntu-18-10-cosmic-cuttlefish-linuxKarl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-57310392642630247752019-01-05T00:06:00.001+00:002019-01-05T00:08:40.685+00:00Retroarch does not recognise my controllerDespite have autoconfig setup for input device, the Retroarch snap on Ubuntu 18.04 would not work with my cheap PS3 like controller.<br />
<br />
Turns out this is a disconnect between the snap and USB gamepad\joystick support:<br />
<a href="https://forums.libretro.com/t/retroarch-does-not-recognize-my-usb-controller-solved/16985">https://forums.libretro.com/t/retroarch-does-not-recognize-my-usb-controller-solved/16985</a><br />
<br />
You need to connect the controls to the snap using:<br />
<br />
<ul>
<li>sudo snap connect retroarch:raw-usb</li>
<li>sudo snap connect retroarch:joystick</li>
</ul>
<div>
Thanks hunterk!</div>
Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-64258352606260271852018-12-28T06:09:00.002+00:002018-12-28T06:09:48.841+00:00Windows 10 unable to access SYSVOL and NETLOGON on 2008 R2 Domain Controllers<br />
I found some help here:<br /><ul>
<li><a href="https://community.spiceworks.com/topic/1389891-windows-10-and-sysvol-netlogon">https://community.spiceworks.com/topic/1389891-windows-10-and-sysvol-netlogon</a></li>
<li><a href="https://social.technet.microsoft.com/Forums/en-US/f4d77de7-17df-4463-b751-d1892829e7ab/windows-10-cannot-be-access-sysvol-amp-netlogon-folder-on-the-server-2012-r2?forum=win10itprogeneral">https://social.technet.microsoft.com/Forums/en-US/f4d77de7-17df-4463-b751-d1892829e7ab/windows-10-cannot-be-access-sysvol-amp-netlogon-folder-on-the-server-2012-r2?forum=win10itprogeneral</a></li>
</ul>
<div>
Looks like the SMB security needs to be weakened to allow Windows 10 to access these shares.</div>
<div>
Enable the following policy:</div>
<div>
<ul>
<li>Computer -> Administrative Templates -> Network -> Network Provider -> Hardened UNC Paths</li>
</ul>
<div>
<div>
You can either put the following in "Show Values":</div>
<div>
<ul>
<li>\\*\NETLOGON RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0</li>
<li>\\*\SYSVOL RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0</li>
</ul>
<div>
<div>
Or put an entry for each DC:</div>
<div>
<ul>
<li>\\DCNAME RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div>
<br /></div>
Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-36387920561848074382018-12-26T18:07:00.002+00:002018-12-26T18:07:29.080+00:00Linux Mint 19.1 as guest on Virtualbox 60Same steps as this post, but no need to add repos:<br />
<a href="https://blog.thefoleyhouse.co.uk/2018/10/ubuntu-1804-bionic-beaver-as-virtualbox.html">https://blog.thefoleyhouse.co.uk/2018/10/ubuntu-1804-bionic-beaver-as-virtualbox.html</a><br />
<br />
Essentially:<br />
<br />
<ul>
<li>sudo apt update</li>
<li>sudo apt install virtualbox-guest-utils virtualbox-guest-dkms dkms linux-headers-generic build essential</li>
</ul>
Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-58202565252408050352018-12-03T09:13:00.000+00:002018-12-03T09:13:30.989+00:00Geo-location with Wireshark and Geolite2Turns out Wireshark has built in ASN, City and Country geo-location using Geoip products. You can purchase a (presumably) more accurate version, or use the free version from here:<br />
<a href="https://dev.maxmind.com/geoip/geoip2/geolite2/">https://dev.maxmind.com/geoip/geoip2/geolite2/</a><br />
<br />
More details on the Wireshark Wiki (GeoIP link appears broken):<br />
<a href="https://wiki.wireshark.org/HowToUseGeoIP">https://wiki.wireshark.org/HowToUseGeoIP</a><br />
<br />
You can get endpoint statistics:<br />
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjWjbBMHP7HDX1p-o1fuSmlZ2pSntDoNn95rpcxQTvnwUIIR0uvSdj7hTI2xTFy7eCBi2ZJEfIDc6Q3YYDnaMxBU8szyXRIuNJL7jNAylNf-a6CsIVOdKpDThaPUXNvR-W7yblaqeDg-2C/s1600/Endpoint_Stats.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="222" data-original-width="989" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjWjbBMHP7HDX1p-o1fuSmlZ2pSntDoNn95rpcxQTvnwUIIR0uvSdj7hTI2xTFy7eCBi2ZJEfIDc6Q3YYDnaMxBU8szyXRIuNJL7jNAylNf-a6CsIVOdKpDThaPUXNvR-W7yblaqeDg-2C/s320/Endpoint_Stats.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
And in capture:</div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7yqL0EgWyVYRHFNCMcas4esrdPmaLqoavi2kwLZC_uWFtZgV_81JnDpihrcFC47WpuyPT_FlD2UApYJt23VZJsHKuyTI4EszfzojhwCEfe4TGChVK-2Nhhk06JLWpm2Be4eIZZiUbAjds/s1600/In_Capture.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="222" data-original-width="850" height="83" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7yqL0EgWyVYRHFNCMcas4esrdPmaLqoavi2kwLZC_uWFtZgV_81JnDpihrcFC47WpuyPT_FlD2UApYJt23VZJsHKuyTI4EszfzojhwCEfe4TGChVK-2Nhhk06JLWpm2Be4eIZZiUbAjds/s320/In_Capture.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<br />Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-75993097388896320112018-10-25T16:36:00.000+01:002018-10-25T16:36:23.414+01:00Move Windows 10 notifications to top of screenChrome seems to alert on everything it has now and the notifications\toasts were covering access to items in the system tray that I sometimes needed to exit on login to Windows.<br />
<br />
Creating the following registry with a value of 0 will move the toasts to the top of the screen instead:<br />
<br />
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer<br />
DWORD DisplayToastAtBottom 0x000000000 (0)<br />
<br />
Thanks to Winaero:<br />
<a href="https://winaero.com/blog/move-notification-toasts-to-top-or-bottom-of-the-screen-in-windows-10/">https://winaero.com/blog/move-notification-toasts-to-top-or-bottom-of-the-screen-in-windows-10/</a><br />
<br />Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-50159248893460925082018-10-15T11:58:00.001+01:002018-10-15T11:58:37.261+01:00Ubuntu 18.04 Bionic Beaver ntp inactive dead<br />
<div class="MsoNormal">
Having installed ntp services on Ubuntu 18.04, we had to manually start manually on any reboot using:<o:p></o:p></div>
<div class="MsoNormal">
<span style="mso-tab-count: 1;"> </span>sudo service
start ntp<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
It turns out that in Ubuntu 18.04, systemd has an in-built
timesync service that fires on boot called systemd-timesyncd. I believe this service was clashing with ntp and causing ntp
to fail to start.</div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<o:p><br /></o:p></div>
<div class="MsoNormal">
I’ve carried out the following to disable systemd-timesyncd
on all three time servers, and to replace it with ntp:<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
sudo systemctl stop systemd-timesyncd<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
sudo systemctl disable systemd-timesyncd<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
sudo systemctl status systemd-timesyncd<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
sudo systemctl enable ntp<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
suso systemctl start ntp<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
sudo systemctl status ntp<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
All timeservers now appear to start ntp correctly.</div>
<br />Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com2tag:blogger.com,1999:blog-5266663083423442468.post-34708326454805191632018-10-15T10:13:00.003+01:002018-10-15T10:14:42.150+01:00Ubuntu 18.04 Bionic Beaver as Virtualbox GuestVirtualbox guest utilities are available in the 'Multiverse' repo.<br />
Testing on server gives the following in /etc/apt/sources.list after initial install:<br />
<br />
<ul>
<li>deb http://archive.ubuntu.com/ubuntu bionic main</li>
<li>deb http://archive.ubuntu.com/ubuntu bionic-security main</li>
<li>deb http://archive.ubuntu.com/ubuntu bionic-updates main</li>
</ul>
<div>
<br />
<br />
You may be using a different ftp/http location, but just adding 'multiverse' to each line should achieve the same result. I ended up with:</div>
<div>
</div>
<br />
<ul>
<li>deb http://archive.ubuntu.com/ubuntu bionic main multiverse</li>
<li>deb http://archive.ubuntu.com/ubuntu bionic-security main multiverse</li>
<li>deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse</li>
</ul>
<div>
<br />
<br />
I then ran the following commands to update and install the required modules:</div>
<div>
<ul>
<li>sudo apt update</li>
<li>sudo apt install virtualbox-guest-utils virtualbox-guest-dkms dkms linux-headers-generic build essential</li>
</ul>
</div>
Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-36054355447551801242018-09-16T13:19:00.002+01:002018-09-16T13:19:37.482+01:00Unable to run Etherape on Ubuntu 18.04Etherape would not start as a root or non-root user on Ubuntu 18.04 with the error message:<br />
<style type="text/css">
@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 115% }
a:link { so-language: zxx }
</style>
<br />
<div style="line-height: 100%; margin-bottom: 0cm;">
GLib-GObject-WARNING
**: invalid cast from ‘GtkLabel’ to ‘GnomeCanvas’</div>
<div style="line-height: 100%; margin-bottom: 0cm;">
<br /></div>
I found the answer as to why on the Parrot security forums:<br />
<a href="https://community.parrotsec.org/t/etherape-not-working-since-last-update/813/5">https://community.parrotsec.org/t/etherape-not-working-since-last-update/813/5</a><br />
This missing library was added with the command:<br />
<style type="text/css">
@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 115% }
a:link { so-language: zxx }
</style>
<br />
<div style="line-height: 100%; margin-bottom: 0cm;">
sudo apt-get install
libgnomeui-0</div>
<br />Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0tag:blogger.com,1999:blog-5266663083423442468.post-31403240544330927162018-08-21T09:54:00.005+01:002018-08-21T09:54:52.609+01:00How to generate a Battery Report in Windows 10Useful post on how to generate a battery report in Windows 10:<br />
powercfg /batteryreport /output c:\Temp\Battery_Report.html<br />
<br />
See the post here:<br />
<a href="https://www.windowscentral.com/generate-battery-report-windows-1">https://www.windowscentral.com/generate-battery-report-windows-1</a>0<br />
<br />Karl Foleyhttp://www.blogger.com/profile/15087373077444189107noreply@blogger.com0