LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in running wpa_supplicant0.5-11 in fedora programming languages (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-running-wpa_supplicant0-5-11-in-fedora-programming-languages-688932/)

sadia.arshad 12-07-2008 12:29 PM

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!

TB0ne 12-07-2008 12:47 PM

Quote:

Originally Posted by sadia.arshad (Post 3367293)
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.

sadia.arshad 12-10-2008 12:38 PM

Quote:

Originally Posted by TB0ne (Post 3367315)
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.

jstephens84 12-10-2008 01:59 PM

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.

TB0ne 12-10-2008 02:31 PM

Quote:

Originally Posted by sadia.arshad (Post 3370687)
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.

sadia.arshad 12-11-2008 05:29 AM

Quote:

Originally Posted by TB0ne (Post 3370838)
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!

TB0ne 12-11-2008 08:22 AM

Quote:

Originally Posted by sadia.arshad (Post 3371533)
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.

jstephens84 12-11-2008 08:33 AM

Quote:

Originally Posted by sadia.arshad (Post 3371533)
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

sadia.arshad 12-11-2008 09:15 AM

Quote:

Originally Posted by TB0ne (Post 3371678)
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.

jstephens84 12-11-2008 09:29 AM

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.

sadia.arshad 12-16-2008 02:12 PM

Quote:

Originally Posted by jstephens84 (Post 3371757)
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.


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