Home Blog Page 995

​Google Patches Stagefright 2.0 in Nexus, Fixes Land in ‘Nightly’ CyanogenMod Builds

istock000054929008medium copyWhile most Android owners could be waiting weeks or months for Google’s latest Stagefright fixes, CyanogenMod has them ready to go now. In tandem with the release of Android Marshmallow 6.0 for Nexus phones, Google has also delivered a critical security update for Nexus devices vulnerable to the latest Stagefright bugs.

Revealed last Friday, Stagefright 2.0, like its predecessor, has left virtually every Android device in the wild exposed to a dangerous attack on the operating system’s media player engine, which can be triggered after receiving a malicious MP3 or MP4 media file.

Read more at ZDNet News

What Are Linux Meta-packages?

I was recently in a discussion about meta-packages, and realized many users don’t know what they are or what they do. So, let’s see if we can clear-up the mystery.

Meta-packages in a nutshell

A ‘meta-package’ is a convenient way to bulk-install groups of applications, their libraries and documentation. Many Linux distributions use them for a variety of purposes, from seeding disk images that will go on to become new releases, to creating software “bundles” that are easy for a user to install. A meta-package rarely contains anything other than a changelog and perhaps copyright information, it contains no applications or libraries within itself. The way they work is by having a list of “dependencies” that the package manager reads. The package manager then goes to the repositories to find the dependencies and installs them. (Read the rest at Freedom Penguin)

Multiple external networks with a single L3 agent testing on RDO Liberty per Lars Kellogg-Stedman

Following bellow is nothing more then test in multi node environment.  Link for original blog post:-

Multiple external networks with a single L3 agent             
The only difference is attempt to analyze and understand how traffic to/from external network flows through br-int when provider external networks has been involved.

Complete text is may be seen here

 

 

 

 

 

Top EU Court Says US Privacy Protections Are Inadequate in Landmark Ruling

Europe’s highest court today ruled that Facebook cannot send personal information on European users to data centers in the US, invalidating a 15-year trans-Atlantic data transfer agreement. In a decision that could have far-reaching implications for many US tech companies, the European Court of Justice said that the EU’s Safe Harbor agreement with the US is “invalid” because the country does not guarantee adequate privacy protections. The agreement allows technology companies to transfer data from Europe to the US, provided that certain privacy requirements are met. According toThe Wall Street Journal, today’s ruling could impact around 4,500 companies that currently rely on the laws to transfer data to the US.

Read more at The Verge

Sarah Sharp Quits as a Linux Kernel Developer, Blames the Toxic Behavior of the Community

On October 5, Sarah Sharp, a prominent Linux kernel developer, announced that she officially stepped down as a contributor to the upstream kernel, blaming the lack of respect among those who run the show from behind the curtains.

Sarah Sharp had been a longtime Linux kernel developer, the maintainer of the USB 3.0 host controller driver. She was the Linux kernel coordinator for the FOSS Outreach Program for Women (OPW), encouraging females from all over the world to get involved in the development of the Linux kernel, the core component of any GNU/Linux operating system out there.

Linux Foundation to Host Open License Compliance Project FOSSology

logo lf newThe Linux Foundation, the nonprofit organization dedicated to accelerating the growth of Linux and collaborative development, today announced it will host the FOSSology project, an open source license compliance software project and set of tools. FOSSology was originally founded by HP in 2007. Through community collaboration and industry adoption, it has become a trusted tool for open source license compliance. FOSSology 3.0 is expected to be released this week.

“As Linux and open source have become the primary building blocks for creating today’s most innovative technologies, projects like FOSSology are more relevant than ever,†said Jim Zemlin, executive director at The Linux Foundation.

Read more at Linux Foundation

The Linux Foundation Announces Project to Advance Real-Time Linux

logo lf newThe Linux Foundation, the nonprofit organization dedicated to accelerating the growth of Linux and collaborative development, today announced the new Real-Time Linux (RTL) Collaborative Project. RTL will bring together industry leaders and experts to advance and maximize technologies for the robotics, telecom, manufacturing, aviation and medical industries, among others.

The RTL kernel supports the largest range of architectures of any operating system and can leverage Linux device drivers, file systems and more from the mainline kernel. Real-time properties make it possible to control robots, data acquisition systems, manufacturing plants and other time-sensitive instruments and machines from RTL applications. It provides the critical infrastructure for some of the world’s most complex computing systems.

RTL’s Thomas Gleixner, who has been maintaining the RTL branch for more than a decade, will become a Linux Foundation Fellow to dedicate even more time to his work on RTL. He joins other Linux Foundation Fellows, including Linux kernel stable maintainer Greg Kroah-Hartman, embedded Linux developer, and Yocto Project maintainer Richard Purdie and Linux creator Linus Torvalds…

Read more at Linux Foundation

Linux Foundation Debuts Digital Video Series to Raise Awareness of the Ubiquity of Linux

wwol-2The Linux Foundation, the nonprofit organization dedicated to accelerating the growth of Linux and collaborative development, today announced the immediate release of its digital video series, “A World Without Linux,” a web series that flips this reality on its head to illustrate in an entertaining fashion just how pervasive Linux is today.

This fictitious world is such a preposterous notion that the scenarios depicted in the series help us understand how much Linux is a part of our everyday lives and allows us to thank the developers and companies who support the operating system.

Read more at Linux Foundation

HP Launching Open Source Network OS, OpenSwitch Dev Community

The OpenSwitch community, opening up to the public today, is being backed by a number of other open source proponents as well, including Broadcom, Intel and VMware, among others.

Hewlett-Packard is expanding its outreach to the open source community with a new initiative and networking operating system to fuel new data center technologies. The Linux-based, open source network operating system (NOS) was designed to counter “traditional networking” models, which HP derided in Monday’s announcement as typically closed and proprietary, among other archaic practices.

Read more at ZDNet News

How to Convert Videos in Linux Using the Command Line

Swapnil-cli-presetsLinux users don’t need to transcode video files, because they have VLC and many other apps at their disposal that can play almost any media format out there. However, if you want to play videos on mobile devices such as your iPhone or iPad, or if you run streaming servers, then transcoding your videos into supported formats becomes essential.

In a previous article, I wrote about some GUI tools that can transcode videos with ease. There was a demand for CLI (command-line interface) tools for the same job. I confess that even if I ran a headless file server at home, I never really bothered to do it via an SSH session. I would mount the removable drive on my desktop and convert files using GUI tools. It’s never late to do it differently.

In this article, I will share how I transcode video in Linux using CLI tools. Just keep one point in mind: this is just one of the “many” ways you can do it in Linux. There are dozens of such tools out there, and I am covering the one that I frequently use, because it’s easy and I’ve been using it for a long time. Some of the popular tools include ffmpeg, mencoder, and my favorite Handbrake. In this article, I will show how to use Handbrake to convert video files.

Using Handbrake to Transcode

First you need to install the “Handbrake CLI” packages on your system. Most major distributions such as openSUSE, Arch, Fedora, and Ubuntu have this in their main repositories. If not, then you can enable the necessary third-party repo and install the software.

Now that Handbrake is installed, let’s take a closer look. First, open the terminal. This is the command you will need to convert any file:

HandBrakeCLI - i PATH-OF-SOURCE-FILE -o NAME-OF-OUTPUT-FILE --"preset-name"

Ok, this is not the only command you can use; there are different ways of doing it. For example, you can give Handbrake detailed instructions on how it should deal with audio, video, what bitrate it should use, and what codec it should deploy, but that would become intimidating for a new user, and I like to keep things simple. So, I use the above pattern.

In the above command “i” stands for input and “o” stands for output here. It’s self-explanatory that you have to provide the path of the source file and the destination where you want to save the converted file. If you want to keep the transcoded file in the same folder, then just give the name of the file. Keep in mind that you do have to give the name and extension of the output file.

The “Preset Name” option is the reason I use Handbrake over others. If you have used the GUI version of Handbrake (as you can see in this article), it comes with different presets so you can transcode your video for the targeted devices. If you don’t use the preset (and I am not sure why you should not), then you will have to specify every single thing as I explained above and that, in my opinion, is overkill.

If you want to use the presets, it’s extremely easy to find what you need, just run this command:

[swapnil@arch ~]$ HandBrakeCLI --preset-list

This will give a long and detailed output of all the available presets (see Figure 1 above).

You will notice presets for iPhone, iPod, iPad, Apple TV, and other such devices. I use the last preset — “High Profile” — for two reasons: 1) In my experience, it offers the best quality; 2) It will work across devices — from mobile to HDTV. If you run Kodi instead of Plex server, then I suggest this profile, because Kodi doesn’t transcode videos on the server side.

Let’s Do It

I downloaded the “flv” format of a Linux Foundation video called Distributed Genius and wanted to transcode it into .mp4 format, which is the format that plays everywhere — from Mac OS X to iPad and Kodi (Linux plays everything, so I am not worried about it).

swapnil-encoding-cropThe file was downloaded to the Downloads folder in my home directory, and I wanted to save the transcoded file in the Videos folder, so this is the command I ran:

[swapnil@arch ~]$ HandBrakeCLI -i /home/swapnil/The Distributed  Genius.flv -o /home/swapnil/Videos/the_dstributed_genius.mp4 --preset="High Profile"

Lo and behold, Handbrake will start transcoding your video (Figure 2). Then, HandBrake will tell you once the transcoding is finished (Figure 3).

swapnil-encode-finished

So, if you are planning to transcode some video, Handbrake is my easy to use, go-to solution. In the future, I will talk about other CLI tools for performing the same task. Let me know which tools you use, in the comments below.