IT/Hardware/USB-WiFi: Difference between revisions

From msgwiki
< IT‎ | Hardware
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
Line 44: Line 44:
<code>tlp-stat --rfkill</code>
<code>tlp-stat --rfkill</code>


https://www.tecmint.com/tlp-increase-and-optimize-linux-battery-life/#:~:text=It%20should%20start%20automatically%20as,under%20SystemD%20using%20systemctl%20command.&text=After%20the%20service%20starts%20running,to%20actually%20start%20using%20it.
[https://www.tecmint.com/tlp-increase-and-optimize-linux-battery-life/#:~:text=It%20should%20start%20automatically%20as,under%20SystemD%20using%20systemctl%20command.&text=After%20the%20service%20starts%20running,to%20actually%20start%20using%20it. Here are lots of usage examples]


===RTLwifi PPA===
===RTLwifi PPA===

Revision as of 06:46, 5 October 2023

Drivers

In order to determine what driver you need, you must first find out what USB-Wifi adapter you are using. To do so use

lsusb

You may need to dig deeper

to list all USB devices connected to your computer and look for the WiFi adapter.

sudo lshw -C network

These two pages give great information.

Chipsets

Kernel Drivers

PowerSave

Sometimes the wireless NIC will drop ever so many minutes. This is likely a powersave issue.

Change the powersave value to 2 from 3

/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Has limited success on 8812cu chipset

Another option which may likely work better is to use tlp

Install tlp from the repositories

systemctl enable tlp.service

sudo nano /etc/tlp.conf

Change these lines so that both are "off" and then save:

  1. WiFi power saving mode: on=enable, off=disable; not supported by all adapters.
  2. WIFI_PWR_ON_AC=off
  3. WIFI_PWR_ON_BAT=on

sudo tlp start

Check the status here:

tlp-stat --rfkill

Here are lots of usage examples

RTLwifi PPA

To install a driver from this repository, download the repository using the following command:

sudo add-apt-repository ppa:kelebek333/kablosuz

Then open Synaptic Package Manager, search for rtl and mark the driver you need for installation and apply changes.

Original Source: https://ubuntuhandbook.org/index.php/2021/01/install-rtl8188eu-rtl8723ds-drivers-ppa-ubuntu-20-04/