Posts Tagged network
📅 December 4, 2019
Let’s add a DLNA server!
Casual users might not be interested in the “techie” features that we have installed on the NUC, such as SSH and FTP, so let’s install a DLNA server to make the NUC function as a media server for consumer devices connected on the same network!
With DLNA, users can connect and have access to pictures, movies, and music from their devices without logging in as FTP or SSH users. These devices could be cell phones, smart TVs, game consoles, or any other DLNA client.
To achieve this, we need a DLNA server. Multiple DLNA servers are available for installation, but we will install the free (basic version) Emby server for this project because Emby is easy to use, offers multiple users for a customized collection of media files, and offers a slick GUI for administration.
Ready? Let’s begin!
📅 November 12, 2019
What would a NAS be without FTP?
With an SSH server installed, we already have some NAS (Network Attached Storage) functionality. But NAS devices usually have more than one option/protocol available, so let’s add the ProFTP server to give the NUC some FTP abilities!
📅 November 11, 2019
“Let’s block ads!”
Pi-hole is a free, network-wide ad blocking solution for your network. You can set up Pi-hole to act as your primary DNS server so any device connected to your network must resolve DNS requests through Pi-hole before resolving DNS requests on the Internet.
The idea behind Pi-hole is to maintain block lists of known ad servers. If a URL is on a block list, then Pi-hole resolves that URL to 0.0.0.0, and a connection cannot be made. The result? No ad is shown.
Pi-hole was originally designed for the Raspberry Pi, but it will also run on practically any hardware running Linux. We will set up Pi-hole on the Intel NUC running Xubuntu 19.10, and then configure the DNS chain so all devices connected to the network — computers, cell phones, tablets, game consoles, smart TVs, mobile apps, whatever — automatically receive the Pi-hole as the primary DNS server through DHCP. Most ads will be blocked automatically without any client configuration.
Just connect and ads are blocked!
📅 November 7, 2019
How do we talk to the NUC remotely over the LAN?
With link aggregation up and running on the NUC and Xubuntu 19.10, let’s install the OpenSSH server so we can administer the NUC remotely and securely.
📅 November 5, 2019
Gimme a faster network!
So far, the NUC is set up and running Xubuntu 19.10. (Part One Here.) Before installing network services, such as FTP and SSH, let’s bond network ports together using a process called link aggregation to double the available throughput of most data transfers over the LAN.
Make sure Xubuntu is updated and has Internet connection, and prepare to learn something new!
📅 February 13, 2018
Suppose you want to maintain a list of users allowed to login to an FTP server but you do not want to create user accounts for them on the Linux system. The FileZilla server has this feature built in, so is there are way to specify usernames and their passwords for FTP users in ProFTP?
One way is to use a MySQL database that ProFTP checks for allowed users. If a user is listed in the database, then he is allowed to log in.
This might sound like overkill. Why use a full-fledged relational database for FTP? Actually, you can much, much more than manage logins. Every aspect of the FTP session can be recorded and analyzed using a database. Uploads, IP addresses, last logins, login history, access count, upload/download quotas, and more are possible. Almost anything you want to record about your users is possible with ProFTP and a database, such as MySQL.
This article shows how to set up ProFTP to access a MySQL database that lists users allowed to log in without needing to create user accounts on a Linux Mint system.
With the virtual environment set up and the default ProFTP server running, let’s configure ProFTP to serve two virtual FTP hosts that allow anonymous logins each.