OpenWrt: Set up a Basic Network Including WiFi Bridge, IP Address, DHCP

OpenWrt Network Setup

This article will show you how to configure a basic network with WiFi Bridging, DHCP on a fresh install of OpenWrt – with explanations and screenshots. This guide follows on from LinuxScrew’s guide to setting up OpenWrt on a BT HomeHub 5 – but you can follow along on any device (including a Raspberry Pi!). This article assumes you have an OpenWrt device you wish to start using. We’ll start by connecting it to your home WiFi network to get it online and then setting it … Read more

OpenWRT: Secure DNS over TLS with LuCI [No Command Line]

OpenWrt Secure DNS TLS Tutorial

This article will show you a quick and clean way of getting secure DNS over TLS running on OpenWRT – without resorting to the command line. If follows on from our other OpenWrt Articles. We’ll be using stubby – a local DNS resolver that will encrypt local DNS queries and forward them to an external secure DNS resolver Provided by Cloudflare. Why Cloudflare? Because it’s the default secure DNS resolver in the default stubby configuration, that means we don’t have to edit the config files, and Cloudflare’s servers … Read more

Segregating Devices and Networks in OpenWrt [Tutorial]

OpenWrt Segregated Wifi

This article will show you how to keep your devices separate on your OpenWRT managed network and follows the steps taken to set up a basic WiFi network covered here. Why would you want to keep your devices from talking to each other on a local network? I repair other people’s computers – other people who may not be too careful about what websites they visit. If I need to connect one of these computers to my home network, I want to make sure that they … Read more

Restarting the Network in Ubuntu [Instructions/Example]

Restart Network Ubuntu

If you’ve recently updated your network configuration or just can’t get things to connect, you may need to restart the networking services on your Ubuntu System to get things back up and running. Restarting the network is particularly useful if you’re recently updated your WiFi network details or changed your IP address or hostname. These examples will work for Ubuntu and should work for Ubuntu-based distributions like Pop!_OS and Linux Mint. Restarting the Network Service from the Linux Terminal/Command Line This is probably the solution you’re looking for … Read more

How to Change the Hostname in Linux (Debian, Ubuntu, Arch, RedHat)

Linux Change Hostname

This article will show you how to change the hostname for your Linux device (Debian, Arch, Ubuntu, or RedHat). The methods below should work for the vast majority of current and obsolete Linux Distributions. What is the Hostname? The hostname of a device on the network is the human-readable label of the system. It can be used to identify or connect to a system on the network instead of connecting to it via an IP address. Displaying the Current Hostname Regardless of your distribution, you can find out … Read more

Installing OpenWrt on a BT HomeHub 5 (or Plusnet Hub One), Full Instructions

BT HomeHub OpenWrt

This article documents my success in getting the OpenWrt operating system up and running on a BT HomeHub 5A (also sold as the Plusnet Hub One). This was checked with the latest version of OpenWRT as of early 2021, so it’s up to date and ready to do some networking. Once you’ve got an OpenWrt device set up, you can start mucking around with a bunch of useful computer networking concepts and tools like ad blockers and segregated networks – I’ll explore some common usage in … Read more

Setting a Static IP Address on a Raspberry Pi [With Screenshots]

Setting a Static IP Address on a Raspberry Pi

If you followed our article on how to SSH to your Raspberry Pi so that you can control it over a network, you might be tired of having to run the commands to find out what its current IP address is on your network. Most networks assign IP addresses dynamically, which means each device on the network is assigned an IP address from a pool of available IP addresses. The address for a specific device may change over time if it is rebooted or the address is automatically … Read more

Calculating IP Addresses and Subnets – A Reference

Calculating IP Addresses and Subnets

This article aims to familiarise you with IP addresses and subnets and the calculations involved when setting them up. It’s a big topic, so this article will try to stay focused on its practical side to help get you on the right track and subnetting your home network with ease. Networking and Subnets Let’s skip the analogies and break it straight down: An IP address contains two components the network address describing the network and the host address describing the host on the network. Networks can be … Read more

How to Easily Check if a Network Port is Open in Linux

Check if a Network Port is Open in Linux

When your computer acts as a server, such as a web server or a database server, that server process must listen on a port that other computers connect to. It’s useful to be able to find out what ports are open on your Linux server should you want to connect to one of the services being served – and it’s also useful to be able to check what ports are open so that you can make sure that you aren’t sharing something you don’t intend to. … Read more

STOP Using the Linux ifconfig Command [Here’s Why]

ip command

The ifconfig command is obsolete, and you should no longer use it! This tutorial covers the ip command, which you should use in place of ifconfig. Here’s how to use the ip command instead. The ip command can do a bunch of other stuff as well, but we’ll focus on how it replaces the ifconfig command. To see the full manual for the command, type the following into your terminal: man ip Using the ip Command Instead of ifconfig Let’s look at two ip commands – ip addr focuses on addresses and ip link on network interfaces. IP … Read more