The Linux Page

Help other users realize that everything is possible, especially avoiding Windows for their own personal use.

Welcome to The Linux Page

Fox Trot by Bill Amend. Click to enlarge.
Click to enlarge

This site is a collection of my own work with Linux. Certain things are easy, others take time to decipher and if I ever need to repeat the work (which usually happens!), then I need to remember everything by memory or... have a site with all the steps taken and to take again.

The following are my most recent posts:

Who is ZmEu?

An image showing ZmeuThe name Zmeu (no capital E) is the name of a fantastic creature of Romania. There are so many stories that there isn't a clear understanding of what it is... but it is human like, can spit fire and wants to marry young women.

If you're wondering, it is generally a bad guy.

ZmEu Attack

Today, I noticed a lot of traffic on one of my servers. Looking into what was happening, I immediately found out that an attacker was looking for a loophole in that system. That attack was being performed from China.

I checked another server, and sure enough, that other server was ...

A meteorite flying in Earth atmosphere, ready to smash the ground and kill 95% of the animals on the entire planet.

As per the following page:

Drupal 6.x is also at risk from this issue. You can download Drupal 7 or 8 and compare and find out what is different between both versions.

The only difference between 7.57 and 7.58, which makes a difference, is a class used to remove any parameter that starts with a hash (#). Drupal defines arrays with keys. To distinguish between regular values and keys, Drupal uses words that start with a hash (#) for those keys.

Here are two lines of code that show that '#...' key usage:

$form['#pre_render'][] = ...

Row of jars with hot peppers in olive oil and delicious herbs.

As I have been looking around for various tools to help me determine what is happening whenever I have a reader on my blog, I found this tool which offers quite a few features for free which is called: HotJar.

One step in the process of using HotJar is to download a small JavaScript and add it to your website header. This script includes your website identification and allows for tracking your customers and see what they are doing on your website. Pretty nice to get a better idea of what's happening.

The hit with the "hjVerifyInstall" parameter happens whenever you click the ...

My Jetson TX2 see from the top, the area with the heat sink and the fan is the actual Jetson card.
(click on image to see 4K version in new window)


I just received my Jetson TX2 so I had to test it!

First I needed to setup the network since by default it wants DHCP which I don't allow by default on my server.

Since it's running Ubuntu, I thought it would be dead easy, but I ran in two interesting settings I hadn't seen before.

Stop Eth0

When you are about to edit an interface, you probably want to first bring it down. If you forget to do this step first, you may have to reboot to get the status back to normal. So run this one:

sudo ifdown eth0

You ...

Whenever you create a page, you at times notice that your text goes bye bye without telling you anything about the reason why it would do that.

The fact is that there are many reasons why this can happen. The following is here to remind me of the various possibilities that I've bumped into over time.

Text Color

The first one that got me many times is the color of the text. If that color is set to transparent or the same color as the background, then you won't see the text.

What I do to test that quickly is go to the block where the text is expected to appear and change the ...

As I was checking some logs, I found the laundry list of a robot checking out one of my websites: 54 hits. As we can see, it checks many paths, some of which it checked 2 or 3 times (the first number in my list is a count).

3 /apple-app-site-association
1 /cache/iph.php
1 /dbss.php
1 /ecss.php
1 /function-sync.php
1 /inlos.php
1 /sph.php
1 /tip.php
3 /.well-known/apple-app-site-association
3 /.well-known/assetlinks.json
1 /wp-content/plugins/another-wordpress-classifieds-plugin/AWPCP.po
1 /wp-content/plugins/auto-attachments/a-a.css
1 ...

Long Exposure Photograph Showing Start Rotation

Bad Documentation (if you ask me)

When you looks at the document of logrotate, the first page about the settings shows an example as follow:

/var/log/news/* {
    rotate 2
    olddir /var/log/news/old
        kill -HUP `cat /var/run/`

Making your think that it's okay to have an asterisk in this way, right? PLAINLY WRONG!

The logrotate utility actually has no heuristic to detect whether a file was already rotated or compressed so with an asterisk, it will discover all the files in a folder and ...

Today I spent hours trying to find out why one of my find_library() would fail.

I fixed the search implementation, to make it cleaner as a result, which is not a bad thing, but the problem was a -D on a cmake call that would define the value ahead of time. That is...

There is the search I used:

find_library( ADVGETOPT_LIBRARY advgetopt

This looks just fine and it should work, easy. I even added a test in my main CMakeLists.txt to see what would happen:

find_library( TEST_LIBRARY advgetopt
            PATHS ...

Today, I finally upgraded to SeaMonkey 2.49.1.

It was out on Nov 4, 2017 but I did not check for it any time sooner. Bad for me as there were some bugs in 2.48 that banks and such were warning about (oh and WordPress too...)

Anyway. I downloaded the new version. Extracted the files. Updated my icon with the new path. Click on the icon to open the browser. Nothing.

Today I needed to check a zone file to see why the IP address was wrong on one of my servers.

Sure enough, the IP was the old one (We switch servers about 9 months ago). Although once in a while I would get the right IP, the second name server still had the old IP. I thought the cache would be renewed more often than that, but I guess this is well optimized!

The error I made is not change the time info which means that the second name server never saw the change. This is just a domain name I redirect so I never noticed the problem before.

To check the cached file, though, I needed a way to ...

Thank you for visiting my website.