首页 > 系统相关 >Ubuntu安装8188fu驱动

Ubuntu安装8188fu驱动

时间:2023-10-30 15:34:25浏览次数:31  
标签:kernel rtl8188fu sudo etc conf Ubuntu 驱动 modprobe 8188fu

##https://github.com/kelebek333/rtl8188fu

READ ME

RTL8188FU driver for Linux kernel 4.15.x ~ 6.5.x (Linux Mint, Ubuntu or Debian Derivatives)

info: rtl8188fu support will be add to rtl8xxxu module of Linux kernel. https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/


How to install

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

git clone https://github.com/kelebek333/rtl8188fu

sudo dkms install ./rtl8188fu

sudo cp ./rtl8188fu/firmware/rtl8188fufw.bin /lib/firmware/rtlwifi/


Configuration

Disable Power Management

Run following commands for disable power management and plugging/replugging issues.

sudo mkdir -p /etc/modprobe.d/

sudo touch /etc/modprobe.d/rtl8188fu.conf

echo "options rtl8188fu rtw_power_mgnt=0 rtw_enusbss=0 rtw_ips_mode=0" | sudo tee /etc/modprobe.d/rtl8188fu.conf

Disable MAC Address Spoofing

Run following commands for disabling MAC Address Spoofing (Note: This is not needed on Ubuntu based distributions. MAC Address Spoofing is already disable on Ubuntu base).

sudo mkdir -p /etc/NetworkManager/conf.d/

sudo touch /etc/NetworkManager/conf.d/disable-random-mac.conf

echo -e "[device]\nwifi.scan-rand-mac-address=no" | sudo tee /etc/NetworkManager/conf.d/disable-random-mac.conf

Blacklist (alias) for kernel 5.15 and 5.16 (No needed for kernel 5.17 and up)

If you are using kernel 5.15 and 5.16, you must create a configuration file with following command for preventing to conflict rtl8188fu module with built-in r8188eu module.

echo 'alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu' | sudo tee /etc/modprobe.d/r8188eu-blacklist.conf

Blacklist (alias) for kernel 6.2 and up

If you are using kernel 6.2 and up, you must create a configuration file with following command for preventing to conflict rtl8188fu module with built-in rtl8xxxu module.

echo 'alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu' | sudo tee /etc/modprobe.d/rtl8xxxu-blacklist.conf

Then you must update initramfs

For initramfs

sudo update-initramfs -u

For dracut

sudo dracut -q --force

Enable rtl8188fu module

Run following command for up to kernel 6.1

sudo modprobe rtl8188fu

Run following commands for kernel 6.2 and up

sudo modprobe -r rtl8188fu

sudo modprobe rtl8188fu


How to uninstall

sudo dkms remove rtl8188fu/1.0 --all

sudo rm -f /lib/firmware/rtlwifi/rtl8188fufw.bin

sudo rm -f /etc/modprobe.d/rtl8188fu.conf


How to install from PPA repository

You can install rtl8188fu driver with following commands from PPA.

for xUbuntu 16.04-18.04-20.04-22.04-23.04-23.10 / Linux Mint 20.x-21.x

sudo add-apt-repository ppa:kelebek333/kablosuz

sudo apt-get update

sudo apt install rtl8188fu-dkms

You can purge packages with following commands

sudo apt purge rtl8188fu-dkms

标签:kernel,rtl8188fu,sudo,etc,conf,Ubuntu,驱动,modprobe,8188fu
From: https://www.cnblogs.com/santia-god/p/17797980.html

相关文章

  • 《软件需求开发最佳实践:基于模型驱动的需求开发过程》阅读笔记二
    在阅读《软件需求开发最佳实践:基于模型驱动的需求开发过程》的四到六章后,我对基于模型驱动的需求开发过程有了更深入的理解和实践。这些章节详细介绍了需求建模、需求验证和需求变更管理的方法和技巧,为我提供了更全面的指导。在需求建模方面,书中介绍了如何使用统一建模语言(UML)和......
  • 《软件需求开发最佳实践:基于模型驱动的需求开发过程》阅读笔记一
    在阅读《软件需求开发最佳实践:基于模型驱动的需求开发过程》的一到三章后,我对基于模型驱动的需求开发过程有了更深入的理解。这些章节详细介绍了需求开发的基本概念、模型和流程,以及需求获取和分析的方法,为我提供了宝贵的指导。首先,我了解到基于模型驱动的需求开发过程是一种系统......
  • 《软件需求开发最佳实践:基于模型驱动的需求开发过程》阅读笔记三
    在阅读《软件需求开发最佳实践:基于模型驱动的需求开发过程》的七到最后一章后,我对基于模型驱动的需求开发过程有了更深入的理解和掌握。这些章节详细介绍了需求工程的实践案例、团队协作和沟通技巧,以及持续改进和评估等方面的内容,为我提供了更全面的指导和启示。在实践案例方面,书......
  • 三步释放 Vmware 中 Ubuntu 系统占用的空间
    1.清除缓存删除Vmwaretools产生的缓冲文件文件位置:用户目录下.cache/vmware/drag_and_drop,这个路径下的文件都可以删除。为了在windows和ubuntu之间拷贝数据方便,在vmware上安装vmwaretools,之后会在用户目录下的.cache/vmware/drag_and_drop/路径下创建一些缓存区目......
  • 《ChatGPT 驱动软件开发:AI 在软件研发全流程中的革新与实践》
    计算机技术的发展和互联网的普及,使信息处理和传输变得更加高效,极大地改变了金融、商业、教育、娱乐等领域的运作方式。数据分析、人工智能和云计算等新兴技术,也在不断地影响和改变着各个行业。如今,我们正在见证人工智能技术的突破性发展。以OpenAI的ChatGPT为代表的人工智能技术,使......
  • 记一次ubuntu服务器挂载磁盘挂载操作记录
    操作背景:服务器重启后,/OPT目录下的数据全部不见了。排查是数据盘没有成功挂载导致。推断之前是临时挂载,未配置到挂载信息配置文件导致。操作目的:配置挂载信息,以后重启也会自动挂载。开始配置:查看设备UUID使用命令:blkid查看设备:/dev/vdb或者使用命令:ls-l/dev/disk/by-uuid......
  • Ubuntu 服务器 /var/log/messages 文件没内容
    记录以下Ubuntu服务器的messages日志文件问题的处理我的服务器版本是Ubuntu22.04。默认是没有开启系统运行日志记录的,这一点无疑是个巨大的安全隐患,系统出了问题都无从查起。第一步开启/var/log/messages日志文件配置#vim/etc/rsyslog.d/50-default.conf...*.=info;*.=......
  • 嵌入式linux总线设备驱动模型分析
    嵌入式linux系统按照,分层,抽象的思想,按照这样的思想来设计我们的程序可以更容易写出耦合性低、独立性强、可重用性强的代码。Linux内核中更是存在着更多的分离、分层思想的代码,platform平台设备驱动就是用了这样的思想。本篇笔记我们一起来学习一下platform驱动框架。Linux引入platf......
  • ubuntu根盘扩容
    查看扩容前的磁盘容量root@fhj:~#df-h文件系统容量已用可用已用%挂载点udev3.9G03.9G0%/devtmpfs793M2.0M791M1%/run/dev/sda198G85G8.2G92%/tmpfs3.9G03.9G0%/dev/s......
  • 常用数据库JDBC驱动包及类名
    常用JDBC数据库驱动包和类名MySQL数据库:1)驱动包:https://mvnrepository.com/artifact/mysql/mysql-connector-java(下载路径)2)驱动类名:com.mysql.jdbc.Driver3)JDBC的URL:jdbc:mysql://IP地址:端口号/数据库名字注:端口号缺省为:3306  SQLserver数据库:1)驱动包:https://mvnrepos......