TECH / ARCHIVE

Servers & Websites

TECH / Servers & Websites 4 min

Mount SFTP as a Drive in Windows (NetDrive 2.6 Free) and Automate Backups

I have written before about various ways to back up data from Unix and Linux servers (for example from FreeBSD to Windows with Robocopy — see Robocopy download and basic usage). Now I want to share the latest version of my method, which I managed to fully automate.

Recently I learned about new possibilities in NetDrive, the program I use to connect to servers over SFTP.

NetDrive app — mount FTP and SFTP as a drive

I spent a lot of time looking for a completely free alternative to NetDrive — something like FileZilla or WinSCP, but where the server is mounted as a drive instead of just connected. There seems to be nothing like that. There are some solutions, but they are far from NetDrive in looks and reliability.

Read full article →

TECH / Servers & Websites 3 min

Alpine Linux: Small, Fast & Secure – Overview, apk Commands & VPS Experience

Alpine Linux lives by the motto Small. Simple. Secure. – and it is one of those rare cases where the tagline matches reality. A minimal Alpine Docker base image is roughly 5–8 MB, while a full disk installation takes just over 130 MB.

Alpine Linux lightweight distribution for servers and Docker

I first noticed Alpine while browsing OS templates in a VPS control panel and got curious enough to test it on a live server. Here is what makes Alpine different from Debian/Ubuntu, the essential apk commands, and where it shines (or trips you up).

Read full article →

TECH / Servers & Websites 5 min

MT7601U Driver on Linux: How to Connect Wi-Fi from the Debian Console

Connecting to Wi-Fi in a modern Linux distribution with a graphical desktop is usually no problem: as long as the hardware is supported, a few mouse clicks and you’re done. Connecting to Wi-Fi from the Linux console is a bit harder, but quite doable.

In short: the mt7601u driver is already in the Linux kernel – only the mt7601u.bin firmware is missing. In Debian it comes from the non-free-firmware section (package firmware-misc-nonfree in Debian 12, firmware-mediatek in Debian 13), and you connect to the network with wpa_supplicant.

debian orange monkeymagico 1680x1050

Here’s how to get online over Wi-Fi with a TP-Link USB Wi-Fi dongle based on the mt7601u chip (Ralink/MediaTek) in Debian. I originally did it on Debian 9; below is the up-to-date version for Debian 12 and 13.

Read full article →

TECH / Servers & Websites 3 min

How to Remove the First and Last Character of a Line in Linux with sed

Here is another handy Linux command-line one-liner. Whenever a bash script needs to strip quotes, brackets, or simply the first and last character from every line in a text file, sed is the fastest tool for the job.

sed and awk book cover

The quick working command: sed 's/^.//;s/.$//' 1.txt. Below is a quick breakdown of how it works, how to trim multiple characters at once, and how to avoid the classic Windows line-ending trap.

Read full article →