In All Directions
In All Directions
This cool tool helps you exchange files and directories between computers with Linux, Mac OS, Windows, and Android.
There are many tools for exchanging data on heterogeneous local networks. NitroShare promises to make this task as easy as possible. In addition to Linux, NitroShare also supports Mac OS, Windows, and Android.
In this article, my test included a network of computers running Debian "Sid," Windows 10, Ubuntu, Ubuntu MATE, Fedora, and the Android app. Users with Debian Sid, Ubuntu, Fedora, Gentoo, and openSUSE will find the software in their respective repositories; for Arch Linux users, check out the AUR user archive. If necessary, compile the program for other distributions from the source code.
Qt5 as a Basis
Packages for Nautilus (Gnome), Nemo (Cinnamon), and Caja (MATE) are available for integration in file managers. Although NitroShare is based on the Qt5 framework, not all distributions have appropriate extensions. Packages for integration into Dolphin and Konqueror were only available for openSUSE as dolphin-plugin-nitroshare and for Fedora as nitroshare-kservice. Fedora also offers a plugin for use in the terminal.
The installation on Debian and Fedora is quickly done (Listing 1); the package itself is only 150KB with just one dependency on a small 40KB Qt web server. If you do not want to use the Personal Package Archive (PPA) in Ubuntu, use the same command as in Debian. For Windows, executables for 32- and 64-bit systems are available on the project's website [1], and a DMG package is available for Mac OS from version 10.8.
Listing 1
NitroShare Installation on Debian and Fedora
# Debian: apt update apt install nitroshare # Fedora sudo dnf install nitroshare # Ubuntu-PPA: sudo apt-add-repository ppa:george-edison55/nitroshare sudo apt-get update sudo apt-get install nitroshare sudo apt install nitroshare-nautilus # Arch from the AUR: wget https://aur.archlinux.org/cgit/aur.git/snapshot/nitroshare.tar.gz tar xf nitroshare.tar.gz cd nitroshare makepkg -sri
Immediately Ready for Operation
After installation and an initial start from the respective menu, the program is installed in the system tray (Figure 1). From there, it offers the exchange of files and directories with computers on the LAN on which the software is also installed. NitroShare automatically detects the corresponding devices and offers them as transfer targets.
The software is ready for use immediately after installation; no further configuration is required. In the Settings menu, you have the option of configuring a number of settings depending on your distribution and desktop (Figure 2 and Figure 3).
Checking Auto start after login causes the program to launch whenever the system is booted. Automatic detection of other devices can take up to five minutes the first time. At the end of this phase, the tool displays a message with the results.
In the Settings dialog, you can also specify a name other than the hostname for each device and a default folder for downloads in the General tab. Under Advanced, you can change the port, buffer, time out, and interval, if necessary.
Encryption Is Possible
Although not normally necessary on your own network, the software also offers the possibility to encrypt transfers via Transport Layer Security (TLS) in the Security tab. A description of the corresponding configuration (Figure 4) can be found on the NitroShare wiki [2].
The menu also offers the Send Files and Send Directory options, which allow you to select files or directories and then specify the desired transfer destination. During data transfer, the software displays its history. You can close this dialog without affecting the transfer. After the transfer has completed, you see a message to this effect.
NitroShare does not limit the size of the data sent and can thus theoretically achieve high speeds on networks designed for this purpose. Behind the scenes, the program uses IPv4 broadcasts to send User Datagram Protocol (UDP) packets to other devices on the LAN. These contain information that allows other devices to initiate transmissions without having to worry about broadcast addresses and the like. By default, NitroShare sends all UDP packets on port 40816 to any active network interface with an IPv4 broadcast address. You can change the port individually in the settings, if necessary.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.