Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WPA Supplicant

Posted on 2006-06-09
5
Medium Priority
?
531 Views
Last Modified: 2006-11-18
Hi i have madriva 2006 installed

I am getting wireless to work on and off

i can get it to work if i run

wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -dd

and leave the terminal window open!

if i close it the connection dies, why is this

is there any way to get this to work all the time?

Thanks
0
Comment
Question by:bryanchellen
  • 3
  • 2
5 Comments
 

Author Comment

by:bryanchellen
ID: 16873916
it runs for ages and ages!

How should i run WPA supplicant properly?

0
 
LVL 20

Expert Comment

by:nedvis
ID: 16875359
"if i close it the connection dies, why is this?"
You're starting your wireless connection via command typed in terminal windows ( console) so once you close initial terminal windows you're killing all processes kalled by root process.

Do this instead :
Click on Mandrivas Start button and try an option "Run Program". Type :
wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -dd
and press Enter or click OK button.

Other than that you might wish to do is make a simbolic link to the script :
wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -dd

nedvis

0
 

Author Comment

by:bryanchellen
ID: 16880147
hi thanks how do i make a symbolic link please im new to linux
0
 
LVL 20

Expert Comment

by:nedvis
ID: 16881088
OK this would be a procedure for creating desktop icon ( launcher) with the pointer to an executable file ( shell script) for your Wi-Fi connection.
Open your text editor ( preferably pico, nano or emacs ) from terminal console window .
Copy  ( or  type if  you want )  what is between star-lines ( donot copy star-lines) and paste it
in your text editor :
***********************************************************************************

#!/bin/bash
clear
wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -dd

***********************************************************************************
Close editor by saving file as   wpa   (for instance) . Do not save file as TXT file!
You script is allmost ready. To make the script EXECUTABLE type in console :

chmod   755   wpa    

and press <enter> key.
 
Your script is ready now.

You can run the script either by typing :

./wpa

or by creating link and placing the link to your Desktop ( or include it in panel as an launcher/applet).
 Open your file manager and right click on wpa ssh script and select menu option "Make link"
(  Nautilus in Gnome, Konqueror in KDE  or in console window just type :    ln wpa   to create hard link ).
Drag and drop newly created link to you desktop.
Double-click on desktop icon wpa should execute your command.


good luck
nedvis







0
 
LVL 20

Accepted Solution

by:
nedvis earned 2000 total points
ID: 16881163
Sorry, I gave you instruction to create a hard-link instead of symbolic link  (  ln wpa )

To create symbolic link to your executable shell script  wpa type this :

ln -s  wpa  wireless

( this command will create symbolic link with the name "wireless"  that you can copy and paste or move enywhere within your file system including Desktop where it can reside as an desktop icon to which you can assign any of icons from icon libraries that came with Mandriva 2006. You can select an icon for wireless device from Devices icon set for example ).

nedvis  
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question