Access Point: Keep Ubuntu 22.04 LTS Laptop Connected to Internet with Ethernet Only

Abstract: Resolve intermittent internet drops on Ubuntu 22.04 by disabling Wi-Fi and prioritizing Ethernet connections to prevent interface conflicts.

Created: 2026-09-05 by
To keep an Ubuntu 22.04 LTS laptop connected to the internet using only an Ethernet cable, you must disable Wi-Fi in the NetworkManager GUI or via command line and ensure the Ethernet interface is set to automatic IPv4 configuration. This prevents the system from prioritizing a disconnected wireless adapter over the wired connection. By configuring the network settings correctly, you can maintain a stable and high-speed internet connection without interference from unused wireless hardware.

Understanding Network Priorities

Ubuntu 22.04 LTS uses NetworkManager to manage network connections. By default, it may attempt to connect to available Wi-Fi networks even when an Ethernet cable is plugged in. If the Wi-Fi fails to authenticate or has no signal, this can cause brief connectivity drops as the system switches between interfaces. To ensure reliable internet access via Ethernet, you need to explicitly tell the operating system to prefer the wired connection.

Disabling Wi-Fi via GUI

The most straightforward method for desktop users is to use the graphical interface. Click the network icon in the top-right corner of the screen. If Wi-Fi is enabled, click the toggle switch to turn it off. Alternatively, open the Settings application, navigate to Network, and select the Wi-Fi section. Toggle the Wi-Fi switch to Off. This action immediately stops NetworkManager from scanning for wireless networks, eliminating potential conflicts with your Ethernet adapter.

Verifying the Connection

After disabling Wi-Fi, check the status of your Ethernet connection. Ensure that the Ethernet icon shows a solid bar or globe, indicating an active link. You can also open a terminal and run ping -c 4 google.com to verify that packets are being sent and received successfully through the wired interface.

Configuring via Command Line

For users who prefer the terminal or are managing headless systems, nmcli provides precise control over network interfaces. First, list all available connections using nmcli con show. Identify your Wi-Fi connection by its name, which often includes the SSID or "Wired" for Ethernet.

nmcli radio wifi off

This command disables the wireless radio entirely. To make this persistent across reboots, you can modify the connection profile. Use nmcli con mod <wifi-connection-name> autoconnect no to prevent it from reconnecting automatically. However, simply turning off the radio is usually sufficient for immediate needs.

Setting Ethernet to Automatic

Ensure your Ethernet connection is configured to obtain an IP address automatically. Run the following command, replacing Ethernet connection 1 with your actual connection name:

nmcli con mod "Ethernet connection 1" ipv4.method auto

This ensures that DHCP is used to acquire an IP address, subnet mask, gateway, and DNS servers from your router. If you are experiencing issues, you can restart the NetworkManager service with sudo systemctl restart NetworkManager.

Troubleshooting Common Issues

If you still experience intermittent connectivity, check if multiple network interfaces are competing for traffic. Linux routing tables prioritize interfaces based on metric values. Lower metrics indicate higher priority. You can view current routes with ip route. The default route should point to your Ethernet interface (eth0 or similar).

Another common issue is stale DHCP leases. If the Ethernet cable was unplugged and replugged, the system might hold onto an old IP configuration. Restarting the network manager or rebooting the laptop clears these states. For more complex networking scenarios, such as setting static IPs or routing specific traffic, refer to our guide on Route Traffic with Special Source/Destination on Ubuntu.

Hardware and Driver Checks

Ensure that the Ethernet driver is loaded and functioning. Use lspci | grep -i ethernet to identify the network card. Then, check kernel messages with dmesg | grep eth for any errors related to link detection. If the driver is missing or outdated, consider updating your kernel or installing proprietary drivers provided by your laptop manufacturer.

Physical layer issues are also frequent culprits. Try a different Ethernet cable or port on your router. A faulty cable can cause link negotiation failures, leading to slow speeds or disconnections. If you are connecting to a server or specialized network equipment, ensure that the speed and duplex settings match. Most modern adapters handle auto-negotiation correctly, but forcing a specific speed can sometimes resolve stability issues.

Power Management Considerations

Some laptops may put the Ethernet controller into a low-power state when idle, causing latency spikes or disconnects. Check the power management settings for your network interface. In some cases, disabling power management for the NIC can improve stability. This can be done via ethtool or through BIOS/UEFI settings if available.

Additionally, ensure that your system is not entering sleep mode while the Ethernet cable is plugged in if you require continuous connectivity. Configure the power settings in Settings > Power to prevent automatic suspension. For users running virtual machines, similar principles apply, though the configuration differs slightly. See Ubuntu 22.04 VM on KVM/virt-manager Not Connecting to Internet for virtualization-specific tips.

Frequently Asked Questions

Why does my Ubuntu laptop switch from Ethernet to Wi-Fi automatically?

NetworkManager prioritizes connections based on user preference and availability. If Wi-Fi is enabled and connected, it may take precedence depending on the configuration. Disabling Wi-Fi or lowering its priority in the connection settings resolves this behavior.

How do I permanently disable Wi-Fi on Ubuntu 22.04?

You can disable Wi-Fi permanently by turning off the radio via nmcli radio wifi off and ensuring the connection profile is set to not autoconnect. Additionally, you can remove the Wi-Fi driver from the kernel module blacklist if you never intend to use wireless networking.

Can I use both Ethernet and Wi-Fi simultaneously?

Yes, but it requires careful routing configuration to avoid asymmetric routing issues. Typically, one interface serves as the default gateway while the other handles specific traffic. Misconfiguration can lead to connectivity problems where responses return via the wrong interface.

What should I do if my Ethernet connection shows "Unmanaged"?

An "Unmanaged" status means NetworkManager is ignoring the interface. Check the /etc/NetworkManager/NetworkManager.conf file to ensure the device is not blacklisted. Restarting NetworkManager or unchecking the "Managed" flag in the GUI can also resolve this.

Does Ubuntu 22.04 support Thunderbolt Ethernet adapters?

Yes, Ubuntu 22.04 supports many Thunderbolt Ethernet adapters out of the box. However, you may need to install additional firmware or drivers for specific chipsets. Always check compatibility lists for your particular adapter model before purchasing.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More