From 408d0c4e7b1fc4384ff83988ad84ab5af80af2e1 Mon Sep 17 00:00:00 2001 From: Arpad Krejczinger Date: Sun, 3 Aug 2025 22:56:18 +0200 Subject: [PATCH] Add network interface troubleshooting guide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document solution for IP address changes caused by dual ethernet ports: - Identify three network interfaces (WiFi, eth left port, eth right port) - Provide NetworkManager commands for static IP configuration - Include step-by-step solution using "Wired connection 2" (enp4s0) - Configure both ethernet and WiFi to use same static IP (192.168.0.100) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- troubleshooting.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/troubleshooting.md b/troubleshooting.md index 9a746f1..6a3f4ac 100644 --- a/troubleshooting.md +++ b/troubleshooting.md @@ -268,3 +268,45 @@ HandleLidSwitchDocked=ignore Then restart service: `sudo systemctl restart systemd-logind` + +## IP addresses keep changing + +Due to 3 interfaces: +* Wifi +* Ethernet left port (ThinkPad adapter) - Wired Connection 1 +* Ethernet right port (regular ethernet cable) - Wired Connection 2 + +### Proposed solution + +* Stick with wired2 + +● Configure static IP for "Wired connection 2" (enp4s0): + + * Set static IP to 192.168.0.100 + sudo nmcli connection modify "Wired connection 2" \ + ipv4.method manual \ + ipv4.addresses 192.168.0.100/24 \ + ipv4.gateway 192.168.0.1 \ + ipv4.dns 192.168.0.1 + + * Apply the changes + sudo nmcli connection up "Wired connection 2" + + Then configure WiFi with the same static IP: + + * First connect to your WiFi if not already + sudo nmcli connection up "Telekom-4b28df-2.4GHz" + + * Set same static IP for WiFi + sudo nmcli connection modify "Telekom-4b28df-2.4GHz" \ + ipv4.method manual \ + ipv4.addresses 192.168.0.100/24 \ + ipv4.gateway 192.168.0.1 \ + ipv4.dns 192.168.0.1 + + Verify the configuration: + nmcli connection show "Wired connection 2" | grep ipv4 + ip addr show enp4s0 + + This way both your ethernet (enp4s0) and WiFi will use 192.168.0.100, solving your dual interface IP issue. + Ready to run these commands?