Suddenly Unable to Access the Internet: Works Fine Booting from USB Drive

Abstract: Restore internet access in Linux Mint by restarting NetworkManager and resetting corrupted configuration files instead of purging packages.

Created: 2026-10-12 by
You can restore internet access in Linux Mint by identifying whether the issue stems from a corrupted NetworkManager configuration or a driver conflict, rather than attempting destructive system purges. Booting from a live USB confirms hardware functionality, pointing to a software state corruption on the installed system that requires targeted service restarts and configuration resets instead of nuclear options like removing core packages.

Diagnosing the Scope of the Failure

The fact that your device connects successfully when booting from a USB drive is a critical diagnostic clue. It proves that your network interface card (NIC), Wi-Fi antenna, and physical cabling are functioning correctly. The problem is isolated entirely to the software environment of your installed Linux Mint operating system. This distinction prevents you from wasting time on hardware replacements or BIOS updates, which will not solve a software-level connectivity loss. When an installed OS loses internet access while a live environment works, the culprit is usually one of three things: a stuck network manager daemon, a conflicting static IP configuration, or a kernel module mismatch after a recent update. Understanding this scope allows for precise troubleshooting without risking system stability.

Safe Service Management Techniques

A common mistake when facing network issues is to attempt to purge network-manager or related packages. As noted in previous critiques, this approach is dangerous because NetworkManager is deeply integrated into the desktop environment of Linux Mint. Removing it can break the graphical network applet, disconnect Bluetooth services, and leave the system in an inconsistent state where manual network configuration becomes necessary. Instead, focus on restarting the service to clear any hung processes. Open a terminal and execute the following command to stop the network manager service gracefully:
sudo systemctl stop NetworkManager
Wait a few seconds, then start it again:
sudo systemctl start NetworkManager
If the connection does not return immediately, check the status of the service to ensure it has not entered a failed state:
systemctl status NetworkManager
Look for lines indicating "active (running)." If you see "failed" or "inactive," there may be a deeper configuration error. In most cases, simply restarting the daemon resolves transient glitches caused by background processes locking the network interface.

Resetting Configuration Files

If restarting the service does not work, your configuration files may have become corrupted. Linux Mint stores network configurations in /etc/NetworkManager/system-connections/. You can reset these settings to their defaults without deleting your entire user data. However, before making changes, it is wise to back up your current configuration. Create a backup directory and copy your existing connections:
sudo cp -r /etc/NetworkManager/system-connections/ ~/nm-backup
Once backed up, you can remove the specific connection profiles that might be causing conflicts. For example, if your Wi-Fi network is failing, you can delete its profile so that NetworkManager forces a fresh negotiation with the router:
sudo rm /etc/NetworkManager/system-connections/YourSSID.nmconnection
After deletion, restart the NetworkManager service again. When you reconnect to your Wi-Fi through the GUI, it will create a new, clean configuration file. This method is far safer than reinstalling the entire networking stack and preserves your password security keys for other devices. For users who rely on static IPs or complex routing rules, resetting these files ensures that no outdated gateway settings are blocking traffic. This step is particularly effective if you recently changed routers or ISP providers, as old DHCP leases or static routes may persist incorrectly.

Checking Kernel Modules and Drivers

Another potential cause is a mismatch between the running kernel and the installed wireless drivers. After a system update, the kernel may load a generic driver instead of the proprietary one required for your specific card. You can verify which modules are currently loaded using the lsmod command. Look for modules related to your Wi-Fi chip, such as iwlwifi for Intel cards or brcmfmac for Broadcom. If the expected module is missing, you may need to blacklist a conflicting driver or install the correct firmware. Check your system logs for errors during boot using:
dmesg | grep -i wifi
This command filters the kernel ring buffer for Wi-Fi related messages. Errors here often indicate firmware loading failures. If you find missing firmware warnings, installing the appropriate firmware package via the Software Manager or apt repository can resolve the issue without touching the network manager itself. It is also worth checking if Secure Boot is interfering with unsigned drivers. While less common in Linux Mint due to its default settings, some proprietary drivers require Secure Boot to be disabled in the BIOS. If you recently enabled Secure Boot, this could explain why the live USB works (as it uses open-source drivers) but the installed OS fails.

Alternative Connectivity Methods

While troubleshooting, you may need temporary internet access to download fixes. If Wi-Fi remains down, consider using USB tethering from your smartphone. Connect your phone via USB, enable USB tethering in your phone's settings, and Linux Mint should automatically detect it as a wired Ethernet connection. This bypasses the Wi-Fi driver entirely, allowing you to run updates or install missing firmware packages. This method is reliable because it uses standard CDC-ECM drivers that are built into the Linux kernel. Once you have internet access via tethering, you can investigate deeper issues, such as DNS resolution problems, by flushing the DNS cache or editing /etc/resolv.conf. For those interested in more advanced network management, understanding how interfaces are configured can prevent future issues. Reviewing resources on Ubuntu server network interfaces can provide insight into the underlying structure of /etc/netplan or /etc/network/interfaces, even though Mint primarily uses NetworkManager. How to Troubleshoot Networking and Wireless Issues on KDE Plasma Workspace offers additional context on managing wireless settings in desktop environments, which shares many similarities with Cinnamon, Mint's default desktop.

Frequently Asked Questions

Why does my Wi-Fi work on a Live USB but not on my installed system?

This discrepancy indicates that your hardware is functional and the issue lies within the software configuration of your installed operating system. The Live USB uses a fresh, default kernel and network configuration, whereas your installed system may have corrupted settings, conflicting drivers, or stuck services.

Is it safe to uninstall NetworkManager to fix internet issues?

No, uninstalling NetworkManager is highly discouraged as it is a core component of the Linux Mint desktop environment. Doing so will likely break the graphical network applet, disable Bluetooth, and force you to configure networking manually via the command line, potentially leaving your system unusable without internet access.

How can I tell if my Wi-Fi driver is missing or broken?

You can check for driver issues by running dmesg | grep -i wifi in the terminal. Look for error messages indicating firmware loading failures or unrecognized devices. Additionally, use lsmod to see if the expected kernel module for your specific Wi-Fi card is currently loaded.

What should I do if restarting NetworkManager doesn't work?

If restarting the service fails, try resetting your network connection profiles by backing up and deleting files in /etc/NetworkManager/system-connections/. This forces the system to create new, clean configuration files when you reconnect. You can also try toggling Wi-Fi off and on via the terminal using nmtui.

Can USB tethering help me troubleshoot my Wi-Fi problem?

Yes, USB tethering provides a temporary wired internet connection that bypasses your Wi-Fi adapter. This allows you to download updates, install missing firmware, or change system settings while you diagnose the root cause of the Wi-Fi failure. It is a reliable fallback method for maintaining connectivity during repairs.

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