LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-13-2008, 02:44 PM   #1
poboxjosh
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Permission Denied


I will start off by apologizing for being a noob but... I am trying to install the wireless drivers to get my laptop up and running but i have to install a subsystem first. I am having problems doing so and am running into a permission denied error.


Here is the code
Code:
% wget \
  intellinuxwireless.org/mac80211/downloads/mac80211-10.0.4.tgz[/url]
% tar xvf mac80211-10.0.4.tgz
mac80211-10.0.4/origin/GIT 
mac80211-10.0.4/origin/net/mac80211/Makefile
mac80211-10.0.4/origin/GIT
bash: mac80211-10.0.4/origin/GIT: Permission denied






This probably a simple problem but....
 
Old 08-13-2008, 02:58 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by poboxjosh View Post
I will start off by apologizing for being a noob but... I am trying to install the wireless drivers to get my laptop up and running but i have to install a subsystem first. I am having problems doing so and am running into a permission denied error.


Here is the code
Code:
% wget \
  intellinuxwireless.org/mac80211/downloads/mac80211-10.0.4.tgz[/url]
% tar xvf mac80211-10.0.4.tgz
mac80211-10.0.4/origin/GIT 
mac80211-10.0.4/origin/net/mac80211/Makefile
mac80211-10.0.4/origin/GIT
bash: mac80211-10.0.4/origin/GIT: Permission denied
Looks like you're trying to execute a directory-name. If that GIT is a file, it probably doesn't have execute permissions. Doing a chmod 755 on it will fix that. If it's a directory, you want to do a:

cd ./mac80211-10.0.4/origin/GIT

Then run whatever command you want in that directory.
 
Old 08-13-2008, 03:01 PM   #3
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
cd mac80211-10.0.4/origin/GIT
make
make install

(make sure gcc package is installed)
 
Old 08-13-2008, 03:10 PM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Make sure you have write permission to the directory you're untarring to. Become root, use sudo or untar somewhere in your home dir.
 
Old 08-14-2008, 02:31 PM   #5
poboxjosh
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Looks like you're trying to execute a directory-name. If that GIT is a file, it probably doesn't have execute permissions. Doing a chmod 755 on it will fix that. If it's a directory, you want to do a:

cd ./mac80211-10.0.4/origin/GIT

Then run whatever command you want in that directory.

This is what happend next

root@HP-dv2000:/home/joshua# chmod 755 mac80211-10.0.4/origin/GIT
root@HP-dv2000:/home/joshua# mac80211-10.0.4/origin/GIT
mac80211-10.0.4/origin/GIT: line 1: cb00e99c0abd844b884c64c6b54aa3b7d345ebb1: command not found
root@HP-dv2000:/home/joshua#
root@HP-dv2000:/home/joshua#

Any ideas??


Thanks in advance.

Last edited by poboxjosh; 08-14-2008 at 02:36 PM.
 
Old 08-14-2008, 02:55 PM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Code:
:~/temp/test$wget intellinuxwireless.org/mac80211/downloads/mac80211-10.0.4.tgz

<snip>

:~/temp/test$tar xzf mac80211-10.0.4.tgz
:~/temp/test$cd mac80211-10.0.4/
:~/temp/test/mac80211-10.0.4$ls
CHANGES  FILES  Makefile  origin  ORIGIN_FILES  patches  pending  README  scripts  stubs  TODO
Read the README file. Most sources have this file with instructions.
 
Old 08-14-2008, 02:58 PM   #7
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
In the tarball you downloaded (mac80211-10.0.4.tgz) there is a file named "README"

Did you read it?

It explains how to install the package.

The file you tried to execute is a text file that contains a single line that looks like a hex string; it is not a a script.

Installing this package is going to be a lot more than just running a script.

Last edited by garyg007; 08-14-2008 at 03:04 PM.
 
Old 08-15-2008, 07:52 PM   #8
poboxjosh
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by garyg007 View Post
In the tarball you downloaded (mac80211-10.0.4.tgz) there is a file named "README"

Did you read it?

It explains how to install the package.

The file you tried to execute is a text file that contains a single line that looks like a hex string; it is not a a script.

Installing this package is going to be a lot more than just running a script.
I have read it about 9 times but it is not exact which is about all I can understand.


Here are my problems now.

NOTE: As of mac80211-2.0.0 you must also enable CONFIG_CFG80211 and rebuild your main kernel image. This is because the latest mac80211 changes re-implement the kernel built-in from net/core/wireless.c as part of the net/wireless/ sources.

How do I go about doing this?
 
Old 08-17-2008, 04:10 PM   #9
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
for a n00b your getting into very deep water now.

what is required here is a change to your linux kernel. not a difficult task but some knowledge of what the essentials are is probably prudent.

basically the steps are:
1. install kernel source and header tree
2. install kernel development packages.
3. install compiler toolchain: gcc, make etc.
4. create a kernel conf file
5. edit the conf file , manually or with tools
6. rebuild
7. install new kernel and attach to GRUB menu.

the process can differ between distros (not sure which one you are using - you dont state this)

this topic is WIDELY documented on the internet and in numerous forums. google is your friend !!
 
  


Reply



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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
su -> permission denied progster Linux - General 9 06-28-2007 12:36 PM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
Permission Denied NathanCohen2003 Linux - Software 4 07-10-2004 04:16 PM
permission denied :( wogga Linux - Software 2 05-28-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:57 AM.

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
Open Source Consulting | Domain Registration