How to Change IP Address After Installing Ubuntu System

How to Change IP Address After Installing Ubuntu System

Ubuntu 22 uses Netplan to manage network settings by default. You can modify the static IP via the command line, and the desktop version also allows for graphical interface operations. The detailed tutorial is as follows: Command Line Method (Applicable for Server/Desktop Versions) 1. Check the network interface name: Open the terminal and enter ip … Read more

Networking Tool – WireGuard

Networking Tool - WireGuard

Server docker run -d \ –name=wg-easy \ -e WG_HOST=123.123.123.123 (🚨Enter the public IP of the server here) \ -e PASSWORD=passwd123 (🚨Enter your password here) \ -e WG_DEFAULT_ADDRESS=10.0.8.x (🚨Default IP address) \ -e WG_DEFAULT_DNS=114.114.114.114 (🚨Default DNS) \ -e WG_ALLOWED_IPS=10.0.8.0/24 (🚨Allowed IP range) \ -e WG_PERSISTENT_KEEPALIVE=25 (🚨Reconnect interval) \ -v ~/.wg-easy:/etc/wireguard \ -p 51820:51820/udp \ -p 51821:51821/tcp … Read more

GESP Level 2 Exam Notes (Python)

GESP Level 2 Exam Notes (Python)

GESP Python Level 2 Exam Point Detailed Review Notes 1. Basics of Computer Storage ✅ Key Points: 1. Basic concepts and classifications of computer storage 2. Functions and differences of three main types of memory Memory Type Function Characteristics RAM (Random Access Memory) Read and write, data lost when power is off Main memory, used … Read more

Introduction to Computer Network Technology

Introduction to Computer Network Technology

Hello everyone. This is a new series. In this series, I will introduce you to concepts related to computer networking.Computer network technology is a mandatory subject for the spring college entrance examination, highlighting the importance of this field. Don’t be afraid. I will guide you to gradually understand it. Over time, you will learn this … Read more

The TCP/IP Protocol Suite: The ‘Urban Planning’ and ‘Traffic Rules’ of the Internet | Understanding How Data Travels Globally

The TCP/IP Protocol Suite: The 'Urban Planning' and 'Traffic Rules' of the Internet | Understanding How Data Travels Globally

Every time you click a link or send a message, it’s like initiating a city delivery. How does your data accurately find its destination without traffic jams or misdeliveries? This relies entirely on the TCP/IP protocol suite, a sophisticated system of ‘urban planning’ and ‘traffic rules’.[Introduction: Resonating with Pain Points]Have you ever wondered:Why can the … Read more

The Life of a Network Packet in Linux

The Life of a Network Packet in Linux

A practical guide from <span>write()</span> to <span>recv()</span>. You ran <span>curl http://example.com</span>, and now you see some HTML in the terminal, but what actually happened? Linux takes your bytes through a series of defined steps: selecting a path, finding the neighbor’s MAC address, queuing the packet for the network interface card (NIC) to send, and then … Read more

The Traffic Rules of the Internet: Understanding the TCP/IP Protocol

The Traffic Rules of the Internet: Understanding the TCP/IP Protocol

When we effortlessly browse the web, send emails, or watch videos, data is traveling at the speed of light between billions of devices worldwide. Behind this orderly process lies not magic, but a carefully designed set of rules—the TCP/IP protocol. It is hailed as the “foundation” of the internet and can even be considered the … Read more

Implementing a Simple WebSocket Chat in Python (Client-Server Communication)

Implementing a Simple WebSocket Chat in Python (Client-Server Communication)

Hey there, friends! Today we’re going to create something super fun—a WebSocket chat! <span>websockets</span> library is our trusty assistant, allowing real-time communication between the client and server like good friends! Whether it’s for online games, real-time communication, or other scenarios requiring real-time interaction, it can be very useful. Installation is simple, just run <span>pip install … Read more

What Does an Embedded IoT Engineer Do?

What Does an Embedded IoT Engineer Do?

Mobile phones can remotely control air conditioners, smart wristbands can monitor heart rates in real-time, and machines can automatically warn of faults… Behind these daily conveniences are IoT engineers, whose job is to make hardware “think,” enable data to “run errands,” and transform ordinary objects into “intelligent agents.” 1. What Does an Embedded IoT Engineer … Read more

Comparison of the OSI Seven-Layer Model and the TCP/IP Four-Layer Model

1. OSI Seven-Layer Model Core Idea: Layering and Encapsulation ·Layering: The complex communication process is divided into multiple smaller, more specialized layers. Each layer utilizes the services provided by the layer below and provides services to the layer above. ·Encapsulation: When sending data, the data moves from the upper layer to the lower layer, with … Read more