LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2015, 01:57 AM   #1
l0r3n
LQ Newbie
 
Registered: Oct 2015
Posts: 4

Rep: Reputation: Disabled
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
 
Old 10-22-2015, 02:23 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,380

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
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.
 
Old 10-22-2015, 03:16 AM   #3
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Xubuntu, Manjaro
Posts: 745
Blog Entries: 3

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
Quote:
Originally Posted by l0r3n View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mkdir throws Permission Denied error in a directoy even with root ownership and 777 permission surajchalukya Linux - Security 14 09-03-2012 09:34 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 06:57 AM
permission denied Ryan450 Linux - Software 2 01-19-2005 06:25 PM
Permission Denied - Help!!! awolff01 Linux - Software 1 02-27-2003 03:23 PM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration