Author Archives: mike632t

Disabling l4tbr0

On the Jetson Nano the l4tbr0 network bridge it is enabled by default, if you want to disable it you can use the following two commands. # systemctl disable nv-l4t-usb-device-mode.service # systemctl stop nv-l4t-usb-device-mode.service Note – Once the service has been disabled you can’t simply re-enable … Continue reading

Posted in Linux | Leave a comment

gksu is dead long live pkexec

I don’t use it very often but occasionally it can be useful to have a launcher somewhere on my desktop that starts a terminal session as root.

Posted in Debian, Linux, Raspbian, Ubuntu | Tagged | Leave a comment

Installing WordPress (on a Raspberry Pi Zero)

Having used WordPress for a few years now I decided it was time I tried setting up a WordPress server on my network, and just to make it interesting I decided to use a Raspberry Pi Zero W – why … Continue reading

Posted in Debian, Linux, Raspbian, Ubuntu | Tagged , , , | Leave a comment

How to identify a Raspberry Pi’s model number

I have several different little Raspberry Pi computers, and though there are subtle differences between them if you can’t remember what they are then you will be glad to know that you can easily check the model number from the … Continue reading

Posted in Raspbian | Tagged | Leave a comment

Count the number of sub-directories

Another one liner that just counts the number of sub directories. $ find ./*  -type d  | wc -l Note – Remember to use ./* if you don’t want to include the current directory itself in the total.

Posted in Linux | Tagged | Leave a comment

List packages by install date

A handy ‘one liner’ that lists all the packages installed on a RedHat system by the install date. $ rpm -qa --qf $'%{INSTALLTIME}\t%{INSTALLTIME:date}\t%{NAME}\n' | sort -n -r -k1 | cut -f2,3 Sun 09 Jun 2019 17:26:04 BST systemd-sysv Sun 09 Jun 2019 17:26:04 BST systemd-libs Sun 09 Jun 2019 17:26:04 BST rsync   :   :   : Thu 02 Nov 2017 12:49:32 GMT bzip2-libs Thu 02 Nov 2017 12:49:13 GMT fontpackages-filesys Thu 02 Nov 2017 12:49:13 GMT basesystem $  This command uses format specifier … Continue reading

Posted in RedHat | Tagged | Leave a comment

Trouble with suspend/resume device

After restoring my laptop from a not so recent backup I found that it spent about 30 seconds waiting for the suspend/resume device.

Posted in Debian, Linux, Ubuntu | Tagged | Leave a comment

Script to set the MTU size in RedHat

The following script makes it easy to set the MTU size if you are using RedHat or CentOS 7.x, and has also been tested successfully on RedHat 6.x.

Posted in Linux, Networking, RedHat | Tagged | Leave a comment

Configure proxy settings for Git

If you are using git from behind a proxy then you will need to tell it what your proxy settings are.

Posted in Linux | Leave a comment

Determine MTU size using ping

Normally the MTU size should be set correctly using Path MTU discovery, but this may not always work.

Posted in Linux, Networking | Tagged , , , , | Leave a comment