Disconnecting a WiFi connection

Is there a way to disconnect a WiFi connection?

The reason I ask is that built in wifi in my Dell XPS15 is rubbish - Intel Killer AX1650s (shows as Intel Comet Lack PCH CNVi in Zorin). Keeps randomly disconnection and some WiFi routers it just doesn't like. I'm pretty sure it's the hardware, rather than driver related issue.

Anyway my solution is to use an external USB wifi adapter which works fine. But when I'm using the external USB I want to turn off the internal adapter, but there doesn't seem to be a disconnect option in Zorin, which seems a bit odd.

I've created aliases to turn the adaptor off and on:

alias wifi-down='sudo ip link set wlp0s20f3 down'
alias wifi-up='sudo ip link set wlp0s20f3 up'

Which works well enough, but I was wondering if there's a way to just disconnect the current connection, or disable/enable the adaptor through the GUI?

I can only disable all wifi, and not a specific adapter in settings.

I don't know if this can be done with Gnome (the default desktop environment in Zorin OS Core); I think XFCE (Zorin OS Lite) has a way of doing that with the network manager graphical interface, but I'd have to check to be sure.

Anyway, it's really a couple of command away through the terminal:

nmcli device

Will show a list of all the network devices. You need to identify the one that you want to take action upon, and disconnect it with:

nmcli device disconnect <name_of_device>

Some devices have long, cryptic names but you can press Tab after the first few characters and it will auto-complete.

2 Likes

Did you take a Look in the BIOS if You there can turn off Your Wifi?

I do need it sometimes, so turning off in the bios wouldn't really work.

Just seems like an odd omission from gnome.

I find the management of WiFi connections pretty janky. I need to create separate connections for each adapter as if one adaptor is connected to a network, another can't then connect to that network. But nowhere does it say which adaptor the connection is for, have to look in advanced WiFi settings app for that. Just all pretty confusing.

Thanks, I'll try that. A useful command to add to my list.

Alternatively:

" Upgrade WiFi Chip in Dell XPS 15

Upgrading the WiFi chip in a Dell XPS 15 (9550) requires some technical expertise and caution. Here’s a step-by-step guide based on the search results provided:

Preparation

  1. Backup your data: Before starting the upgrade, ensure you have backed up all important files and data to an external drive or cloud storage.
  2. Purchase the replacement WiFi card: Choose a compatible WiFi card, such as the Intel 8260, 9260, or AX200. Ensure it is compatible with your laptop’s M.2 slot and Windows 10 operating system.
  3. Gather necessary tools:
  • Hex and Philips screwdrivers
  • Small pry tool (e.g., plastic spudger)
  • Antenna cable tweezers or small pliers
  • Torx head screwdriver (for removing bottom panel screws)
  1. Download Intel WiFi drivers: Obtain the latest Intel WiFi drivers from the official Intel website, as the default drivers may not work with the new card.

Upgrade Process

  1. Remove the bottom panel: Use a Torx head screwdriver to remove the 10 screws from the bottom panel. Gently pry the panel off, taking care not to damage any cables or components.
  2. Locate the WiFi module: Identify the WiFi module in the upper left corner of the laptop, near the back.
  3. Disconnect antenna cables: Use tweezers or small pliers to carefully disconnect the antenna cables from the old WiFi card.
  4. Remove the old WiFi card: Use a Philips screwdriver to remove the screw holding the old WiFi card in place. Gently lift the card out of its socket.
  5. Install the new WiFi card: Insert the new WiFi card into the socket, ensuring it is properly seated and secured with the screw.
  6. Reconnect antenna cables: Reattach the antenna cables to the new WiFi card, ensuring they are securely connected.
  7. Reassemble the laptop: Replace the bottom panel, ensuring all screws are securely tightened.
  8. Install Intel WiFi drivers: Install the downloaded Intel WiFi drivers to ensure proper functionality.

Post-Upgrade Troubleshooting

  1. Bluetooth issues: If you experience Bluetooth connectivity issues, try reinstalling the Bluetooth driver or running the Windows Bluetooth Troubleshooter.
  2. WiFi performance: If you encounter WiFi performance issues, try adjusting power settings, turning off MU-MIMO, or updating the Intel WiFi drivers.

Important Notes

  • Upgrading the WiFi chip may void your laptop’s warranty.
  • Be cautious when handling internal components to avoid damage or electrical shock.
  • Ensure you have a compatible replacement WiFi card and follow proper installation procedures to avoid issues.

Remember to carefully follow these steps and take necessary precautions to avoid damaging your laptop or its components. If you’re not comfortable with the upgrade process, consider consulting a professional or contacting Dell support for assistance."

https://www.reddit.com/r/Dell/comments/d1robl/how_to_upgrade_your_wifi_card_on_the_dell_xps_15

I did look at doing just that a while back. Unfortunately in the 9500 the WiFi board is soldered directly to the main board and I don't really fancy desoldering it while it's my main work machine.

That's a shame you have that setup.

It is. Excellent machine aside from the WiFi.

I think the heat affects it, definitely noticed a correlation between it crapping out the laptop being hotter

Been drooling over Linuxlaptop specs. But someone would object to me buying one!