Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 04-29-2009, 11:42 AM   #1
LQ Newbie
Registered: May 2008
Location: Bangalore
Posts: 3

Rep: Reputation: 0
Error while executing python CGI in apache for wireless application

hi friends,

I am trying to run a shell command from my python CGI program. For this am using apache webserver on fedora 7. But the problem here is when i run the program it is giving following error.

First i run "ifconfig" command which is executed correctly but when i gave "ifconfig ath0 down" it gives the following error.

SIOCSIFFLAGS: Permission denied

Can anyone help me out to get out of this situation.
The problem i thought is the commands which require root permission are not executing.

so how to give root permission to execute these commands?


apache, application, cgi, error, executing, python, while, wireless

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
RH 8.0 CGI 500 error (apache) 3Dxx Linux - General 46 06-27-2005 06:51 AM
CGI File Not Executing on Apache Server kaplan71 Linux - Software 2 10-21-2004 08:12 AM
how to configure apache in Suse 9.1 t run cgi programmes written in python drako123 Linux - Software 0 08-21-2004 08:27 AM
apache displays .cgi file instead of executing it hewsonism Linux - Software 2 01-13-2004 10:12 PM
cgi error in from apache nrmx Linux - Software 1 05-02-2003 08:54 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 12:35 AM.

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