0

what does this mean to "Edit (or create if it doesnt exist)"

and then "add the following lines"

I copied the following text from an answer that i think will work but i dont know how to implement it

You need to blacklist the acer_wmi module (it never should have been loaded!)

[root@localhost ]# lsmod | grep acer

Edit (or create if it doesn't exist) /etc/modprobe.d/blacklist.conf

Add the following lines

# Disable acer_wmi as it breaks wifi on this model
blacklist acer_wmi

Now unload the module (it will be blacklisted on the next boot so you only need to unload once)

[root@localhost ]# modprobe -r acer_wmi

thank you for your help

Wilf
  • 30,732

2 Answers2

1

I don't mind to show you how to create a file or modify an existing one. The problem is I don't know which editor you have on your system and/or whether you have experience using it. That is why I have entered an alternative solution:

$ sudo su
[sudo] password for ....: 
# echo "blacklist acer_wmi" >> /etc/modprobe.d/blacklist.conf
# exit
exit
$ cat /etc/modprobe.d/blacklist.conf

What this code does is append the quoted string to the blacklist file. If the file does not exist, the system creates it.
The cat command lists the content of the file. If the file already existed, you will see other blacklisted modules before the addition you just made.

N.B. Please be aware that I take no responsibility for what editing the blacklist file may result to. You mentioned that you think it will resolve your wireless issue. There is no way for me to confirm that.

PS. You will have to reboot the system for the changes to become active.

0

It means you have to create or edit the file, either by using a editor or just a command

To use a editor, you can run

sudo nano /etc/modprobe.d/blacklist.conf

The sudo bit runs the command as root - which is required to gain permission to access protected resources such as system configuration files. The editor in this case in nano, a command line editor, which you can type (or paste in, usually with Ctrl+Shift+V) the blacklist acer_wmi line (the line above prefixed by a # is just a comment so if you read the file later you know what it is).

Alternatively you can use a command like this

sudo bash -c "echo blacklist acer_wmi >> /etc/modprobe.d/blacklist.conf"

Which runs in a root shell the echo command to echo the string to the end of the file.

Wilf
  • 30,732