Tech Home The Bacon

Cowboy IT | Technologist

Author: Jacob (page 1 of 4)

Can Blood Glucose Levels Mimic Sleep Cycles

I’ll keep this brief as I don’t have sufficient evidence to back up this hypothesis. The other morning I woke up to check my blood glucose and noticed a pattern in my blood glucose chart. It looked oddly similar to my old sleep cycle charts that were produced by an iPhone app. The BG levels seem to be cycling on a pattern as I sleep. I find the libre sensor to be a cool piece of technology especially for it’s size.

Libre sensor app
Sleep cycle app

A Case To Prove Facebook is Listening

Preface

I typically don’t write about things like this, but I think I finally got a case where I nor anyone with my IP address looked up the subject matter in question. I’ve been trying to isolate an incident like this, but every time I’ve had the chance someone with the same IP typically causes these types of scenarios, that I’m about to describe, to happen.

Situation

My family and I went to the Japanese steak house in our hometown for dinner last Tuesday night. While we were waiting on our drinks my daughter was watching one of the TVs on the wall. I saw that it was a cartoon and the “Boomerang” logo in the corner. She seemed to be enjoying the cartoon and I said, “That’s the Boomerang channel and you don’t get the Boomerang channel at home, Kido.” I turned and finished talking to my wife. I didn’t think anything about it, nor did my wife or child for that matter.

Continue reading

Watchguard Fireware 12.4 – Randomly Open TCP port 50001

I was doing a standard PCI scan from one of the CC vendors. The scan results came back with a port that was open on 50001. This was not a port I normally use, so I did a quick nmap scan from one my VPS providers. Sure enough the port was showing open.

I was puzzled and quickly audited my firewall rules. Nothing pertaining to port 50001 stuck out at me. Nmap was showing that it was open so I tried to telnet to it and sure enough I could connect via telnet.

I decided to contact support and after they looked at my config files, they confirmed this was a bug in 12.4. They suggested we upgrade to 12.4.1 and it would fix the issue.

The 12.4.1 fireware did fix the issue.

Magento 2 – Import Stuck “Please Wait” After SSL/HTTPS Configuration

Problem:

After I configured Let’s Encrypt on a CentOS server. I then configured my Magento 2 installation to use HTTPS on the admin side. Following these changes I could not import CSV files into Magento. The import process would just hang at “Please Wait” while doing a data check on the import file.

I opened the developer tool in Chrome and the console was showing this error:

in a frame because it set multiple 'X-Frame-Options' headers with conflicting values ('deny, deny, SAMEORIGIN'). Falling back to 'deny'.
Continue reading

Malwarebytes 3.7.1 Premium Causing PC To Freeze

Problem:

A user running Windows 10 (1803) with Malwarebytes 3.7.1 Premium reported random events where the PC would freeze up. I was able to recreate the problem with network related task.

For example, I could cause it to freeze by printing PDFs from the end-user’s Outlook. The PC would freeze for about 10 minutes exactly and then resume normal operations.

Continue reading

Untangle Firewall Cannot Find Boot Device

Problem:

I sent a u25x on site and the person acting as my eyes and hands used the USB 3.0 ports to hook up the keyboard and mouse.

For some reason this causes the box to not see the hardisk and it won’t boot. It first goes straight to trying to boot from PXE then it will give up and ask you to insert bootable media.

Solution:

Plug the keyboard and mouse into the USB 2.0 ports (not the blue ones).

Errors Compiling OpenVPN on Ubuntu 18.04.2 LTS

You will need to add the missing dependencies before compiling from source.

error: ssl is required but missing

sudo apt-get install libssl-dev

 error: lzo enabled but missing

sudo apt-get install liblzo2-dev

error: libpam required but missing

sudo apt-get install libpam0g-dev

CentOS 7 – WordPress Permissions Cheatsheet

Before Updating – Fix Permissions

Here is the cheatsheet I use to set permissions and SElinux before I update the site. These commands assume your wordpress root directory is /var/www/html.

#Apache Needs To Own The Files
sudo chown apache:apache -R /var/www/html/

#Set wordpress directory permissions
find /var/www/html -type d -exec chmod 755 {} \;

#Set wordpress file permissions
find /var/www/html -type f -exec chmod 644 {} \;

#SELinux - Set Directories To Be Writable
sudo chcon -t httpd_sys_rw_content_t /var/www/html/ -R
Continue reading

Amazon EC2 Instance No SSH After Enabling SELinux – Regain Access

Problem:

I changed the default listening port for OpenSSH. Later on, I forgot that I had SELinux off for testing and when I turned it back on I couldn’t ssh to the EC2 instance.

Continue reading

Use SCP With Different Port Number

Example:

scp -P 30000 index.html  root@ipaddress:/home/user


-P port (Upper Case “P”)
Specifies the port to connect to on the remote host. Note that this option is written with a capital `P’, because -p is already reserved for preserving the times and modes of the file in rcp(1)

« Older posts

© 2019 Tech Home The Bacon

Theme by Anders NorenUp ↑