LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   permission denied (https://www.linuxquestions.org/questions/linux-newbie-8/permission-denied-4175556848/)

l0r3n 10-22-2015 12:57 AM

permission denied
 
Hi!

my wireless connection keeps dropping. I have an Asus laptop, running ubuntu 14.04. And the wifi connection is great on all my other computers, including an ancient one one running xubuntu.

There are many suggestions on the internet, and I try like one a night, still no luck.

I am trying a couple tonight, and keep getting Permission denied messages.

Specifically:

bash: /etc/modprobe.d/iwlwifi.conf: Permission denied (this was after sudo -s)

then

-su: /etc/modprobe.d/iwlwifi.conf: Permission denied (this was after sudo su -l)

I am quite sure I shouldn't be messing around as su, but, hey, whatever, I can always reload ubuntu...

Anyway, how do I get beyond these permission denieds?

Thanks for looking and considering...

Loren

descendant_command 10-22-2015 01:23 AM

The files that you are trying to execute (by typing their name) are not executable, which is why you get 'permission denied', even as root.
They are also not meant to be execured, as they are text config files.
You will want to open them with a text editor to make any changes you want, thusly:
Code:

su -c 'nano /etc/modprobe.d/iwlwifi.conf'
or such.

HMW 10-22-2015 02:16 AM

Quote:

Originally Posted by l0r3n (Post 5438387)
Hi!

my wireless connection keeps dropping.

...and I know why! In short; the iwlwifi driver for Linux has bugs. But, you can fix this fairly easy.

Open the
Code:

/etc/modprobe.d/iwlwifi.conf
file as root, or use sudo. Like this:
Code:

sudo nano /etc/modprobe.d/iwlwifi.conf
(You can of course use Vim or another editor than nano if you like)

Now add the following line to that file:
Code:

options iwlwifi 11n_disable=1
More here: http://www.linuxquestions.org/questi...9/#post5410317

Best regards,
HMW


All times are GMT -5. The time now is 03:06 PM.