Net Interface not loaded in Debian

I had to build out a Debian server for a project I was working on at home and my internet went down just as I started the build, deciding not to wait until it came back up; I went ahead with the build and finish the configs, upgrades and whatever else would be needed once the interwebs started working again.

The major issue I had was that networking was not able to be configured due to no connection found, that in turn left my software config to use the install media alone. Continue reading Net Interface not loaded in Debian

Advertisements

grub-pc (2.02~beta2-36ubuntu3.10)

I’m running an Ubuntu server and the other day while running updates I started getting the following error:

Setting up grub-pc (2.02~beta2-36ubuntu3.10) ...
/var/lib/dpkg/info/grub-pc.postinst: line 703: syntax error near unexpected token `fi'
dpkg: error processing package grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)

Opening /var/lib/dpkg/info/grub-pc.postinst I found:

        if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10 then
          if [ -e "/boot/efi/EFI/${bootloader_id}/fbx64.efi" ]; then
            rm -f "/boot/efi/EFI/${bootloader_id}/fbx64.efi";
          fi
        fi

There was a missing semicolon in the first line and that’s what was breaking my update. I updated it and the error went away:

        if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10; then
          if [ -e "/boot/efi/EFI/${bootloader_id}/fbx64.efi" ]; then
            rm -f "/boot/efi/EFI/${bootloader_id}/fbx64.efi";
          fi
        fi

Linux Kernel Zero Day Vulnerability CVE-2016-0728

This vulnerability has existed since 2012 and it affects Android and Linux systems running Linux Kernel version 3.8+, and Linux server or desktop running kernel 3.8+ is vulnerable.

As of the date of disclosure, this vulnerability has implications for approximately tens of millions of Linux PCs and servers, and 66 percent of all Android devices (phones/tablets).

How do I fix this?

First some background on what the CVE-2016-0728 bug is. From the Perception Point Research Team

CVE-2016-0728 is caused by a reference leak in the keyrings facility. Before we dive into the details, let’s cover some background required to understand the bug. It can successfully escalates privileges from a local user to root.

Continue reading Linux Kernel Zero Day Vulnerability CVE-2016-0728

Install Viber on Linux

What is viber?

Viber for Desktop lets you send free messages as well as make free calls to other Viber users, on any device and network, in any country! Initially released as a phone app, you can now use it on your Windows and Mac desktops with a Linux version currently in development for 64-bit systems.

For the Viber site:

Viber is a mobile application that allows you to make phone calls and send text messages to all other Viber users for free! Viber is available over WiFi or 3G. Our sound quality is much better than a regular call. Once you and your friends install Viber, you can use it to talk and message as much as you want. Talk, message, and talk and message some more – for free!* You can also call any number that doesn’t have Viber at low rates using ViberOut.

Continue reading Install Viber on Linux

Configure WiFi on an Ubuntu Server

Ok, I know you’re wondering why I would ever want to setup WiFi on a server. Well, this was a small server to do some light work and I had a mini pc that had a builtin WiFi card that I used and since it had the option I figured I’d use the convenience rather than having to run another cable.

Continue reading Configure WiFi on an Ubuntu Server

Ubuntu and Debian End-of-Life Timeline

Ubuntu

Standard Ubuntu releases are supported for 9 months and Ubuntu LTS (Long Term Support) releases are supported for five years on both the desktop and the server. During that time, there will be security fixes and other critical updates.
Continue reading Ubuntu and Debian End-of-Life Timeline

My gripe with Debian

I wanted to test the new Debian release to see what was new in that sphere, so I got it setup on my machine.

Few things ticked me off right from the start…

One and the main one being that my Intel WiFi card was not picked up.. And yes, I get that Debian has their special rules (Debian Free Software Guidelines) and all but how do you provide a desktop environment where people will want to run it on a laptop without allowing for WiFi drivers. And yes, I know too that it’s easy to get it working but these are things that should work out of the box and not to mention that unless you are familiar with Linux you will not want to get into that process.

I do not recommend Debian as an entry Linux alternative for several reason, main ones being that there are lots of things missing because of their restrictions on what they include by default and all the extra configs that need to be done depending on what machines you run it on.

It does not make it easy on them either that they provide all the extras in their non-free sources that should be enabled by default if you ask me. Continue reading My gripe with Debian