Tips factory: draft tips (work in progress)


Back to the home page

Caution: the draft tips on this provisional page are raw material. They're as yet untested, unedited and lack explanation.

.... nevertheless, they're promising and generally well worth a try. Make a Timeshift snapshot before you apply them, though. Good luck!

Contents of this page:

Driver for the Realtek RTL8188CUS and RTL8192CU WiFi chipsets (draft, untested!)

1. Blacklist the rtl8192cu driver, thus forcing it to run on the better rtl8xxxu driver:

echo "blacklist rtl8192cu" | sudo tee -a /etc/modprobe.d/blacklist.conf

Reboot and test.

Driver for the Realtek RTL8188EU WiFi chipset (draft, untested!)

2. Disable Secure Boot in the BIOS. For that, you might need to set an administrator password first, in the BIOS.

sudo apt-get install git linux-headers-generic build-essential

git clone https://github.com/lwfinger/rtl8188eu

cd rtl8188eu

make

sudo make install

echo "blacklist r8188eu" | sudo tee /etc/modprobe.d/r8188eu.conf

Reboot and test.

GitHub repo gone? Driver copy dating from July 13, 2020 on my Google Drive.

Driver for the Realtek RTL8188FU WiFi chipset with ID 0bda:f179 (draft, untested!)

3. Launch a terminal and execute the following blue command lines one by one:

sudo add-apt-repository ppa:kelebek333/kablosuz

sudo apt-get update

sudo apt-get install rtl8188fu-dkms

Reboot and test.

GitHub repo gone? Driver copy from July 13, 2020 on my Google Drive.

Driver for the Realtek RTL8192DU WiFi chipset (draft, untested!)

4. Disable Secure Boot in the BIOS. For that, you might need to set an administrator password first, in the BIOS. Then do:

sudo apt-get install build-essential git dkms linux-headers-$(uname -r)
git clone https://github.com/lwfinger/rtl8192du.git
cd rtl8192du
make
sudo make install
sudo modprobe rtl8192du

GitHub repo gone? Driver copy from July 13, 2020 on my Google Drive.

Driver for the Realtek RTL8821CU WiFi chipset (draft, untested!)

5. Disable Secure Boot in the BIOS. For that, you might need to set an administrator password first, in the BIOS. Then do:

sudo apt-get install build-essential git dkms linux-headers-$(uname -r)
git clone https://github.com/cilynx/rtl88x2bu.git
cd rtl88x2bu
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu

GitHub repo gone? Driver copy from August, 15 2020 on my Google Drive.

Stop the blinking wireless LED in Linux (draft, untested!)

6. The LED that indicates that your WiFi is enabled or not, is blinking every time the WiFi card transmits or receives data. This can be highly annoying.

Luckily you might be able to stop the blinking for an Intel WiFi chipset (unfortunately not for chipsets from other makers).

For not too old Intel chipsets that are running on the iwlwifi driver, execute this command line:

echo "options iwlwifi led_mode=1" | sudo tee /etc/modprobe.d/wlan-blinkstop.conf

Reboot your computer.

For old Intel chipsets that run on the iwlegacy driver, do this:

echo "options iwlegacy led_mode=1" | sudo tee /etc/modprobe.d/wlan-blinkstop.conf

Reboot.

Lenovo laptops with hard blocked WiFi (draft, untested!)

7. Disable Secure Boot in the BIOS. For that, you might need to set an administrator password first, in the BIOS.

Note: probably only for the 4.15.x kernel series!

Launch a terminal and execute these lines, one by one (the last line is very big, but it's still just one line!):

sudo apt-get install git build-essential linux-headers-$(uname -r)

git clone https://github.com/jeremyb31/ideapad-laptop.git

sudo dkms add ./ideapad-laptop

sudo dkms install ideapad-laptop/1.0

echo "options ideapad_laptop override_has_hw_rfkill_switch=0" | sudo tee /etc/modprobe.d/ideapad_laptop.conf

Reboot and test.

Right display resolution for an old laptop with a VIA Chrome9 HC video chipset (draft, untested!)

8. Launch a terminal and do this:

sudo touch /etc/X11/xorg.conf

xed admin:///etc/X11/xorg.conf

Copy/paste the following blue text into it:

Section "Device"
       Identifier "Device0"
       Driver "vesa"
EndSection
Section "Monitor"
       Identifier "Configured Monitor"
      HorizSync 30.0-62.0
      VertRefresh 50.0-70.0
EndSection
Section "Screen"
       Identifier "Default Screen"
       Device "Card0"
       Monitor "Configured Monitor"
       DefaultDepth 24
       SubSection "Display"
               Modes "1280x800" "1024x768" "800x600"
       EndSubSection
EndSection


Save, close, reboot.

Solution when installing the Grub bootloader fails (draft, untested!)

9. It might happen that the installation of Ubuntu or Mint fails at the very last moment, namely at the installation of the Grub bootloader. This should be solvable as follows:

a. Boot from the Ubuntu or Mint Live DVD/USB.

b. Launch a terminal.

c. Start the installation process without installing the bootloader, by this terminal command:

sudo ubiquity -b

d. Press Continue testing after the installation is over.

e. Now the real job begins. Mount the newly installed file system on /mnt, with these four commands (use copy/paste to transfer them to the terminal, in order to avoid typo's):

sudo mount -v /dev/sda2 /mnt
sudo mkdir -v /mnt/boot/efi
sudo mount -v /dev/sda1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done

(where sda2 is the root partition and sda1 is the EFI system partition)

f. Load efivars by this command:

sudo modprobe -v efivars

g. Reinstall grub-install for a 64-bit version, with these two commands:

sudo apt-get install --reinstall grub-efi-amd64
sudo grub-install --no-nvram --root-directory=/mnt

h. Change root to /mnt and update grub, with the following two commands:

sudo chroot /mnt
sudo update-grub

i. Move and rename the installed bootloader, with these four commands:

cd /boot/efi/EFI
sudo cp -R ubuntu/* BOOT/
cd BOOT
sudo cp grubx64.efi bootx64.efi

j. Reboot the system. You're done!

Disabling the driver for an unused ethernet chipset on a laptop (draft, untested!)

10. Only use wireless on your laptop? Then disable the driver for the unused ethernet chipset like this:

1. Establish the name of the driver for your ethernet chipset. For example: r8169

2. If it's r8169, execute this terminal command:

echo "blacklist r8169" | sudo tee /etc/modprobe.d/blacklist-ethernet.conf

3. Then this command:

sudo update-initramfs -u

4. Reboot and test.

Rebooting the system straight into the BIOS settings (draft, untested!)

11. Only for modern UEFI, not for old-fashioned BIOS nor for UEFI running in CSM!

With this terminal command you can reboot your system straight into the UEFI (BIOS) settings:

systemctl reboot --firmware-setup

Disabling the driver for an Intel WiFi chipset (draft, untested!)

12. This should disable an Intel WiFi chipset running on the iwlwifi driver:

a. Initial blacklisting:

echo "blacklist iwlwifi" | sudo tee -a /etc/modprobe.d/blacklist.conf

Reboot.

b. Undoing it (by the system administrator, for doing updates and such):

sudo sed -i 's/blacklist iwlwifi/#blacklist iwlwifi/' /etc/modprobe.d/blacklist.conf

Reboot.

c. Re-blacklisting in the future (after the system administrator has finished updating):

sudo sed -i 's/#blacklist iwlwifi/blacklist iwlwifi/' /etc/modprobe.d/blacklist.conf

Reboot.


To the content of this website applies a Creative Commons license.

Back to the home page

Disclaimer