Score:0

How can I create a configuration file? Ubuntu 21.10

ma flag

I need to create a configuration file with te following commands for preventing to conflict rtl8188fu module with built-in r8188eu module, so that my wifi adpter can work.

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

I never done this before and don't want to create other unwanted problems.

hu flag
Presumably, you need to run that command in a terminal window. It should create a config file with the alias inside.
chili555 avatar
cn flag
Your contents attempt to add an alias; however the title suggests that you are trying to blacklist; that is, prevent r8188eu from loading. Why not simply blacklist r8188eu? Welcome to Ask Ubuntu.
Manzot avatar
ma flag
how can i do that?
chili555 avatar
cn flag
Please check to see if r8188eu actually claims your device first: `modinfo r8188eu | grep F179` On my system, it does not and so would not need to be blacklisted.
Manzot avatar
ma flag
what is the command to blacklist a module in ubuntu 21.10 i can't find it
chili555 avatar
cn flag
I will add an answer in a few moments.
Butterfly avatar
kr flag
Blacklist file is require only for Linux 5.15 and 5.16. You can look explanation. https://github.com/kelebek333/rtl8188fu#blacklist-for-kernel-515-and-516-no-needed-for-kernel-517-and-up
Score:1
cn flag

On my fully updated 21.10 system, the driver r8188eu doesn't cover your device. Check:

modinfo r8188eu | grep F179

If it comes back blank, there is no potential conflict. If, however, you wish to blacklist the driver notwithstanding, open a terminal and do:

sudo -i
echo "blacklist r8188eu"  >>  /etc/modprobe.d/blacklist.conf
exit

You should be all set.

Butterfly avatar
kr flag
USB ID is available in 5.15 and 5.16 series and is not available in previous versions of kernel. In the kernel 5.17, this faulty USB ID has been deleted. https://github.com/torvalds/linux/commit/6723b283c44a3fdf9f922ae9788aab38bd909211#diff-d5d174b8d5383a5a149804faed65c5f184e589595dd7614ca3c8e24a3cf0c92a
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.