Some Internet service providers and corporate companies might have blocked most of the ports, and allowed only a few specific ports such as port 80 and 443 to tighten their security. In such cases, we have no choice, but use a same port for multiple programs, say the HTTPS Port 443, which is rarely blocked. Here is where SSLH, a SSL/SSH multiplexer, comes in help. It will listen for incoming connections on a port 443. To put this more simply, SSLH allows us to run several programs/services on port 443 on a Linux system. So, you can use both SSL and SSH using a same port at the same time. If you ever been in a situation where most ports are blocked by the firewalls, you can use SSLH to access your remote server. This brief tutorial describes how to share a same port for https, ssh using SSLH in Unix-like operating systems.
In this tutorial, we learn how to use curl command in linux. Expained with examples to download single and mutiple files from remote server.
Source: How to Use Curl Command with Examples (Linoxide)
By default, ssh server performs a reverse DNS lookup for authentication requests. This can be so annoying as you wait ten’s of seconds for the lookup to finish. You may experience a delay before receiving a password prompt while accessing a remote system via ssh.
This guide will show you how to disable SSH reverse DNS lookups in a Linux/Unix system. The method discussed here works for all Linux and Unix based operating systems running OpenSSH Server.
From the man page of rsync, Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending only the differences between the source files and the existing files in the destination.
Introduction The scp command is used to copy files and directories between one computer to another. What is valuable about this utility is the fact that it used ssh to tunnel the copying. This means that the data is encrypted because it rides on ssh’s secure features.
If you’ve ever used a spreadsheet, you’ve probably used or seen functions for doing date math—in other words, taking one date and adding some number of days or months to it to get a new date, or taking two dates and finding the number days between them. The same thing can be done from the command line using the lowly date command, possibly with a little help from Bash’s arithmetic.
For those who want to manually create desktop shortcut launcher in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, Arronax is a good choice with graphical user interface.Other than creating .desktop file via Linux command, Arronax offers a graphical interface to create (and also edit) desktop shortcut for application, executable file, or URL.
In this Raspberry Pi Samba tutorial, we will be showing you how you can share directories from your Raspberry Pi using the SMB/CIFS protocols.
One of the problems with the Raspberry Pi has always been that it uses an ARM-based processor, which means that some software and many operating systems don’t run (or don’t run as well) as they would on a device with an Intel or AMD processor. There have been boards that use non-ATM based processors in the past, but they have all been quite expensive compared to the $35 Raspberry Pi, which has more or less become the device against which all other small single board computers are measured these days. While the Raspberry Pi still has its place, especially where size is a major consideration, the new “Atomic Pi” in many ways appears to offer superior performance at about the same price point. This video gives more details:
- Genuine Intel Atom x5-Z8350 quad core with 2M Cache. Runs up to 1.92GHz with a 480MHz GPU. Eats RPi for dessert. Beats some desktops.
- Loaded with memory: 2GB DDR3L-1600, 16GB eMMC, SD slot for adding more – up to 256GB
- Full HDMI port with Intel HD Graphics & primary audio out
- USB 3.0 and USB 2.0 ports
- Fast dual band WiFI b/g/n/ac 2.4 & 5GHz WiFi RT5572 IPX connectors on board
- Bluetooth 4.0 CR8510
- Gigabit hardwired RJ45 Ethernet RTL8111G
- 9-axis inertial navigation sensor with compass BNO055
- Secondary XMOS audio output with class-D power amp.
- TTL serial debug and expansion serial ports up to 3.6Mbps
- Real time clock & battery
- JST style connectors on top and a 26-pin header for power & GPIO below.
- Runs on 5V. Typically 4-15 watts.
- Legitimate licensed BIOS boots from SD, USB, or Ethernet. Linux comes preloaded… Yes, it’ll run Win10 32 or 64.
- Large full breakout shield available with screw terminals for easy wiring, or order just the CPU and provide your own wiring.
- Well documented – more specs here.
An Amazon purchaser “Heron” posted a great review of the Atomic Pi. Just in case it becomes inaccessible for some reason, here is what he said (spelling errors have been corrected, but no other changes made):
What I love:
* The price: other x86 SBCs with the same CPU cost $100. Other mini PCs from China cost at least $80. This board is a bargain.
* USB3.0, real gigabit Ethernet (it really reaches than 900mbps) and low power consumption make this board the best $35 NAS solution.
* x86_64 architecture, 2GB RAM and full Windows and Android x86 compatibility make this board the cheapest way to get a half decent PC fully capable of handling office tasks.
* The ability to choose your own WiFi antennas, exposed GPIOs, Linux and Android compatibility, the presence of a eMMC, onboard Bluetooth and WiFi, make this board quite versatile.
* The big heatsink didn’t allow the CPU to reach more than 55°C in my tests.
Now that it’s out of stock I’m regretting buying only one.
What I don’t like:
* The absence of a DC barrel jack. But this board can still be powered easily with breadboard jumpers.
* A 16GB eMMC is too small for Windows 10 (but it’s more than enough for Linux)
* I would have expected to find at least some cheap PCB WiFi antennas included in the box. Without them WiFi is basically useless and now I have to wait to get some from Aliexpress.
* There is no audio jack. You can either use audio over HDMI, or use a cheap USB sound card. Or use the big external expansion board (not yet available from Amazon).
Raspberry Pi comparison:
* The Atomic Pi is a little bigger than two Raspberry Pi.
* The Atomic Pi is much much faster than a Raspberry Pi.
* The Atomic Pi can display 1080p videos from VLC and even from YouTube (with Firefox). With the Raspberry Pi you have to use its own player and just forget about streaming a HD video from a browser without stuttering.
* The Atomic Pi requires a slightly more powerful power supply than the Raspberry Pi.
* The Atomic Pi doesn’t require a SD to work.
* The Atomic Pi, as a server, is just better in any way than the Raspberry Pi (storage speed, network speed, software compatibility).
* The Raspberry Pi, as a TV media center, can be controlled with your TV remote with HDMI-CEC. The Atomic Pi cannot.
* The Raspberry Pi has a more flexible and better community supported GPIO interface.
* Unlike the Raspberry, the Atomic Pi is already properly cooled out of the box. I didn’t found a way to overclock it, but I could easily change the frequency governor.
How I use it:
I soldered a power connector, from a barrel plug and a common breadboard pin strip. Then I disabled the PXE boot, I booted a Linux live pen drive and flashed the provided Debian Buster minimal image to the eMMC (instructions provided).
Then I installed a desktop environment (with the command taskel), so now I have a little Linux desktop. I also installed a Samba server, so it doubles as a quite fast NAS.
Finally I 3D printed a plastic case from Thingiverse and it’s now complete.
As of mid-May, 2019 the Atomic Pi is once again available to order on Amazon, or it can be purchased from ameriDroid (be sure to check the estimated shipping dates). If you live in the USA you may be able to buy one direct from the manufacturer’s site if they have any currently in stock.
The one glaring omission on this device is that there is no standard power input jack – what were they thinking when they left this off of the main board?! That missing power jack is the thing that has prevented them from having a 5-star rating on Amazon. This document explains how to get power to the unit (one of the options is to purchase a “baby breakout” board that has a power jack for an additional $3). Note that a power supply that produces 5V and at least 2.4A is required, and you will need a bit more power (higher Amperage) if you plan to power anything from one of the USB connections. There’s a discussion on Reddit titled MEGATHREAD: Powering your Atomic Pi: Ask all your power questions here! and also a Powering Your Atomic Pi Megathread in the Atomic Pi Reddit forum. These threads might be helpful if you are trying to figure out how to power an Atomic Pi.
Also the manufacturer doesn’t appear to offer an enclosure of any kind. If you have access to a 3D printer you can print one yourself (for example, see here (this appears to be the enclosure shown in Heron’s review), here, or here), otherwise I’m sure that sooner or later someone will offer enclosures for the Atomic Pi.
Here are some additional articles covering the Atomic Pi:
Linux-powered Atomic Pi Is A Bite-sized PC With Intel CPU (Fossbytes)
Atomic Pi Brings Intel to Single-Board Computers (Tom’s Hardware)
Atom-powered $34 Atomic Pi: A music-friendly SBC for creators that runs Windows 10 (TechRepublic)
$35 Atomic Pi dev board with Intel Cherry Trail now available from Amazon (Liliputing)
$35 Atomic Pi Cherry Trail Linux SBC is now available worldwide (CNXSoft – Embedded Systems News)
Atomic Pi SBC is back with pre-orders on Amazon and Ameridroid (CNXSoft – Embedded Systems News)
If you use the program youtube-dl, you may have noticed that from time to time things stop working. Usually it’s because something changes on a site and youtube-dl needs to be patched to deal with it. But what sometimes happens is that someone will submit a patch and then the youtube-dl developers will ignore that patch for many months before they finally get around to merging it into the program. The speed at which the youtube-dl developers fix issues with sites can seem glacial at times.
What’s frustrating is that if you browse through the issues section of the youtube-dl support area using an appropriate search term, you may find the fix for your problem, and maybe it’s just been sitting there for quite some time. But, since youtube-dl is distributed as a compiled binary you may think you have no way to apply it. But that’s not really true – at its core, the entire program is simply a multitude of Python scripts, and it can be run without first being compiled. And if you use it that way, then you can apply patches as needed to any of the python modules, whether they are patches you have written or patches that you have found in the issues area, or elsewhere on the Internet.
So here is how you can install and use youtube-dl using actual source code.