LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-07-2008, 01:29 PM   #1
sadia.arshad
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Rep: Reputation: 0
problem in running wpa_supplicant0.5-11 in fedora programming languages


hello,
I am sadia,doing a final year project.i am using fedora core 6 as an operating system for my project.i have to run wpa_supplicant0.5-11 c language code in fedora but any of the programming software of fedora do not build this wpa_supplicant.
can anyone help me in running this wpa_supplicant in fedora programming language tools.please help me.help me!
 
Old 12-07-2008, 01:47 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,932

Rep: Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691
Quote:
Originally Posted by sadia.arshad View Post
hello,
I am sadia,doing a final year project.i am using fedora core 6 as an operating system for my project.i have to run wpa_supplicant0.5-11 c language code in fedora but any of the programming software of fedora do not build this wpa_supplicant.
can anyone help me in running this wpa_supplicant in fedora programming language tools.please help me.help me!
Fedora Core 6 is ancient....FC9 is the latest, so the first thing I'd do is to upgrade your OS.

You say you have to run a C program....but you don't say what you're doing to build it, or what errors you're getting. Without giving useful information, no one will be able to help you.
 
Old 12-10-2008, 01:38 PM   #3
sadia.arshad
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Fedora Core 6 is ancient....FC9 is the latest, so the first thing I'd do is to upgrade your OS.

You say you have to run a C program....but you don't say what you're doing to build it, or what errors you're getting. Without giving useful information, no one will be able to help you.
i tired to build it in eclipse and qt of fedora.but in eclipse it gives me alot of header errors and some other errors which i am unable to understand and in qt i could not build it.well i am not good in programming.plzzzz help me.is there any person who has build this wpa_supplicant in any linux programming software.so that he will guide me and tell me step by step produrce of running this wpa_supplicant code.plzzzz guide me.its a request to all the people.in my surrounding there is no one who knows c language.so is there anyone in this forum who can guide me step by step.plzzzzzz guide me.
 
Old 12-10-2008, 02:59 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Are you trying to build a wpa_supplicant clone or just trying to use wpa_supplicant. Your question and goals are very vague and hard to understand.
 
Old 12-10-2008, 03:31 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,932

Rep: Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691
Quote:
Originally Posted by sadia.arshad View Post
i tired to build it in eclipse and qt of fedora.but in eclipse it gives me alot of header errors and some other errors which i am unable to understand and in qt i could not build it.well i am not good in programming.plzzzz help me.is there any person who has build this wpa_supplicant in any linux programming software.so that he will guide me and tell me step by step produrce of running this wpa_supplicant code.plzzzz guide me.its a request to all the people.in my surrounding there is no one who knows c language.so is there anyone in this forum who can guide me step by step.plzzzzzz guide me.
Your question is very vague, and very difficult to understand...write and spell clearly, it will help people to help you. Saying "plzzzzzz" (assuming you mean PLEASE), without providing information is not helpful.

Eclipse and QT are development environments. Wherever you got the source code, should also have a readme file, or installation/build instructions...have you read and followed them?

And again..FC6 is ancient. If you upgraded to FC9 or 10, WPA is already supplied and working.
 
Old 12-11-2008, 06:29 AM   #6
sadia.arshad
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Your question is very vague, and very difficult to understand...write and spell clearly, it will help people to help you. Saying "plzzzzzz" (assuming you mean PLEASE), without providing information is not helpful.

Eclipse and QT are development environments. Wherever you got the source code, should also have a readme file, or installation/build instructions...have you read and followed them?

And again..FC6 is ancient. If you upgraded to FC9 or 10, WPA is already supplied and working.
In readme file there is a method to build/configure the wpa_supplicant through terminal,which I had done.know I want to build and run wpa_supplicant in linux programming sotfware because I have to modify the wpa_supplicant source code.Please help me!
 
Old 12-11-2008, 09:22 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,932

Rep: Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691
Quote:
Originally Posted by sadia.arshad View Post
In readme file there is a method to build/configure the wpa_supplicant through terminal,which I had done.know I want to build and run wpa_supplicant in linux programming sotfware because I have to modify the wpa_supplicant source code.Please help me!
You're still not making alot of sense...you DID build it, according to instructions?? You say you "have to modify" the source...ok, modify it in whatever editor you want...THEN RUN MAKE AGAIN, as you did before.
 
Old 12-11-2008, 09:33 AM   #8
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by sadia.arshad View Post
In readme file there is a method to build/configure the wpa_supplicant through terminal,which I had done.know I want to build and run wpa_supplicant in linux programming sotfware because I have to modify the wpa_supplicant source code.Please help me!
Ok so if you are going to modify the source code then you don't need to build the wpa_supplicant application. ./configure will create a make file which will then be used to create the binaries. Since you need to modify the source you would probably be better off using vim with syntax coloring highlighted. For good c / c++ IDE's look at Glade, Anjunta, Code Warrior, KDevelop, or KDE Studio
 
Old 12-11-2008, 10:15 AM   #9
sadia.arshad
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
You're still not making alot of sense...you DID build it, according to instructions?? You say you "have to modify" the source...ok, modify it in whatever editor you want...THEN RUN MAKE AGAIN, as you did before.
Well let me explain, I want to add/incorporate the interleaver code in wpa_supplicant code.I had designed the interleaver code in visual studio 2005 in C++ language.know I want to build and run this code and as well as the wpa_supplicant code in linux programming software like qt or eclipse.I want to see the output of the interleaver code in eclipse or qt.So guide me how to compile or build this code in eclipse or qt.Is there any need to add any library to these software or to change any setting of these software or use it with default settings.
 
Old 12-11-2008, 10:29 AM   #10
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Well to build c applications drop down to your terminal and type gcc <sourcefile here> or for c++ type in g++ <sourcefile here> If you have the code for the interleave packaged into the wpa_supplicant then it will complie both of them together. But the integration of the two are up to you in how they interact. However I would also check to make sure that you don't have any system calls in there that only windows knows about as VS likes to place extra bs code that only windows can use.
 
Old 12-16-2008, 03:12 PM   #11
sadia.arshad
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jstephens84 View Post
Well to build c applications drop down to your terminal and type gcc <sourcefile here> or for c++ type in g++ <sourcefile here> If you have the code for the interleave packaged into the wpa_supplicant then it will complie both of them together. But the integration of the two are up to you in how they interact. However I would also check to make sure that you don't have any system calls in there that only windows knows about as VS likes to place extra bs code that only windows can use.
hello,
let me explain interleaver code.The code is designed in visual studio 2005 for 32 users.The code is designed in matrix form as i had made a matrix of 32*32 starting from 1 to 1024 in matrix form.The numbers from 1 to 1024 are called the bit positions.After defining the matix a take the transpose of the matrix.After that I shuffled the rows then columns for each user and the shuffling pattern for each user is distinct and unique.The code is running well in visual studio 2005.The purpose of the interleaver is to reduce the noise affect of the medium on the data. Know the problem is how to add this interleaver code in wpa_supplicant open source code and at which location.I had tried to run the wpa_supplicant code in visual studio 2005.But when i build it ,there are lot of errors.but when I build this wpa_supplicant in fedora through terminal using commands.It gives no error and it only shows me the status of wpa_supplicant like it is scanning then associating...I want that location in wpa_supplicant where data is ready to leave on medium.The location before the transmission.At that point I want to add interleaver so that before transmission the data bits will be shuffled.So tell me the way how can I find that point since this wpa_supplicant is not running in any fedora software tools like eclipse and qt and not even in visual studio.So how can I add this interleaver or modify wpa_supplicant.PLEASE help me.

Last edited by sadia.arshad; 12-16-2008 at 03:14 PM.
 
  


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
Programming Languages where did it came from SBN Programming 14 11-05-2007 08:20 PM
'commercial' use of programming languages?!? suicideducky Programming 4 05-04-2007 03:34 AM
Statistical programming languages Nerox Programming 1 03-17-2005 01:01 PM
What programming languages do you know? ugoff General 24 12-13-2004 07:01 PM
How many programming languages do you know? MikeZila Programming 4 07-25-2004 02:26 PM


All times are GMT -5. The time now is 12:48 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