Open-source News

Qualcomm MSM DRM/KMS Driver To See Display Improvements With Linux 5.19

Phoronix - Wed, 05/04/2022 - 17:31
The Qualcomm "MSM" DRM/KMS driver is set to see several display improvements with the upcoming Linux 5.19 merge window...

Rewritten Apple Silicon CPUFreq Driver Posted For Linux

Phoronix - Wed, 05/04/2022 - 17:08
A new Apple SoC CPUFreq driver has been posted by Asahi Linux's Hector Martin with the CPU frequency scaling driver, of course, being important for achieving optimal performance and power/thermal management...

How I manage my own virtual network with ZeroTier

opensource.com - Wed, 05/04/2022 - 15:00
How I manage my own virtual network with ZeroTier Kevin Sonney Wed, 05/04/2022 - 03:00 Register or Login to like Register or Login to like

Automation is a hot topic right now. In my day job as a site reliability engineer (SRE), part of my remit is to automate as many repeating tasks as possible. But how many of us do that in our daily, not-work, lives? This year, I am focused on automating away the toil so that we can focus on the things that are important.

While automating everything, I ran into some difficulty with remote sites. I'm not a networking person so I started to look at my options. After researching the various virtual private networks (VPN), hardware endpoints, firewall rules, and everything that goes into supporting multiple remote sites, I was confused, grumpy, and frustrated with the complexity of it all.

More on automation Download now: The automated enterprise eBook Free online course: Ansible essentials Ansible cheat sheet eBook: A practical guide to home automation using open source tools A quickstart guide to Ansible More articles about open source automation

Then I found ZeroTier. ZeroTier is an encrypted virtual network backbone, allowing multiple machines to communicate as if they were on a single network. The code is all open source, and you can self-host the controller or use the ZeroTierOne service with either free or paid plans. I'm using their free plan right now, and it is robust, solid, and very consistent.

Because I'm using the web service, I'm not going to go into detail about running the controller and root services. ZeroTier has a complete reference on how to do that in their documentation, and it's very good.

After creating my own virtual network in the web user interface, the client installation is almost trivial. ZeroTier has packages for APT, RPM, FreeBSD, and many other platforms, so getting the first node online takes little effort.

Once installed, the client connects to the controller service and generates a unique ID for the node. On Linux, you use the zerotier-cli command to join a network, using the zerotier-cli join NETWORKID command.

$ sudo zerotier-cli info
200 info 469584783a 1.x.x ONLINE

You can also use zerotier-cli to get a listing of connected and available nodes, change network settings, and leave networks.

Image by:

(Kevin Sonney, CC BY-SA 4.0)

After joining a network, you do have to approve access for the node, either through the web console or by making a call to the application programming interface (API). Both methods are documented on the ZeroTier site. After you have two nodes connected, connecting to each other — no matter where you are or what side of any firewalls you may be on — is exactly what you would expect if you were in the same building on the same network. One of my primary use cases is for remote access to my Home Assistant setup without needing to open up firewall ports or expose it to the internet (more on my Home Assistant setup and related services later).

One thing I did set up myself is a Beta ZeroNDS Service for internal DNS. This saved me a lot of complexity for managing my own name service or having to create public records for all my private hosts and IP addresses. I found the instructions to be very straight forward, and was able to have a DNS server for my private network up in about 5 minutes. Each client has to allow Zerotier to set the DNS, which is very simple in the GUI clients. To enable it for use on Linux clients, use:

$ sudo zerotier-cli setNETWORKID allowDNS=1

No other updates are needed as you add and remove hosts, and it "just works."

$ sudo zerotier-cli info
200 info 469584845a 1.x.y ONLINE
$ sudo zerotier-cli join
93afae596398153a 200 join OK
$ sudo zerotier-cli peers
200 peers
<ztaddr> <ver> <role> <lat> <link> <TX> <RX> <path>
61d294b9cb - PLANET 112 DIRECT 7946 2812 50.7.73.34/9993
62f865ae71 - PLANET 264 DIRECT 7946 2681 50.7.76.38/9993
778cde7190 - PLANET 61 DIRECT 2944 2901 103.195.13.66/9993
93afae5963 1.x LEAF 77 DIRECT 2945 2886 35.188.31.177/41848
992fcf1db7 - PLANET RECT 79124 DI47 2813 195. 181.173.159/9993

I've barely scratched the surface of the features here. ZeroTier also allows for bridging between ZeroTier networks, advanced routing rules, and a whole lot more. They even have a Terraform provider and a listing of Awesome Zerotier Things. As of today, I'm using ZeroTier to connect machines across four physical sites, three of which are behind NAT firewalls. Zerotier is simple to set up, and almost completely painless to manage.

ZeroTier is an encrypted virtual network backbone, allowing multiple machines to communicate as if they were on a single network.

Image by:

Jonas Leupe on Unsplash

Networking Automation What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

How to Make Your Own Music on Linux with Ardour

Tecmint - Wed, 05/04/2022 - 13:27
The post How to Make Your Own Music on Linux with Ardour first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Ardour is a simple, easy-to-use, and powerful audio recording and processing tool for Linux, macOS, FreeBSD, and Windows. Ardour is a freeware application that comes with its own set of built-in features to record

The post How to Make Your Own Music on Linux with Ardour first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

AMD Continues Posting New Patch Series For Next-Gen RDNA3 GPUs

Phoronix - Wed, 05/04/2022 - 07:48
In addition to the recent notable Linux patch series enabling GFX11 graphics and VCN4 video encode/decode for next-generation "RDNA3" GPUs, AMD this week has been posting some additional patch series enabling other intellectual property (IP) blocks for their next-generation hardware...

Linux 5.19 Adding Ability To Initiate Firmware Updates Using Sysfs

Phoronix - Wed, 05/04/2022 - 02:38
In addition to driver-core-next having queued up the long-awaited Zstd compressed firmware support ahead of the Linux 5.19 kernel, another change readied is allowing support for initiating firmware updates for supported drivers via sysfs...

Ampere Adds "Ampere1" CPU Core Support To LLVM

Phoronix - Wed, 05/04/2022 - 02:00
Merged today into mainline LLVM 15.0 for the Clang compiler is Ampere Computing's support for "Ampere1", their next-generation server processor featuring their in-house "Ampere Cores" core design...

Pages