Latest Entries



Wednesday, August 9th, 2017, 4:13am

Fix Fedora 26 Static Ethernet Won't Start at Boot

Categories: Tech / Nerdery

If you've configured your Fedora 26 Ethernet adapter to use a static IP address, and thus disabled NetworkManager management with the flag "nm_controlled=no", you may notice your adapter refuses to start on boot, but works fine when you manually restart networking.

In my case, the problem was that the "network" service, wasn't actually enabled at boot!

To quickly fix this issue:

sudo systemctl enable network


then reboot with

sudo reboot


That's all! [...]



Sunday, May 7th, 2017, 10:16am

How to Force Ubuntu Release Upgrades

Categories: Tech / Nerdery

Ubuntu Release Manager Configuration
-do-release-upgrade now finds all new upgrades
[^] 
Hello friends,

For those of you who may be stuck on an older version of Ubuntu Linux, such as 16.04 or 16.10, and wish to upgrade to the latest release, here is one solution.

A few weeks ago, I attempted to upgrade to Ubuntu Linux 17.04 and received the following message:

>sudo do-release-upgrade;
Checking for a new Ubuntu release
No new release found


Quite sad!

So as it turns out, you can change the following configuration file located here:
/etc/update-manager/release-upgrades

Simply change the line
Prompt=lts


to

Prompt=normal
[...]



Sunday, April 9th, 2017, 4:19pm

Linux - Test if a Path exists, or is a directory, or is a block device

Categories: Tech / Nerdery

Hello friends,

Here are a few tests you can run on paths in Linux shell scripts.

Use the "-e" test, to tell if a path exists.
Use the "-d" test, to tell if a path is a directory.
Use the "-b" test, to tell if a path is a block device.

The following script will test a few paths for you:
[blockquote]#!/bin/sh


do_tests()
{

#
echo
echo "####################"
echo "### Testing: $1"

# Exists?
if [ -e "$1" ];then
TEST_EXISTS="YES"
else
TEST_EXISTS="NO"
fi
echo "Exists? $TEST_EXISTS"

# Directory?
if [ -d "$1" ];then
TEST_DIR="YES"
else
TEST_DIR="NO"
fi
echo "Directory? $TEST_DIR" [...]


Booking | Newsletter | Contact | RSS

Photos

  • Instagram
  • Register / Community

  • Register (FREE)
  • Login
  • Find Other Fans
  • Mobile

  • Point your mobile browser to: MikePeralta.com/m or simply scan this code